How to create Calendar Event with Microsoft Teams meeting invite in PEga22 Robot Studio

I’m able to create Calendar Event in Pega22 using Microsoft outlook connecter, but i want meeting invite to default to Microsoft Teams meeting.

Is it possible to do inside pega22?

@SrinivasR3193 Achieved the functionality outside of PEGA.

@SrinivasR3193

You can create a calendar event using the Outlook connector in Pega 22 Robot Studio, but it won’t automatically include a Microsoft Teams meeting link unless Outlook is already set up to do that by default. To make this work, ask the user to enable the “Add online meeting to all meetings” setting in Outlook under File > Options > Calendar. This way, any new meeting created through the Outlook connector will automatically include a Teams link. If that’s not possible, you’ll need to call Microsoft Graph API from your bot, where you can set the meeting to be a Teams meeting by using isOnlineMeeting=true. This requires a bit more setup like registering an app in Azure and getting access tokens. So the easy way is changing the Outlook setting; the more flexible but complex way is using the Graph API