question

mtrudel-0721 avatar image
0 Votes"
mtrudel-0721 asked ShwetaChoudhary-8869 edited

Graph Explorer - Permissions for callRecord does not show in the Permissions list

Hi
I am trying to retrieve callRecords from Graph Explorer before I creae a script to run the command automtically but I get stuck right into Graph Explorer
I am issuing the GET command
https://graph.microsoft.com/v1.0/communications/callRecords/getPstnCalls(fromDateTime=2021-09-01,toDateTime=2021-09-30)
and receive error:
Forbidden - 403 - 315ms. You need to consent to the permissions on the Modify permissions (Preview) tab

The Modify permission panel says
Permissions for the query are missing on this tab. Open the permissions panel to see the full list of Microsoft Graph permissions and select the permission(s) you want and consent to them from there.

I read all pages (billions of pages on the entire Internet - Oh Yes I did) on how to set permission/consent.
All say the same - Go to the permission panel and consent to CallRecords.Read.All

My problem is that CallRecords IS NOT in the list. There are hundreds of other permissions but none beginning with Call*

I am logged with a user that is a Tenant admin
I can run the other samples on the Graph Explorer site with no problems.

I even went to Azure Active Directory Admin Center / API Permissions / Microsoft Graph and added permissions to all Call* and then GRAND admin consent.

I am still unable to run the GET command for callRecords

Please help
I spent all day on this and I am desperate.
Customer not happy with Teams Voici and the lack of report.
Cannot give customer access to its Admin Teams page - Too risky.
Only Alternative is with Graph API

Thank you


microsoft-graph-reports
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ShwetaChoudhary-8869 avatar image
0 Votes"
ShwetaChoudhary-8869 answered ShwetaChoudhary-8869 edited

Thank you for reaching out.

Please note that callRecord: getPstnCalls API supports only Application permission. ( which means you need to go to the Azure portal and then into your application registration, choose the application and provide API permissions to it.)

138690-image.png

I was able to provide this permission in my test bed. Attaching screenshot for your reference here.


138782-image.png

138812-image.png

Consider accepting answers and do upvote if this was helpful. Thanks.




image.png (32.4 KiB)
image.png (243.3 KiB)
image.png (90.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.