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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

AGL (avaliability group listener) and CRM - db server change

(0) ShareShare
ReportReport
Posted on by 2

Hello,

database admins established AGL (avaliability group listener ) for CRM, so I've to replace existing CRM db server name with AGL name.

What is supported way to do that? I don't want to update database MSCRM_CONFIG using SQL. It is probably not supported.

Is it enough to:

  • change db server name in registry,
  • reimporting organization using sql connection to AGL

I don't want to re-install/modify crm because of change like this.

Do you have any experiences with that?

Thank you in advance!

I have the same question (0)
  • Suggested answer
    Pedro Cadavez de Freitas Profile Picture
    Microsoft Employee on at

    Hello mchgn.nstars,

    Hope you are well.

    Yes, you are right. Any SQL direct modifications are unsupported.

    And your idea is correct.

    First you need to change the registry setting on CRM servers, that is responsible for identifying where MSCRM_config is located. And now point it to the AG listener.

    Once you open then the deployment manager with the new connection string, you need to reimport the organization pointing to the AG listener again, so the value is updated in a supported manner on the DB.

    Anything else, let us know.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 153

#2
ManoVerse Profile Picture

ManoVerse 147 Super User 2026 Season 1

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 66 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans