Attempting to create an online meeting via Postman following instructions here and here.
I have signed up for a free developer account at Microsoft Azure Portal. I have successfully created an additional user. I have successfully registered a test application:
I have created Bearer tokens with scope User.Read.All, OnlineMeetings.ReadWrite, Calendars.ReadWrite using both the TenantID ( login.microsoftonline.com/{{TenantID}}/oauth2/v2.0/authorize ) and the organizations path ( login.microsoftonline.com/organizations/oauth2/v2.0/authorize ) patterns,
, and have verified the API permissions in Azure.
I have set up my Microsoft Graph environment for Postman (I believe) correctly, setting ClientID, ClientSecret, TenantID, UserPassword, and UserName.
I have been able to connect via Postman and query both users (Get Users) and my user profile (Get My Profile), and have successfully received responses for both.
I believe I have configured my POST headers correctly.
I am posting the following JSON content:
{
"startDateTime": "2021-01-22T14:30:34.2444915-05:00",
"endDateTime": "2021-01-22T15:00:34.2464912-05:00",
"subject": "User Token Meeting"
}
The problem here is that regardless of Token used (either the generated {{UserAccessToken}} when using {{TenantID}} or copy/pasting the token from the ../organizations/.. pattern), and whether I post to https://graph.microsoft.com/v1.0/me/onlineMeetings or https://graph.microsoft.com/beta/me/onlineMeetings, I am receiving a 403 Forbidden Status response.
I'm honestly not sure if this is due to something I have done wrong or if there is a problem with Azure "free" developer accounts not having the rights to create meetings.
Does anybody have a solution for this? Or a link to instructions on creating a Teams meeting via Postman that works?
Thanks.
question from:
https://stackoverflow.com/questions/65835037/create-onlinemeeting-fails-with-403-forbidden-following-microsoft-instructions-f 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…