Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
According to Create event - Microsoft Graph v1.0 | Microsoft Learn, personal Microsoft accounts are supported for creating calendar events. However, creating a Teams online meeting as part of the event is not officially documented or guaranteed for personal Microsoft accounts.
From your description, it appears you're creating a Teams meeting for a personal Microsoft account by using POST /me/events with the payload shown in Example 4: Create and enable an event as an online meeting:
{
"isOnlineMeeting": true,
"onlineMeetingProvider": "teamsForBusiness"
}
The documentation for this example is primarily intended for Microsoft 365 work or school accounts, where teamsForBusiness is the supported online meeting provider.
According to event resource type - Microsoft Graph v1.0, the onlineMeetingProvider property supports several values, including unknown, teamsForBusiness, skypeForBusiness, and skypeForConsumer
From my testing, removing:
"onlineMeetingProvider": "teamsForBusiness"
or setting:
"onlineMeetingProvider": "unknown"
allows the request to successfully create the event and return a valid joinUrl for a personal Microsoft account.
Could you try one of these approaches and let us know whether it resolves the issue in your environment? That will help determine whether the onlineMeetingProvider value is contributing to the inconsistent behavior you're experiencing.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.