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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Power BI embedding error in console (401)

Hi, 

 

The client portal faces a console error in the Power BI embedded part. It does work fine, but the error is visible for clients too. 

 

reportembed.externals.bundle.min.34b63a4a4813d07858e4.js:5
GET https://wabi-north-europe-redirect.analysis.windows.net/metadata/tenantsettings/properties 401 (Unauthorized)

 

NathalieRB_0-1641818372249.png

 

Status: Investigating

Hi @NathalieRB 

 

401 Unauthorized response code normally means the client request has not been completed because it lacks valid authentication credentials for the requested resource. And this api https://xxx.analysis.windows.net/metadata/tenantsettings/properties seems to get some information of your tenant but it failed due to some authentication issue. May I know whether this app is embed for your organization or  for your customers? If you are using embed for your customer solution, are you embedding with a master account or a service principle? If you are embedding for organization, what kind of account are you testing with? Does it have full permission to get these information?

 

Best Regards,

Community Support Team _ Caiyun

Comments
v-cazheng-msft
Community Support
Status changed to: Investigating

Hi @NathalieRB 

 

401 Unauthorized response code normally means the client request has not been completed because it lacks valid authentication credentials for the requested resource. And this api https://xxx.analysis.windows.net/metadata/tenantsettings/properties seems to get some information of your tenant but it failed due to some authentication issue. May I know whether this app is embed for your organization or  for your customers? If you are using embed for your customer solution, are you embedding with a master account or a service principle? If you are embedding for organization, what kind of account are you testing with? Does it have full permission to get these information?

 

Best Regards,

Community Support Team _ Caiyun

NathalieRB
Regular Visitor

Hi @v-cazheng-msft ,

 

Thank you for your quick respons. The app is embedded for customers. To do so, we use a Service Priciple that is added to a security AD group. 

 

The embedded part works fine for customers, therefor I'm not sure why the unauthorized response appears. 

 

Kind Regards,

Nathalie

v-cazheng-msft
Community Support

Hi @NathalieRB 

 

Thanks for your reply! I understand and I see this Get request is written in reportembed.externals.bundle.min.xx.js file. May I know whether this js file is created by yourself or is it come from a package your get from official offering? If you get it from an official offering, where did you get it? Is it the latest version of package?

 

Best Regards,

Community Support Team _ Caiyun