Answered by:
Microsoft Graph -Insufficient enterprise tenant permissions, cannot access this API.

Question
-
All,
I'm receiving the following error when trying to create a call bot that calls Microsoft Graph API.
I have added all of the following permissions:
Calls.JoinGroupCallAsGuest.All <button aria-controls="flyout3" aria-expanded="false" aria-label="more option menu" class="f1enh5kk" role="button" style="background-image:none;background-background-size:initial;background-repeat:initial;background-attachment:initial;background-origin:initial;background-clip:initial;border-width:0px;border-style:initial;border-color:initial;cursor:pointer;font:inherit;height:2.28571rem;outline:none;width:2.28571rem;"></button>Calls.JoinGroupCall.All <button aria-controls="flyout4" aria-expanded="false" aria-label="more option menu" class="f1enh5kk" role="button" style="background-image:none;background-background-size:initial;background-repeat:initial;background-attachment:initial;background-origin:initial;background-clip:initial;border-width:0px;border-style:initial;border-color:initial;cursor:pointer;font:inherit;height:2.28571rem;outline:none;width:2.28571rem;"></button>Calls.InitiateGroupCall.All <button aria-controls="flyout5" aria-expanded="false" aria-label="more option menu" class="f1enh5kk" role="button" style="background-image:none;background-background-size:initial;background-repeat:initial;background-attachment:initial;background-origin:initial;background-clip:initial;border-width:0px;border-style:initial;border-color:initial;cursor:pointer;font:inherit;height:2.28571rem;outline:none;width:2.28571rem;"></button>Calls.Initiate.All <button aria-controls="flyout6" aria-expanded="false" aria-label="more option menu" class="f1enh5kk" role="button" style="background-image:none;background-background-size:initial;background-repeat:initial;background-attachment:initial;background-origin:initial;background-clip:initial;border-width:0px;border-style:initial;border-color:initial;cursor:pointer;font:inherit;height:2.28571rem;outline:none;width:2.28571rem;"></button>Calls.AccessMedia.All <button aria-controls="flyout7" aria-expanded="false" aria-label="more option menu" class="f1enh5kk" role="button" style="background-image:none;background-background-size:initial;background-repeat:initial;background-attachment:initial;background-origin:initial;background-clip:initial;border-width:0px;border-style:initial;border-color:initial;cursor:pointer;font:inherit;height:2.28571rem;outline:none;width:2.28571rem;"></button>CallRecords.Read.All fail: VoiceRecorderAndPlaybackBot[1742746998]
<link href="https://kit-free.fontawesome.com/releases/latest/css/free.min.css" media="all" rel="stylesheet" /><iframe frameborder="none" id="sidePane" src="chrome-extension://egdlmbioafdidbljnampdodjfnfjbpic/popup.html?url=https://social.msdn.microsoft.com/Forums/en-US/newthread?forum=WindowsAzureAD" style="height:100%;width:0px;;top:0px;right:0px;z-index:2147483647;"></iframe>
2020-07-06T23:05:11.5197Z 00000000-0000-0000-0000-000000000000 pid:23658 tid:47 (Bot.cs:247 NotificationProcessor_OnNotificationReceived):
Caught an Exception running the task: Error processing notification /communications/calls/be1f0400-731f-489a-a110-5457d9a040c8 with scenario e5b6e28c-e545-4638-8f32-d8ff8a4e8fbf
exception: Code: 7504
Message: Insufficient enterprise tenant permissions, cannot access this API.
Inner error:
AdditionalData:
date: 2020-07-06T23:05:11
request-id: 2df32658-90f2-4b97-a39e-5f18ed3d2063
StackTrace: at Microsoft.Graph.Communications.Client.Transport.GraphAuthClient.ValidateResponseAsync(HttpResponseMessage response)
at Microsoft.Graph.Communications.Client.Transport.GraphAuthClient.SendHttpRequestAsync[T1,T2](IGraphRequest`1 graphRequest, CancellationToken cancellationToken)
at Sample.Common.Transport.GraphClientExtensions.SendAsync[T](IGraphClient client, IBaseRequest request, RequestType requestType, String tenant, Guid scenarioId, CancellationToken cancellationToken) in /Users/benjaminharvey/Desktop/microsoft-graph-comms-samples-master/Samples/Common/Sample.Common/Transport/GraphClientExtensions.cs:line 107
at Sample.VoiceRecorderAndPlaybackBot.Bot.Bot.BotRecordsIncomingCallAsync(String callId, String tenantId, Guid scenarioId) in /Users/benjaminharvey/Desktop/microsoft-graph-comms-samples-master/Samples/V1.0Samples/StatelessSamples/VoiceRecorderAndPlaybackBot/Bot/Bot.cs:line 456
at Sample.VoiceRecorderAndPlaybackBot.Bot.Bot.NotificationProcessor_OnNotificationReceivedAsync(NotificationEventArgs args) in /Users/benjaminharvey/Desktop/microsoft-graph-comms-samples-master/Samples/V1.0Samples/StatelessSamples/VoiceRecorderAndPlaybackBot/Bot/Bot.cs:line 310
at Sample.Common.CommonUtilities.ForgetAndLogExceptionAsync(Task task, IGraphLogger logger, String description, String memberName, String filePath, Int32 lineNumber) in /Users/benjaminharvey/Desktop/microsoft-graph-comms-samples-master/Samples/Common/Sample.Common/CommonUtilities.cs:line 40
- Moved by Xingyu ZhaoMicrosoft contingent staff Thursday, July 9, 2020 1:41 AM
Wednesday, July 8, 2020 8:03 AM
Answers
-
The Azure forums have migrated to QnA
https://docs.microsoft.com/en-us/answers/topics/azure-ad-graph.html
https://docs.microsoft.com/en-us/answers/index.html
here you can Ask a question and assign appropriate tags.
https://docs.microsoft.com/en-us/answers/topics.html?sort=name
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Guido Franzke Thursday, July 9, 2020 6:19 AM
- Marked as answer by Guido Franzke Thursday, July 16, 2020 5:58 AM
Thursday, July 9, 2020 1:51 AM -
Also try asking here:
https://stackoverflow.com/questions/tagged/microsoft-graph-api
https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=graphde
Regards, Guido
- Marked as answer by Guido Franzke Thursday, July 16, 2020 5:58 AM
Thursday, July 9, 2020 6:19 AM
All replies
-
Hi Benji Harvey,
Thank you for posting here.
In order to help you find the correct forum to go ask questions, I have moved the thread to where is the forum for? forum.
Thank you for your understanding.
Best Regards,
Xingyu Zhao
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.Thursday, July 9, 2020 1:41 AM -
The Azure forums have migrated to QnA
https://docs.microsoft.com/en-us/answers/topics/azure-ad-graph.html
https://docs.microsoft.com/en-us/answers/index.html
here you can Ask a question and assign appropriate tags.
https://docs.microsoft.com/en-us/answers/topics.html?sort=name
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Guido Franzke Thursday, July 9, 2020 6:19 AM
- Marked as answer by Guido Franzke Thursday, July 16, 2020 5:58 AM
Thursday, July 9, 2020 1:51 AM -
Also try asking here:
https://stackoverflow.com/questions/tagged/microsoft-graph-api
https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=graphde
Regards, Guido
- Marked as answer by Guido Franzke Thursday, July 16, 2020 5:58 AM
Thursday, July 9, 2020 6:19 AM