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

m trudel 26 Reputation points
2021-10-06T20:55:26.443+00:00

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

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,537 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shweta Choudhary 601 Reputation points Microsoft Employee
    2021-10-08T06:38:19.69+00:00

    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.

    0 comments No comments