Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-yiruan-msft
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.