Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 6QlP/KhdCCGJS278Pb5R8t
Power Apps - Building Power Apps
Unanswered

External website blocked by CORS policy

Like (0) ShareShare
ReportReport
Posted on 3 Jun 2024 18:44:45 by

Hello,

 

I am building a simple app that has a button that opens an external website on a new page when clicked. The website is hosted as a static website in Azure Storage Account Blob Container.

 

The issue is that the site does not load. When I check the browser console, there's an error regarding CORS (?) policy:

 

Uncaught DOMException: Failed to read a named property 'API' from 'Window': Blocked a frame with origin "https://websiteurl.com" from accessing a cross-origin frame.

 

I've tried to configure the CORS policy on Azure Container, but this does seem to be a CORS issue on PowerApps side.

 

I appreciate any help. 

 

Thanks,

Michael

 

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 283 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 146

#3
stampcoin Profile Picture

stampcoin 130

Overall leaderboard
Loading started