Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Answered

CORS setting in powerportal

(0) ShareShare
ReportReport
Posted on by

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

  • Verified answer
    OOlashyn Profile Picture
    3,496 Most Valuable Professional on at
    Re: CORS setting in powerportal

    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.

  • hsu Profile Picture
    74 on at
    Re: CORS setting in powerportal

    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.

  • adampfau Profile Picture
    Microsoft Employee on at
    Re: CORS setting in powerportal

    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

  • Satish1024 Profile Picture
    279 on at
    Re: CORS setting in powerportal

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

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

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35