web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / CORS setting in powerp...
Power Pages
Answered

CORS setting in powerportal

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi powerUsers, 

I am looking to access CORS (cross orgainzation resource sharing) in powerportal though the default Portal management (Default model driven App for portals). 

The idea is to access an Azure web service which calls an API of payment gateway and returns reponse to powerportal. 
CORS has already been configured on azure but i am unable to find the CORS settings or any configuration related CORS in powerportal. 

Looking forward to a swifty response. 

Regards, 
Ali Nawaz

Categories:
I have the same question (0)
  • Satish1024 Profile Picture
    279 on at

    Not sure if you are still facing the issue but CORS can be done using a Site Settings in Power App Portal. 

     

    Although for a different website, it is given here:

    "Configuring cross-origin resource sharing (CORS)"

    https://docs.microsoft.com/en-us/dynamics365/marketing/developer/portal-hosted

     

    Thanks

    Satish

    https://pascalcase.com

  • adampfau Profile Picture
    Microsoft Employee on at

    The link below contains the CORS protocol settings.  These are all site settings and they can be configured based on your needs. 

    https://docs.microsoft.com/en-us/powerapps/maker/portals/add-web-resource#cors-protocol-support

  • hsu Profile Picture
    74 on at

    Hi everyone, @Anonymous 

     

    I have setup the CDS and also can access via API. But the CORS is what I also need to enable.

    anyone managed to do this?

    -> to find the CORS settings or any configuration related CORS in powerportal. 

     

    The 2 hints are understandable, but does not really help me to find where to setup in PowerPortal.

    Inside the Dynamics UI (via PowerApps Advance Settings), I cannot find the settings like for the Dynamics Portal. 

     

    This is what I see:

    • Where to set those CORS header?

    2020-06-02_15-13-22-Dynamics.png

     

     

    Thanks.

  • Verified answer
    OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Hi @hsu,

     

    If you want to manage CORS settings for the Power Apps Portal you need to go to Portal Management model driven app and there go to Site Setting section.

    Site Settings.png

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 36

#2
Valantis Profile Picture

Valantis 30

#3
omkarsupreme Profile Picture

omkarsupreme 23

Last 30 days Overall leaderboard