question

Veyselddd-5908 avatar image
0 Votes"
Veyselddd-5908 asked ·

Error |Transfer domain to another Azure account

I'm going to transfer my domains and I get errors all the time.

9263-1.png


9213-2.png


azure-ad-b2c
1.png (14.6 KiB)
2.png (13.5 KiB)
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered ·

Hi @Veyselddd-5908

  • If the domain is federated, you need to convert the domain to standard by Running below cmdlet on the ADFS Server:

Convert-MsolDomainToStandard -DomainName your-domain.net -SkipUserConversion:$true -PasswordFile C:\pwd.txt

  • If AD Connect is synchronizing users with UPN suffix of your-domain.net, disable directory synchronization by using below cmdlet:

Set-MsolDirSyncEnabled -EnableDirSync $false

Get-MsolUser -All | foreach {Set-MsolUserPrincipalName -ObjectId $_.ObjectId -NewUserPrincipalName ($_.UserPrincipalName.Split(“@”)[0] + “@your-tenant.onmicrosoft.com”)}

Get-DistributionGroup -ResultSize Unlimited | ForEach {Set-DistributionGroup -Identity $_.Name -primarysmtpaddress ($_.primarysmtpaddress.Split(“@”)[0] + “@your-tenant.onmicrosoft.com”)}

  • Run below cmdlet to confirm if no user is using your-domain.net in email address:

Get-MsolUser -DomainName labhh.com -all

If any user is still using the custom domain, change/remove that.

  • Now you can try transferring the domain again. Alternatively, you can remove the domain by using below cmdlet and add it to another tenant.

Remove-MsolDomain -DomainName your-domain.net -Force


Please do not forget to "Accept the answer" wherever the information provided helps you. This will help others in the community as well.









· 2 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Veyselddd-5908
Have you had a chance to test these steps?

0 Votes 0 ·

Unfortunately I do not understand: (can you tell with Video ? or remote connection ?

0 Votes 0 ·