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 dataoAuthManagerHelper usage to properly handle it as an object rather than a functionIn office365calendar/lib/CalendarService.ts:
translateEvent method to properly set Microsoft Graph API properties for Teams meetings:
isOnlineMeeting: trueonlineMeetingProvider: \"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:
Fixed Microsoft Teams meetings so they are now properly integrated with Microsoft Outlook Calendar events. Teams meeting links are now added as true online meetings, making invites look professional and ensuring attendees get a single, correct calendar invite.
isOnlineMeeting, onlineMeetingProvider, and onlineMeeting).Mizokuiam
@Mizokuiam
Cal.com, Inc.
@cal