Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

use of alias name in CRM 365 connection string

Posted on by 1,255

In the CRM connection string is it possible to replace the server name with alias name?
If yes, please provide guidance on how replace the server name with alias name?

<add name="MyCRMServer"
connectionString="AuthType=AD;
Url=https://ServerName:8080/Test;
Domain=ServerName;
Username=jsmith;
Password=passcode" />

<add name="MyCRMServer"
connectionString="AuthType=AD;
Url=https://AliasName:8080/Test;
Domain=AliasName;
Username=jsmith;
Password=passcode" />

  • Guido Preite Profile Picture
    Guido Preite 54,081 Super User 2024 Season 1 on at
    RE: use of alias name in CRM 365 connection string

    I don't know if there will be problems, honestly I don't deal with onpremise installations recently.

    Keep notice of the steps you did, at least if in the future something is not working, you know how to reverse the situation if you want to test if that was the problem.

  • Mike2011 Profile Picture
    Mike2011 1,255 on at
    RE: use of alias name in CRM 365 connection string

    Hi Guido,

    It seems to be working when we change CRM AppPool Identity from NetworkService to domain user.

    In the connection string we are now able to use the alias name.

    Do you see any potential if we use a domain user to run the CRM Application Pool?

    The domain user is also a  Dynamics CRM SystemUser.

  • Guido Preite Profile Picture
    Guido Preite 54,081 Super User 2024 Season 1 on at
    RE: use of alias name in CRM 365 connection string

    not possible (technically because you are onpremise you can setup a DNS entry in your network that create that alias, you should talk with the IT manager of your company, but I don't see the advantage to it)

    hope it helps

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans