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
Anonymous
Not applicable

Embedding Sharepoint Page in Power BI - login.microsoftonline.com refused to connect

I've embedded a sharepoint page as the home page on my Power BI app by adding a link that opens in content area. The sharepoint page is open to all users so should be visible to everyone. 

 

Most people see it no problem, but some users get an error screen with the message "login.microsoftonline.com refused to connect". If I access the sharepoint page directly on the user account, they can see it, so the error is happening somewhere in Power BI. Any idea how i can fix this?

2 REPLIES 2
v-jianboli-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please try to use popups/add-in communication via web sockets in your app to handle the login request: 

Connecting to Office 365 from an Office Add-in | Microsoft Learn

 

And there are several links posts similar yo this problem. Please check if these could help you a little.

azure active directory - X-Frame-Option DENY error when AAD sign-in in office add-in - Stack Overflow

login.microsoftonline refused to connect from iframe - Microsoft Q&A

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

thank you for your reply. i don't quite understand how I can possibly implement those where the power bi app only gives me an option to add a URL and nothing further?

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