cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
niravbarot
New Member

Sample code not working properly

Normally, the sample code is working fine, but I get the following error when I try to open reports in multiple tabs.
Would you please suggest any solution?
I try to post this on the sample code provide git, but they cannot post the bug in git.
here is the sample code URL https://github.com/microsoft/PowerBI-Developer-Samples

Error Details:
One or more errors occurred. (AADSTS50196: The server terminated an operation because it encountered a client request loop. Please contact your app vendor.
Trace ID: 62b0fef7-1b1e-4196-9b67-ce75c55b1d01
Correlation ID: b0d0bf6d-7c22-42d0-8721-8f6d2afd5828
Timestamp: 2021-06-11 12:42:39Z)

at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at AppOwnsData.Services.AadService.GetAccessToken() in C:\Users\satish.rabari\Source\Repos\PowerBI-Developer-Samples\.NET Core\Embed for your customers\AppOwnsData\Services\AadService.cs:line 48
at AppOwnsData.Services.PbiEmbedService.GetPowerBIClient() in C:\Users\satish.rabari\Source\Repos\PowerBI-Developer-Samples\.NET Core\Embed for your customers\AppOwnsData\Services\PbiEmbedService.cs:line 33
at AppOwnsData.Services.PbiEmbedService.GetEmbedToken(Guid reportId, IList`1 datasetIds, Guid targetWorkspaceId) in C:\Users\satish.rabari\Source\Repos\PowerBI-Developer-Samples\.NET Core\Embed for your customers\AppOwnsData\Services\PbiEmbedService.cs:line 153
at AppOwnsData.Services.PbiEmbedService.GetEmbedParams(Guid workspaceId, Guid reportId, Guid additionalDatasetId) in C:\Users\satish.rabari\Source\Repos\PowerBI-Developer-Samples\.NET Core\Embed for your customers\AppOwnsData\Services\PbiEmbedService.cs:line 75
at AppOwnsData.Controllers.EmbedInfoController.GetEmbedInfo() in C:\Users\satish.rabari\Source\Repos\PowerBI-Developer-Samples\.NET Core\Embed for your customers\AppOwnsData\Controllers\EmbedInfoController.cs:line 45

1 REPLY 1
yingyinr
Community Support
Community Support

Hi @niravbarot ,

Please review the solution in the following links and check whether they can help you resolve the problem:

AADST50196: The server terminated an operation because it encountered a loop while processing a requ...

How to Fix AADSTS50196 Authentication Error on Windows 10?

AADSTS50196: The server terminated an operation because it encountered a client request loop Fixed

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.