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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Anonymous
Not applicable

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors