I'm currently trying to create an online meeting using a specific link provided by Microsoft. However, during the process, it prompts me to 'Create an online meeting with user token.' Could you please guide me on how to obtain the user token required for

Surya Prakash 0 Reputation points
2024-05-08T07:28:09.5333333+00:00

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

can you also provide me the permission sets and if it requires to grant admin access

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

1 answer

Sort by: Most helpful
  1. Saranya Madhu-MSFT 385 Reputation points Microsoft Vendor
    2024-05-17T12:43:22.7766667+00:00

    Hi @Surya Prakash,

    Thanks for reaching out!

    I can understand that you are trying to create OnlineMeeting, to execute this query with delegated access (Access on behalf of a signed in user) an app requires access token, please follow authentication and authorization steps to get the access token:

    1. Register the app with Microsoft Entra ID.
    2. Request authorization.
    3. Request an access token.
    4. Use the access token to call Microsoft Graph.
    5. [Optional] Use the refresh token to renew an expired access token.

    Reference document: https://learn.microsoft.com/en-us/graph/auth-v2-user?tabs=http#authentication-and-authorization-steps

    Note: Consent to "OnlineMeetings.ReadWrite" for delegated access.

    To use application permission/App-only access (access without a user) for this API, tenant administrators must create an application access policy and grant it to a user to authorize the app configured in the policy to create online meetings on behalf of that user (with user ID specified in the request path).

    Hope this helps.

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

    0 comments No comments