Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Connector not found when importing solution

(0) ShareShare
ReportReport
Posted on by

I have a flow which uses a custom connector. The plan is to use devops CD/CI to deploy two managed solutions one which contains the custom connector, and another which houses the flows that call the custom connector and the related canvas application. Both the connector and flow work in the dev environment. The custom connector also works from the custom connector test page in the Test environment.

 

However the main issue is that the flow will not run as it returns the error 

 

Error from token exchange: The connection (connection GUID) is not found. Please create new connection and change your application to use the new connection.

 

 

If I go into the default solution with in the test environment, I can manually re-add the connection to the flow and it works fine. The issue with this is the final deployment will be over 30+ environments and possibly multiple tenants. Any advice on how to fix this issue so that the deployment of these two solutions can be automated, would be very much appreciated. 

  • Ben_C Profile Picture
    Ben_C on at
    Re: Connector not found when importing solution

    I've been able to set up a connection reference and connection settings file, my problem now, is that the flow comes into the target environment turned off and disconnected from the canvas application. Is there a way to make sure the flow is turned on at import and connected to the canvas application?

  • Re: Connector not found when importing solution

    Automatic connection creation is not supported as of now. So you will need to create connections in each of those environments beforehand. Then you can use those connection ids in your deployment settings file to automate rest of the process. See this documentation for more details: 

    Pre-populate connection references and environment variables for automated deployments using Power Platform Build Tools - Power Platform | Microsoft Docs

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,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard

Featured topics