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
pr_tr_cz
New Member

Error 401 for 'Publish to Web' report in Chrome normal mode / OK in Chrome anonymous mode

Hello everybody!

 

I am using Chrome for Office 365 and for Power BI service with different accounts.

 

For reports published via 'Publish to Web' (https://app.powerbi.com/view?r=eyJrIjoiMzBhZ...):

 - Chrome in normal mode (logged in or logged out in Office 365) returns ERROR 401 - UNAUTHORIZED.

- Chrome in anonymous mode behave correctly and published report is shown correctly.

 

Chrome in normal mode may have other related strange behaviour:

- login in to Power BI service via https://app.powerbi.com/ or via https://www.office.com/ returns also ERROR 401 - UNAUTHORIZED

- URLs like https://msdn.microsoft.com/en-us/query-bi/dax/data-analysis-expressions-dax-reference returns "HTTP Error 400. The size of the request headers is too long."

Chrome in anonymous mode works correctly.

 

Chrome behaves in this way not only in our company.

 

Any suggestion for fixing this behaviour?

 

Thx for help.

 

PR

2 ACCEPTED SOLUTIONS
v-qiuyu-msft
Community Support
Community Support

Hi @pr_tr_cz,

 

Do you mean the anonymous mode is Incognito mode

 

 

The report URL generated by published to web feature doesn't require any Power BI account to access it. Also the URL https://msdn.microsoft.com/en-us/query-bi/dax/data-analysis-expressions-dax-reference don't require any credential. Please clear Chrome browser cache then restart browser, access Power BI service portal again, it should prompt entering Power BI account. Also keep running teh latest Chrome browser. 

 

Please also try with other browsers, eg: IE 11 and Edge browser to see if the same issue occurs. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

pr_tr_cz
New Member

Hi Qiuyun Yu,

 

thank you for your answer.

I cleared chrome browser cache and now everything works perfectly.

 

Best Regards

 

PR

View solution in original post

5 REPLIES 5
v-brpate
Regular Visitor

Hello Team,

 

I'm getting same error, any proper solution to resolve this bug. I hava check in Google Chrome, Goolge Chrome (Incognito Mode), IE but not working.

 

 I have check the request details form network and found that, it's related to 400 (Bad Request) & 401 (Unauthorized).

 

Thanks,

Brijesh

Anonymous
Not applicable

I have the same issue. And it constantly reappears. I cannot demand users to clear cache all the time.
It looks like some conflict between power bi embedded token and Power BI Pro authentification in the same time.

v-qiuyu-msft
Community Support
Community Support

Hi @pr_tr_cz,

 

Glad to hear the issue is gone. Smiley Happy

 

I will close this thread. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
pr_tr_cz
New Member

Hi Qiuyun Yu,

 

thank you for your answer.

I cleared chrome browser cache and now everything works perfectly.

 

Best Regards

 

PR

v-qiuyu-msft
Community Support
Community Support

Hi @pr_tr_cz,

 

Do you mean the anonymous mode is Incognito mode

 

 

The report URL generated by published to web feature doesn't require any Power BI account to access it. Also the URL https://msdn.microsoft.com/en-us/query-bi/dax/data-analysis-expressions-dax-reference don't require any credential. Please clear Chrome browser cache then restart browser, access Power BI service portal again, it should prompt entering Power BI account. Also keep running teh latest Chrome browser. 

 

Please also try with other browsers, eg: IE 11 and Edge browser to see if the same issue occurs. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors
Top Kudoed Authors