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
Chitemerere
Responsive Resident
Responsive Resident

Embed Power BI Paginated Reports - Embed for your Customers - Service Principal

I am trying to embed Power BI paginated report with a paginated report, embed for your customers with service principal. The dataset and paginated report is residing in an A1 SKU workspace.  However, I am getting the following error message:

 

Error Details:
Operation returned an invalid status code 'BadRequest'

at Microsoft.PowerBI.Api.ReportsOperations.GenerateTokenInGroupWithHttpMessagesAsync(Guid groupId, Guid reportId, GenerateTokenRequest requestParameters, Dictionary`2 customHeaders, CancellationToken cancellationToken)
at Microsoft.PowerBI.Api.ReportsOperationsExtensions.GenerateTokenInGroupAsync(IReportsOperations operations, Guid groupId, Guid reportId, GenerateTokenRequest requestParameters, CancellationToken cancellationToken)
at Microsoft.PowerBI.Api.ReportsOperationsExtensions.GenerateTokenInGroup(IReportsOperations operations, Guid groupId, Guid reportId, GenerateTokenRequest requestParameters)
at AppOwnsData.Services.PbiEmbedService.GetEmbedTokenForRDLReport(Guid targetWorkspaceId, Guid reportId, String accessLevel) in C:\Users\ChristopherChitemere\Downloads\Embed for your customers - Targeted Testing Paginated\AppOwnsData\Services\PbiEmbedService.cs:line 261
at AppOwnsData.Services.PbiEmbedService.GetEmbedParams(Guid workspaceId, Guid reportId, Guid additionalDatasetId) in C:\Users\ChristopherChitemere\Downloads\Embed for your customers - Targeted Testing Paginated\AppOwnsData\Services\PbiEmbedService.cs:line 58
at AppOwnsData.Controllers.EmbedInfoController.GetEmbedInfo() in C:\Users\ChristopherChitemere\Downloads\Embed for your customers - Targeted Testing Paginated\AppOwnsData\Controllers\EmbedInfoController.cs:line 45

 

Embeding ordinary reports works well.

 

Kindly assist.

Regards,

Chris

0 REPLIES 0

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.