microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Insufficient enterprise tenant permissions, cannot access this API.

Open
#276 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

fail: VoiceRecorderAndPlaybackBot[1742746998]
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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Sample.Common/Transport/GraphClientExtensions.cs at line 107, then trace the calls from Bot.cs at lines 456 and 310. Compare the failing request with the enterprise tenant permissions available to the VoiceRecorderAndPlaybackBot. The report does not define a code change or verifiable completion condition, so the intended fix remains unclear.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, authorization
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.