Forum Discussion
Cannot get meeting info if meeting is created on outlook
ChenguangHe
We have created meeting in Outlook and call the graph below graph api.
GET /me/onlineMeetings?$filter=JoinWebUrl%20eq%20'{joinWebUrl}'
But we are getting meeting info.
I tried again and it doesn't work on me, This is the request and response I have
Could you check the request id? Thanks
- Nivedipa-MSFTNov 22, 2022
Microsoft
ChenguangHe - Have you created an application access policy and granted it to a user to authorize the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user (with user ID specified in the request path)?
Please refer below doc to Configure application access to online meetings :
https://learn.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy- ChenguangHeNov 24, 2022Brass ContributorNivedipa-MSFT I confirm that I have the access policy. Because I can get meeting info if it is created on teams
- Nivedipa-MSFTNov 28, 2022
Microsoft
ChenguangHe - We have tested this in postman, but we are able to get meeting info of online meeting which is created in outlook.
Could you please create new meeting in outlook and check once again? Please follow below steps:
1. Create meeting in outlook.2. Create application policy for online meeting.
New-CsApplicationAccessPolicy -Identity Test-policy -AppIds "ddb80e06-92f3-4978-bc22-a0eee85e6a9e", "ccb80e06-92f3-4978-bc22-a0eee85e6a9e", "bbb80e06-92f3-4978-bc22-a0eee85e6a9e" -Description "description here"
3. Grant policy to user
Grant-CsApplicationAccessPolicy -PolicyName Test-policy -Identity "748d2cbb-3b55-40ed-8c34-2eae5932b22a"4 Grant policy to whole tenant
Grant-CsApplicationAccessPolicy -PolicyName Test-policy -Global5 Get authentication token. Please refer below document for getting token.
Get access without a user - Microsoft Graph | Microsoft Learn
6. Execute below API in Postman.
GET /me/onlineMeetings?$filter=JoinWebUrl%20eq%20'{joinWebUrl}'
Could you please test this API in graph explorer also?