Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Packaging ServiceEndpoints with Managed Solutions

Posted on by

Hello,

I have developed a custom Dynamics CRM solution which extensively use Service Endpoints (Azure Service Bus Queues) to communicate with external services.

I would like to know the best practices to deploy that Service Endpoint on production given the Endpoint which I use for development is not the same (obviously).

The GUID should be preserved amoung different enviroments, since it is referenced by custom actions.

My question is: If I deploy the Endpoint on my managed solution and then, on Prod enviroment, re-configure it to use the Production Queue, subsequent deploys would override the configuration, right? What is the recommended way of doing it?

I tried to let the ServiceEndpoint resource on an unmanaged solution but removing it from the managed solution prevented it from being deployed cause of the lack of required components (even if the resource is already previously deployed).

Thank you!

Lucas

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Packaging ServiceEndpoints with Managed Solutions

    Exactly !! try deploying the Service Endpoint in a different solution. That way, you will not have to override/change it every time you deploy your main solution. Even if you include it in your main solution, you can modify it in your production (unmanaged) and then in your subsequent managed solution deployments to Production always select "Main Customization" to not overwrite the Service Endpoint however you have to be careful what unmanaged customization you are doing on Prod in order to avoid inconsistencies.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans