Home

Adding Domain to the Custom Domain Names in AAD

%3CLINGO-SUB%20id%3D%22lingo-sub-770814%22%20slang%3D%22en-US%22%3EAdding%20Domain%20to%20the%20Custom%20Domain%20Names%20in%20AAD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-770814%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3EI%20have%20a%20issue%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EProblem%20Description%3A%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EWe%20have%20configured%20AAD%20Connect%20to%20sync%20all%20on%20prem%20users%20to%20Azure%20Active%20directory.%20The%20on-prem%20AD%20UPN%20suffix%20is%20%40technet.org.au%20and%20the%20Azure%20AD%20user%20UPN%20suffix%20is%20%40technet.onmicrosoft.com.%20After%20the%20initial%20sync%2C%20I%20could%20see%20all%20the%20on-prem%20users%20in%20AAD%20with%20the%20suffix%20%3CA%20href%3D%22mailto%3Ausername%40technet.onmicrosoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eusername%40technet.onmicrosoft.com%3C%2FA%3E.%20That%20is%20when%20I%20realized%20that%20the%20custom%20domain%20name%20i.e.%20technet.org.au%20wasn%E2%80%99t%20added%20to%20the%20custom%20domain%20names%20in%20AAD%5COffice%20365.%20So%20I%20went%20ahead%20and%20registered%20the%20custom%20domain%20in%20Office%20365.%20As%20part%20of%20the%20registration%20process%2C%20it%20asked%20to%20add%20a%20TXT%20record%20to%20the%20DNS%20service%20which%20we%20did.%20But%20it%20looks%20like%20the%20custom%20domain%20is%20added%20incorrectly.%20Instead%20of%20technet.org.au%2C%20the%20UPN%20suffix%20is%3A%20technetorgau.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EProposed%20Solution%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3ESo%20In%20order%20to%20revert%20the%20change%2C%20i%20am%20thinking%20i%20should%20do%20this%3A%3C%2FP%3E%3COL%3E%3CLI%3EMake%20sure%20that%20none%20of%20the%20users%E2%80%99%20UPNs%20are%20updated%20to%20%40technetorgau.%20(Revert%20it%20back%20to%20%40technet.onmicrosoft.com%20if%20that%20is%20the%20case)%3C%2FLI%3E%3CLI%3EDelete%20the%20domain%20from%20the%20Custom%20Domain%20Names%3C%2FLI%3E%3CLI%3EDelete%20the%20TXT%20record%20from%20DNS%3C%2FLI%3E%3C%2FOL%3E%3CP%3Eam%20i%20on%20the%20right%20path%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20everyone%20in%20advance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-770814%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E%40AAD%20%40Add%20Domain%20to%20Custom%20Domain%20Names%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-770934%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20Domain%20to%20the%20Custom%20Domain%20Names%20in%20AAD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-770934%22%20slang%3D%22en-US%22%3E%3CP%3ENever%20seen%20a%20domain%20being%20added%20%22incorrectly%22%20in%20the%20fashion%20you%20describe%2C%20but%20yes%2C%20the%20steps%20you%20outlined%20should%20do.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-771073%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20Domain%20to%20the%20Custom%20Domain%20Names%20in%20AAD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-771073%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3BThanks%20for%20your%20response.%20just%20for%20completeness%20i%20should%20add%20one%20more%20step%20to%20remediation%20steps%20that%20i%20posted%20earlier%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebefore%20deleting%20the%20domain%20from%20the%20Custom%20domain%20names%2C%20make%20sure%20it%20is%20not%20the%20primary%20domain%20as%20shown%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F124280i8C685F5CEC7A775C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22IM13.JPG%22%20title%3D%22IM13.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-771458%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20Domain%20to%20the%20Custom%20Domain%20Names%20in%20AAD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-771458%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318231%22%20target%3D%22_blank%22%3E%40ShehzadUIT%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20As%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%20mentioned%2C%20have%20never%20seen%20that%20happening%20in%20my%20experience%2C%20but%20yes%20the%20steps%20mentioned%20by%20you%2C%20should%20do%20the%20trick%20and%20get%20this%20resolved.%3C%2FP%3E%3CP%3E2.%20You%20can%20never%20remove%20a%20domain%20that%20is%20flagged%20as%20Primary%2C%20you%20would%20need%20to%20change%20the%20primary%20domain%20or%20in%20other%20words%20default%20routable%20domain%20to%20something%20else%20or%20domain.onmicrosoft.com%20and%20then%20remove%20the%20custom%20domain.%3C%2FP%3E%3CP%3E3.%20Ensure%2C%20no%20services%20bind%20up%20like%20SIP%2C%20Mailboxes%20associated%20with%20the%20custom%20domain%20name%2C%20to%20ensure%20smooth%20removal.%20Because%20a%20Force%20Removal%20would%20take%20atleast%2024%20hours%20to%20remove%20completely%20from%20backend%20before%20you%20can%20add%20your%20custom%20domain%20again.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%20!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnkit%20Shukla%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
ShehzadUIT
Occasional Contributor

Hi All,

I have a issue:

 

Problem Description: 

We have configured AAD Connect to sync all on prem users to Azure Active directory. The on-prem AD UPN suffix is @technet.org.au and the Azure AD user UPN suffix is @technet.onmicrosoft.com. After the initial sync, I could see all the on-prem users in AAD with the suffix username@technet.onmicrosoft.com. That is when I realized that the custom domain name i.e. technet.org.au wasn’t added to the custom domain names in AAD\Office 365. So I went ahead and registered the custom domain in Office 365. As part of the registration process, it asked to add a TXT record to the DNS service which we did. But it looks like the custom domain is added incorrectly. Instead of technet.org.au, the UPN suffix is: technetorgau.

 

Proposed Solution:

So In order to revert the change, i am thinking i should do this:

  1. Make sure that none of the users’ UPNs are updated to @technetorgau. (Revert it back to @technet.onmicrosoft.com if that is the case)
  2. Delete the domain from the Custom Domain Names
  3. Delete the TXT record from DNS

am i on the right path? 

 

Thanks everyone in advance

3 Replies

Never seen a domain being added "incorrectly" in the fashion you describe, but yes, the steps you outlined should do.

@Vasil Michev Thanks for your response. just for completeness i should add one more step to remediation steps that i posted earlier:

 

before deleting the domain from the Custom domain names, make sure it is not the primary domain as shown:

IM13.JPG

@ShehzadUIT 

1. As @Vasil Michev  mentioned, have never seen that happening in my experience, but yes the steps mentioned by you, should do the trick and get this resolved.

2. You can never remove a domain that is flagged as Primary, you would need to change the primary domain or in other words default routable domain to something else or domain.onmicrosoft.com and then remove the custom domain.

3. Ensure, no services bind up like SIP, Mailboxes associated with the custom domain name, to ensure smooth removal. Because a Force Removal would take atleast 24 hours to remove completely from backend before you can add your custom domain again.

 

Cheers !

 

Ankit Shukla

 

 

Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
36 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies