Skip to main content

Notifications

Community site session details

Community site session details

Session Id : QWNl+E2F4l9l5U+4cigIxF
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,769 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started