Cannot remove corporate domain from my subscrition - cannot kill the account or remove subscription

Godel Chen 21 Reputation points

My old Azure account is which use as alias, however, i would like to use this corporate domain name on my another paid account, which is, and already verified the Domain ownership, however, Domain removed failed.

Error message shows it found dependencies of this domain to two emails and two alias, i cannot find those emails and alias, neither can i cancel the subscription, now stucked.

Would you please kindly help me to remove the old and release the corporate domain name, so i can use it on

Many thanks in advance.

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,707 questions
No comments
{count} votes

9 answers

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 55,226 Reputation points

    @Godel Chen You can use below commands to identify the users who are using domain name.

    1. Run Connect-AzureAD and sign-in using Global Administrator account. Then run below commands:
    2. Get-AzureADUser | Where-Object {$_.UserPrincipalName -like "*"}
    3. Get-AzureADUser | Where-Object {$_.mail -like "*"}
    4. Get-AzureADUser | Where-Object {$_.ProxyAddresses -like "*"}

    You can run Get-AzureADGroup with above filters to find the groups which are using domain name in the mail or proxyaddresses attributes as well. You can update or remove the users/groups that are using the verified domain and try to remove verified domain using below cmdlet:

    1. Run Connect-MsolService and sign-in using Global Admin account. Then run below command:
    2. Remove-MsolDomain -DomainName "" -Force

    If you still face any issues, try removing the verified domain from as it provides more error details than Azure Portal.


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

    No comments

  2. Godel Chen 21 Reputation points

    I cannot run, all failed.

    Get-AzureADUser | Where-Object {$_.UserPrincipalName -like "*"}

    Get-AzureADUser | Where-Object {$_.mail -like "*"}

    Get-AzureADUser | Where-Object {$_.ProxyAddresses -like "*"}

    No comments

  3. Godel Chen 21 Reputation points

    Can you just delete this account for me??

    No comments

  4. Godel Chen 21 Reputation points

    Spend huge hours on this simple delete domain stuff, so worn out.

    No comments

  5. Godel Chen 21 Reputation points

    I know which email but just cannot delete them.

    No comments