change the domain for registered applications

Andy White 0 Reputation points
2024-06-12T09:43:42.1733333+00:00

Hi all,

We are in the process of migrating to a new tenant and I need to remove the domain name from O365 and add it to a the new tenant which isn't a problem in itself as I have done it many times.
However, this domain name has Entra registered Apps assigned to it and I wanted to ask what the impact of this will be?
Will I need to re-register the apps with another domain name?
Can I just change the primary domain name in Entra?

Any links to article would be appreciated

TIA

Andy

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,275 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 98,946 Reputation points MVP
    2024-06-12T15:54:56.26+00:00

    You can leverage the "force delete" functionality, which will automatically replace any references to the domain with the default .onmicrosoft.com one. Read for example here: https://github.com/MicrosoftDocs/entra-docs/blob/main/docs/identity/users/domains-manage.md#forcedelete-option

    0 comments No comments

  2. Akhilesh 6,825 Reputation points Microsoft Vendor
    2024-06-17T13:33:13.8966667+00:00

    Hi @Andy White

    Thank you for post!

    All users referring to the domain name will be renamed to the initial default domain name (.onmicrosoft.com) and disabled (blocked from signing in). In the same way all the application URI will be updated to contain the initial default domain name in the URI. For example, an app registration with app identifier URI https://Contoso.xyz/GUID would have its app identifier URI changed to https://M365x55182498.onmicrosoft.com/GUID.
    If you want to update the applications with another domain name you have to add the domain name to the new tenant.

    Once you have added the domain name to the new tenant, you need to update the registered applications to use the new domain name.

    Hope this helps. Do let us know if you any further queries.

    Thanks,

    Akhilesh.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.