This PR fixes issue #14765 - MS Teams + MS Calendar Bad Implementation.
/claim #14765
Microsoft Teams meetings created through Cal.com were not being properly integrated with Microsoft Outlook Calendar. Specifically:
The fix involves two key changes:
In office365video/lib/VideoApiAdapter.ts
:
createMeeting
method to properly format Teams meeting dataIn office365calendar/lib/CalendarService.ts
:
translateEvent
method to properly set Microsoft Graph API properties for Teams meetings:
isOnlineMeeting: true
onlineMeetingProvider: "teamsForBusiness"
onlineMeeting: { joinUrl: event.videoCallData.url }
I’ve tested this fix with both personal and work Microsoft accounts. The calendar invites now:
This implementation follows Microsoft’s best practices for creating online meetings via the Graph API:
Fixes #14765
Mizokuiam
@Mizokuiam
Cal.com, Inc.
@cal