-2

We are Integrating Power BI into Blazor Web Application

we have followed the instruction given in Microsoft Documentation

We have Followed the Step 1 and Created User in Azure AD security group and Enabled the Power BI service admin settings

Please See Screen Below

image 1

Image 2

We have give API Setting for aiKira App

Image 3

We have also added User group in PowerBi WorkFlow as below.

Image 4

As Sample Source Given in Microsoft Documentation, we have completed all Steps.

We are Able to Generate Access Token for Power BI and Successfully able to crate Power BI Client Object

Image 5

When we try to access the Power BI report Using Below Line

Image 6

We are Getting 'HttpOperationException: Operation returned an invalid status code 'Unauthorized'' Error

With all possible mix and max of every settings, we are getting this error while accessing report with Workspace and Report, Since pbiClient.Reports.GetReportInGroupAsync is built in function we are unable to debug further

How to resolve this error?

Prabodh Mhalgi
  • 805
  • 9
  • 25

0 Answers0