OAuth scope is not reflected

Riki Kawahara 1 Reputation point
2021-05-16T13:30:39.703+00:00

I have a question about Microsoft Graph.
I would like to retrieve the details of a meeting held in Teams using the API.
I have specified User.ReadWrite and OnlineMeetings.ReadWrite in the code as the OAuth scope.
However, when I look at the response when obtaining the access token, OnlineMeetings.ReadWrite is not reflected (it does not even appear in the consent screen).
What are the possible causes and solutions?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,005 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,738 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mamatha-MSFT 156 Reputation points
    2021-05-25T06:51:30.093+00:00

    Posting the Answer for better visibility
    Copying from @Danstan comments

    This was achieved using this sample and adding the permissions on this line.
    99317-image.png

    1 person found this answer helpful.
    0 comments No comments