question

HeliNaik-2346 avatar image
0 Votes"
HeliNaik-2346 asked CarlZhao-MSFT commented

getting error that scope does not exist for get callrecords api in microsoft graph

hello i am providing scope https://graph.microsoft.com/CallRecords.Read.All to get callrecords api but everytime i am trying to get auth code it showing that scope does not exist on resource or invalid scope my application name is abc


the application "abc" asked for scope "CallRecords.Read.All" that does not exist on the resource 00000003-0000-0000-c000-000000000000

microsoft-graph-applicationsazure-applied-ai-services
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

ZehuiYaoMSFT-7151 avatar image
0 Votes"
ZehuiYaoMSFT-7151 answered CarlZhao-MSFT commented

Hello @HeliNaik-234, according to the documentation, the get callrecords api only support application permission.

171243-image.png

I just given a test using on-behalf-of user Authorization request, and reproduced the same error as you.
171283-image.png
So I think that might be the cause of the problem, please check if you are for this reason.



If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (18.7 KiB)
image.png (35.0 KiB)
· 13
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.

hii @ZehuiYaoMSFT-7151 171285-image.png




a already given that permission but still giving the same error

0 Votes 0 ·
image.png (190.3 KiB)

Hi @HeliNaik-2346, Which method did you use to get access token? Get access on behalf of a user or get access without user?


0 Votes 0 ·
HeliNaik-2346 avatar image HeliNaik-2346 ZehuiYaoMSFT-7151 ·

get access on behalf of user

0 Votes 0 ·
Show more comments