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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Moving connection roles from one environment to another

(0) ShareShare
ReportReport
Posted on by 130

Hi - I'm exporting my solution from Dev environment to Test environment but for some reason Connection Roles don't get exported. I wonder if there's a different way of moving connection roles from one environment to another. Thanks

I have the same question (0)
  • Suggested answer
    Menna El Sayed Galal Profile Picture
    on at

    Hi,

    I have a question here , Have you by any chance had your connection role imported in the source environment as a managed solution and you also have not modified it prior to being added to the solution ?

    Please refer to the article below as a solution guide:

    docs.microsoft.com/.../configure-connection-roles

    you simply add them inside the solution you want to export from source environment then import to the target one.

    and you can check below bullet point also:

    • For an entity to be available as a record type for a new or existing connection role, the Enable connections property must be enabled for the entity.

    So make sure that you include the connection role and entity itself inside the solution before exporting it and try to deploy again.

    I have tried the same scenario on a vanilla environment and it is working fine

    pastedimage1582723969555v1.png

    Please let me know if it is working or still have issue.

  • ilyasmo Profile Picture
    130 on at

    Thanks Menna, If I add a new connection role it does get deployed to other environment. But when I edit an existing one then it doesn't get deployed. What I'm doing actually I'm updating 'Select record types' of few connection roles but this bit don't get exported/imported.

    Like in the image below I have updated 'Select record types' but it don't get updated in other environments when I export/import solutions.

    pastedimage1582798326241v1.png

  • Community Member Profile Picture
    on at

    Hi,

    Did you find the solution for this issue. Because, right now I have a same situation and can't think of anything. If you do have a solution please let me know that will be great. Thanks

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Have you tried increasing solution version before exporting the solution?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 146 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 59

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans