Creating Online Meeting with User Id returns No Application Access

tyler cushing 40 Reputation points
2023-10-11T19:11:16.73+00:00

I am running a POST request to create a OnlineMeeting in with the URL
https://graph.microsoft.com/v1.0/users/{{UserId}}/onlineMeetings
I have the OnlineMeetings.ReadWrite.All Application Permissions
I am able to get the user Id, and the bearer token form Authentication, but when I run the online meeting POST |

{
  "startDateTime":"2019-07-12T14:30:34.2444915-07:00",
  "endDateTime":"2019-07-12T15:00:34.2464912-07:00",
  "subject":"User Token Meeting"
}

As a test it only receive:

{"error":
	{"code":"General","message":"No application access policy found for this app.","innerError":
		{"request-id":"123","date":"2023-10-11T17:18:53","client-request-id":"123"}
	}
}

User's image

Any advice is much appreciated!

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

Accepted answer
  1. CarlZhao-MSFT 40,311 Reputation points
    2023-10-12T07:10:58.0033333+00:00

    Hi @tyler cushing

    As the error message indicates, the calling application has not created an application access policy.

    According to the documentation: To use application permission 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).

    Therefore, before you use daemon creation to create online meetings for other users, you must create an application access policy for the application.

    用户图像

    用户图像

    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 additional answers

Sort by: Most helpful