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

Changing domain in the same tenant

(0) ShareShare
ReportReport
Posted on by 2,334

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
    303,375 Super User 2026 Season 1 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,334 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
    303,375 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 514 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 390

#3
Adis Profile Picture

Adis 266 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans