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 :
Finance | Project Operations, Human Resources, ...
Answered

Changing domain in the same tenant

(0) ShareShare
ReportReport
Posted on by 2,172

Hi,

I have case where the Dynamics was deployed with admin@domain1.onmicrosoft.com user. And the subsequent users were created on domain1.onmicrosoft.com.

Now we have added the domain company1.com.

If I simply change the user domain to admin@company1.com I wont be able to login due to different ObjectIDs.

Can the domain be changed without losing access and user data?

Appreciate any tips.

Best regards,

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at

    Hi MYGz,

    When you want to add users from another domain, you have to alter the Provider field from https://sts.windows.net/ to sts.windows.net/company1.com. In an environment you can't change the login details of the Admin user. 

  • MYGz Profile Picture
    2,172 on at

    Hello Andre,

    So if there's a user with user ID user@domain1.onmicrosoft.com and I have to change it to user@company1.com, I'll have to delete the first id and then import the 2nd ID? In this case the user data will be gone. All the customized form views will have to be redone.

    In development environment if we change the object ID and provider in ther UserInfo table then I believe the user can continue to work with the new ID and all the user data also be safe. But we dont have the access to SQL in UAT and Prod. Perhaps we can raise a request to microsoft for this?

  • André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at

    Hi MYGz,

    I have not mentioned to delete the user and create a new one. You can change the details on an existing user, taking into considerations the comments I provided above.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans