Skip to main content

Notifications

Power Automate - Connector Development
Unanswered

How to place subdomain in host url for power automate custom connector

(0) ShareShare
ReportReport
Posted on by

Hello,

I am developing a custom connector for an API service for which the host url has a dynamic subdomain:
https://{{subdomain}}.alisqi.com/api

My question is from where can I collect the subdomain without altering the requests and place it inside the host url?
I see a policy for this can be created, my concern is that a 'subdomain' query param or header would be added to each request and it was not supposed to be there - this to only be able to get it with @queryParameters(‘subdomain’) or @headers(‘subdomain’).

I see in documentation that @connectionParameters(‘subdomain’) can also be used to take it from connection. The service is using an API key connection and the power automate UI editor doesn't seem to let me create a new parameter inside connection named 'subdomain' in order to collect it from connection and use policy to replace host url.

Can you guide me how it's best to approach this?

Thank you!

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics