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 Automate / PowerFlow Custom Conne...
Power Automate
Unanswered

PowerFlow Custom Connector to IIS API resolves base url

(0) ShareShare
ReportReport
Posted on by

I have a python Flask API hosted on IIS. API url path working when tried from web browser. But when calls the API from Power Flow custom connector, it resolves to base url, not for request url. Any idea?

Categories:
I have the same question (0)
  • murshed Profile Picture
    Microsoft Employee on at

    Sounds like you don't have parameters defined on the call. Please take a look at the documentation to explore more on this: https://docs.microsoft.com/en-us/connectors/custom-connectors/define-openapi-definition

    If you can share the definition for the action I can provide more specific instruction.

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE 👍.

  • MS-16081941-0 Profile Picture
    4 on at

    Were you ever able to find a solution to this?  I have the same exact scenario - python flask API hosted on IIS using FastCGI which always resolves to the base URL when trying to hit it from a custom connector using an on-premise gateway. 

     

    I can get it working successfully in the following two tests:

    1) Testing using the swagger editor in the connector (after enabling CORs module in IIS)

    2) Running the python flask app from command line instead of IIS

     

     

  • MS-16081941-0 Profile Picture
    4 on at

    I'm having the same issue (see comment above) and don't think it is related to action parameters.  I created a simple flask app just to troubleshoot where I have 3 routes without the need for any parameters and it still always goes to the base URL.  It works from the swagger editor or if I stop the IIS service and run my flask app from command line.  Any insight would be appreciated!  

     

    msheikh_0-1718388393949.png

     

    msheikh_1-1718388407696.png

     

    msheikh_2-1718388415973.png

     

    msheikh_3-1718388426537.png

     

    msheikh_4-1718388434941.png

     

    msheikh_5-1718388447387.png

     

    msheikh_6-1718388458869.png

     

    msheikh_7-1718388465573.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

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 411

#3
David_MA Profile Picture

David_MA 337 Super User 2026 Season 1

Last 30 days Overall leaderboard