cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pr_tr_cz Frequent Visitor
Frequent Visitor

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

Accepted Solutions
Moderator v-qiuyu-msft
Moderator

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

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.
pr_tr_cz Frequent Visitor
Frequent Visitor

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

Hi Qiuyun Yu,

 

thank you for your answer.

I cleared chrome browser cache and now everything works perfectly.

 

Best Regards

 

PR

5 REPLIES 5
Moderator v-qiuyu-msft
Moderator

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

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.
pr_tr_cz Frequent Visitor
Frequent Visitor

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

Hi Qiuyun Yu,

 

thank you for your answer.

I cleared chrome browser cache and now everything works perfectly.

 

Best Regards

 

PR

Moderator v-qiuyu-msft
Moderator

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

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.
stoune Frequent Visitor
Frequent Visitor

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

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-brpate Frequent Visitor
Frequent Visitor

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

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

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 128 members 2,144 guests
Please welcome our newest community members: