Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
86 | |
46 | |
25 | |
21 | |
19 |