Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "<domain_name>.sharepoint.com refused to connect" #34

Open
FrazzApps opened this issue Feb 6, 2024 · 2 comments
Open

Error: "<domain_name>.sharepoint.com refused to connect" #34

FrazzApps opened this issue Feb 6, 2024 · 2 comments

Comments

@FrazzApps
Copy link

I'm trying to display a SharePoint page on my App but I'm getting a "<domain_name>.sharepoint.com refused to connect" error.

I've tried the URL in a iFrame tester and the error details are:
Refused to frame 'https://<domain_name>.sharepoint.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com *.powerapps.com *.yammer.com engage.cloud.microsoft *.officeapps.live.com *.office.com *.microsoft365.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com onedrive.live.com *.onedrive.live.com securebroker.sharepointonline.com".

however the app is running under the URL:
https://apps.powerapps.com/play/e/default...........
so I would have thought it should work given *.powerapps.com is listed above

Have you run into this, any thoughts on how to resolve it?

@jordiba90
Copy link

I guess the reason is that iframe cannot login to Sharepoint. Just external links.

@Caspian11
Copy link

Caspian11 commented Oct 1, 2024

I also have this same problem. The component won’t connect to SharePoint.
Update - It won't connect to anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants