Troubleshooting 403 Unauthorized Error When Creating Online Meetings via MS Graph API

Paramasivam, Vidhya 0 Reputation points
2024-04-23T09:28:06.85+00:00

How can we investigate and resolve a 403 unauthorized error that occurs when certain users attempt to create online meetings for Microsoft Teams via the API at "https://graph.microsoft.com/v1.0/me/onlineMeetings"? We have checked the affected users' profile settings and cannot find any differences.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,241 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yakun Huang-MSFT 6,340 Reputation points Microsoft Vendor
    2024-04-24T07:34:59.02+00:00

    Hi @Paramasivam, Vidhya

    I tested your issue in graph explorer and I didn't have the same issue as you, my advice to you is to first make sure that you have delegated permissions for the app OnlineMeetings.ReadWrite, and if you're using an app you created yourself, you should use auth code flow gets the token and in the jwt.ms parses whether the token you got has the permission OnlineMeetings.ReadWrite.

    I recommend you test it in graph explorer first to see if you still run into the same issue. When testing in explorer, you need to log in as a user and then grant the OnlineMeetings.ReadWrite permission. This is shown in the figure below.

    45 More information about the API can be found at this link:

    https://learn.microsoft.com/en-us/graph/api/application-post-onlinemeetings?view=graph-rest-1.0&tabs=http

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.