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 Apps / Issues with integratin...
Power Apps
Unanswered

Issues with integrating PowerApps with Custom Connector in Studio Mode

(0) ShareShare
ReportReport
Posted on by 139
Hello Team,
 
We are trying to connect to the Azure APIM instance through PowerApps. We were facing CORS issues in testing the custom connector response as well as hitting the same API through the APP URL in published mode.

 

We were able to resolve the above issues by referring to a couple of articles (https://powerusers.microsoft.com/t5/Connector-Development/Property-quot-quot-type-mismatch-Expected-...
) by adding https://flow.microsoft.com and https://apps.powerapps.com. URIs to the CORS policy.

 

However, we are still having issues with loading the data in PowerApps Studio mode. We tried adding the below URLs to the CORS policy after debugging in the network tab without any luck.

The error that we are seeing in the studio mode has been attached. 

It would be great if you could share your insights into this issue.

Thanks,
Srinivas
CORS.png
Custom connector error in the app.png
Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello Srinivas,

     

    I was facing the same issue and was able to work around the issue by allowing all origins in the CORS policy. Like so:

     <cors>
     <allowed-origins>
     <origin>*</origin>
     </allowed-origins>
     <allowed-methods preflight-result-max-age="300">
     <method>*</method>
     </allowed-methods>
     <allowed-headers>
     <header>*</header>
     </allowed-headers>
     <expose-headers>
     <header>*</header>
     </expose-headers>
     </cors>

     

    The call works with this configuration, but is obviously not secure and cannot be used in production. 

    Were you able to find the correct URLs to be allowed for the connection to work?

     

    Thanks,

    Shridhar

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 May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard