web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Issues Importing Solut...
Copilot Studio
Unanswered

Issues Importing Solution with Custom Connector

(0) ShareShare
ReportReport
Posted on by 86

Hi,

 

I've seen this a few times but don't seem to have a definite answer. This is concerning exporting a bot from one tenant to another.

 

The Scenario

 

Aim:

  • Tenant A is our development tenant (including testing etc). Tenant B is a customer's tenant.
  • Want to move/recreate the bot currently in Tenant A, in Tenant B.
  • The bot is part of a solution, along with the Power Automate flows.

 

Content:

  • Bot in Tenant A has:
    • 2 Topics
    • 1 Custom Connector (used by one of the topics) via Power Automate (created in PA via Virtual Agents).
  • Bot in Tenant B is empty (for the purpose of this example)

 

Issue:

Exporting from Tenant A and Importing to Tenant B causes issues with the connector. The issue being that when imported, the connector is broken as it appears to be looking for the reference ID of the connector in Tenant A, which does not exist in Tenant B. You cannot select an alternative connector during the import process. You cannot point it to an alternative connector after import.

 

Our Current Workaround:

  • We are exporting from Tenant A
  • We create a connector in Tenant B, with the same functionality of the connector in Tenant A. 
  • We are then opening the exported XML and JSON files in a text editor, searching for any reference ID's for the connectors from Tenant A, and altering them to be the ID of the relevant connector in Tenant B.
  • We then import the solution and in theory it works, as it is now looking for a connector (via its ID) that exists in Tenant B already (rather than it looking for the connector ID that only exists in Tenant A).

 

Now, that's a bit of a pain in the above example. When the bot gets built out more it becomes a massive hurdle and more open to human error. We end up having to alter ID's in lots of different places within the XML and JSON files. For example, every topic/flow JSON file that uses a connector, requires it to be altered.

Is there an inherent/already built in way to do this that we've missed? Is there an alternative method? How can we successfully import a bot to another tenant that uses custom connectors with as little pain as possible? 🙂

 

Thanks,

 

Jase

 

 

 

 

 

 

Categories:
I have the same question (0)
  • Diganta Profile Picture
    on at

    Thank you, Jase, for reporting this issue. This could be a bug in the custom connector. Please share your environment ID, custom connector ID, flow ID, and bot ID.

  • jase Profile Picture
    86 on at

    Hi Diganta,

     

    Thanks for the response. My lead developer is away for a week, so he may post the details, but if not then he will post them when he returns.

     

    Many Thanks.

  • Viking1 Profile Picture
    3 on at

    Hi @Diganta ,

    Environment ID: eab21d64-5f94-e758-8cf0-ab03f2314aa9
    Custom Connector ID: 
    new_sharedfresh5fservice5f165f115f95f405f1d0ac512f0529afe5ab8a04ad2_24b63

    Flow ID: (Flow Identifier): v1/eab21d64-5f94-e758-8cf0-ab03f2314aa9/5230c420-135d-461d-ac34-c72ac37677b5
    Bot ID: f3b3d584-5ff7-4c3c-841c-0075a48f05b2

    I hope all IDs are correct, if no, please feel free to reach out to me.

    Kindest regards,
    Jon

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 325

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 176 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 121

Last 30 days Overall leaderboard