Skip to main content
Power Automate
    • Robotic process automation
    • Power Automate Desktop
    • Process advisor
    • AI Builder
    • Connectors
    • Templates
  • Pricing
    • Blog
    • Documentation
    • Roadmap
    • Self-paced learning
    • Webinar
    • Overview
    • Issues
    • Give feedback
    • Overview
    • Forums
    • Galleries
    • Submit ideas
    • Register
    • ·
    • Sign In
    • ·
    • Help
    Go To
    • Microsoft Power Automate Community
    • Community News
    • News & Announcements
    • Get Help with Power Automate
    • General Power Automate Discussion
    • Connecting To Data
    • Building Flows
    • Using Flows
    • Power Automate Desktop
    • AI Builder
    • Power Automate Mobile App
    • Translation Quality Feedback
    • Share, Chat, Discuss
    • Community Chat & Announcements
    • Power Automate Cookbook
    • Off Topic Discussion
    • Power Platform Integration - Better Together!
    • Power Platform Integrations
    • Power Platform and Dynamics 365 Integrations
    • Watch & Share Videos
    • Webinars and Video Gallery
    • MBAS Gallery 2019
    • MBAS Gallery 2020
    • Give Feedback & Share Ideas
    • Power Automate Ideas
    • Report Issues
    • I Found A Bug
    • Find & Join Local User Groups
    • Power Automate User Groups
    • Read & Share Blogs
    • Power Automate Community Blog
    • Community Blog Topic Suggestions
    • Community Support
    • Community Accounts & Registration
    • Using the Community
    • Community Feedback
    cancel
    Turn on suggestions
    Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
    Showing results for 
    Search instead for 
    Did you mean: 
    • Microsoft Power Automate Community
    • Watch & Share Videos
    • Webinars and Video Gallery
    • Dynamically Changing Power Automate Custom Connect...

    Dynamically Changing Power Automate Custom Connector Values using Policy Templates

    08-10-2020 08:16 AM

    Microsoft KentWeare-MSFT
    Microsoft
    181 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    KentWeare-MSFT
    Microsoft KentWeare-MSFT
    Microsoft
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    Dynamically Changing Power Automate Custom Connector Values using Policy Templates

    ‎08-10-2020 08:16 AM

    In this video we are going to explore how we can dynamically change the Host URL in a Custom Connector using Policy Templates. This allows us to control the Host URL inside of Power Automate or Power Apps so that we can maintain one version of our custom connector configuration. One use case that we can leverage this feature for is when dealing with systems that are environment specific (Dev/Test/Prod). You can now set this value inside of your connector's action and don't need to deploy multiple versions of your connect.

    watch?v=PmfrG57-9Hc

    Labels:
    • Labels:
    • Tutorials
    Message 3 of 3
    181 Views
    1 Kudo
    Reply
    • All posts
    • Previous Topic
    • Next Topic
    KentWeare-MSFT
    Microsoft KentWeare-MSFT
    Microsoft
    In response to M365Architect
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎11-02-2020 07:11 AM

    Hi,

    I will take a look and let you know what I find out.

     

    Regards,

     

    Kent

    Message 1 of 3
    46 Views
    0 Kudos
    Reply
    M365Architect
    M365Architect
    Frequent Visitor
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎10-09-2020 09:28 AM

    Hi @KentWeare-MSFT ,

     

    I tried following the steps which you have mentioned. But in my case, the api is having a port number as well. Hence i tried the following

     

    1. Passed value from flow as "hostname:8282" and the invocation failed. The error message was unable to resolve "hostname". Surprisingly port number was not mentioned in the error message.

     

    2. I then updated the Url Template in Policy as https://@queryParameters('env_hostUrl'):8282/ and passed value as "hostname" from the flow. I then received error message i.e. Unable to resolve hostname. If pass the value as "hostname:8282" then i recevied error message as "incorrect format hostname:8282:8282" 

     

    How can I use the solution proposed in video when port number too has to be passed with host url?

    Message 2 of 3
    128 Views
    0 Kudos
    Reply

    Power Platform

    • Overview
    • Power BI
    • Power Apps
    • Power Automate
    • Power Virtual Agents
    • Sign up free
    • Sign in

    Browse

    • Templates
    • Connectors
    • Partners

    Downloads

    • Mobile
    • Gateway

    Learn

    • Documentation
    • Learn
    • Support
    • Community
    • Give feedback
    • Blog
    • Pricing
    • © 2021 Microsoft
    • Twitter
    • RSS Feed
    • YouTube
    • Contact us
    • Trademarks
    • Privacy & cookies
    • Manage cookies
    • Terms of use
    • Terms & conditions