MS Graph API Create onlineMeeting returns error 403 Forbidden

Sergey Kornilov 1 Reputation point
2020-10-06T23:17:25.9+00:00

Trying to create a meeting using this API:
https://learn.microsoft.com/en-us/graph/api/application-post-onlinemeetings?view=graph-rest-beta&tabs=http

We use PHP but also tried Postman. The token is generated successfully but no matter what we do we get Forbidden response posting to https://graph.microsoft.com/beta/communications/onlineMeetings

Decoded token:
{
"typ": "JWT",
"nonce": "Z8hqVgiQ6oZxgWHjgTL0eSnFgKXijkuTUfvxOlXqtEw",
"alg": "RS256",
"x5t": "kg2LYs2T0CTjIfj4rt6JIynen38",
"kid": "kg2LYs2T0CTjIfj4rt6JIynen38"
}.{
"aud": "https://graph.microsoft.com",
"iss": "https://sts.windows.net/aaca339f-dec9-48c3-b186-31556f1b6279/",
"iat": 1602025757,
"nbf": 1602025757,
"exp": 1602029657,
"acct": 0,
"acr": "1",
"aio": "ATQAy/8RAAAAZmxXI8uQa21x5odNJtk/74+nLYxg3Zw+S3KorEG175HHMOsteSqepOjYk6vXa+l6",
"altsecid": "1:live.com:00037FFE16E4EA97",
"amr": [
"pwd"
],
"app_displayname": "new app",
"appid": "71c75173-1c5e-46b2-b463-e73c6ddcf692",
"appidacr": "1",
"email": "bigbeerbug@Stuff .com",
"family_name": "Кутаков",
"given_name": "Михаил",
"idp": "live.com",
"idtyp": "user",
"ipaddr": "71.163.165.233",
"name": "Михаил Кутаков",
"oid": "b6f07af5-91c5-4cf1-b3f5-c0aadd4011f5",
"platf": "3",
"puid": "10032000DA13CFA5",
"rh": "0.AAAAnzPKqsnew0ixhjFVbxtieXNRx3FeHLJGtGPnPG3c9pJcAMM.",
"scp": "Mail.Read OnlineMeetings.ReadWrite User.Read profile openid email",
"signin_state": [
"kmsi"
],
"sub": "gA8n_r7ynUStzWV-Nm6IwW0mO3nwZimDviN21NQ1z54",
"tenant_region_scope": "EU",
"tid": "aaca339f-dec9-48c3-b186-31556f1b6279",
"unique_name": "live.com#bigbeerbug@Stuff .com",
"uti": "g2LPX_XihU-GWKRG1mJDAA",
"ver": "1.0",
"wids": [
"62e90394-69f5-4237-9190-012177145e10",
"b79fbf4d-3ef9-4689-8143-76b194e85509"
],
"xms_st": {
"sub": "FqsCckcOPHN9NKXb5yoUyefJID5hFqE0NQ1mNhIWCdI"
},
"xms_tcdt": 1597757499
}.[Signature]

Permissions:
30544-permissions.png

Any idea what is wrong?

Microsoft Teams | Development
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
{count} votes

Your answer

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