Share via

Unable to transfer Azure domains to another registrar

ishan saxena 125 Reputation points
2026-04-07T12:56:11.4766667+00:00

Want to transfer domains from Azure account which are registered with Wild West Domains(Azure itself), however unable to find a transfer code to support moving the domain registrar.

How to obtain transfer code support moving the domain registrar?

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Praneeth Maddali 7,085 Reputation points Microsoft External Staff Moderator
    2026-04-07T14:38:30.25+00:00

    hi @ishan saxena

    Thanks to tp for the answer,
    adding few points to it

    Thanks for reaching out about transferring your Azure App Service domain (registered through Wild West Domains) to another registrar. I understand it's tricky since there's no direct "transfer out" button in the portal.

    we can easily get the authorization (EPP/transfer) code yourself using Azure Cloud Shell. Here's exactly how:

    Quick Steps to Get Your Transfer Code:

    1. Disable Domain Privacy (required for transfer) Go to your App Service Domain in the Azure portal >Advanced domain management (preview) >Turn Domain Privacy off.
    2. Retrieve the Auth Code Open Cloud Shell in the Azure portal (top-right shell icon) and switch to PowerShell. Run this command (replace the placeholders with your details): PowerShell
         Invoke-AzRestMethod -Path "/subscriptions/<SUBSCRIPTION-ID>/resourceGroups/<RESOURCE-GROUP-NAME>/providers/Microsoft.DomainRegistration/domains/<DOMAIN-NAME>/transferout?api-version=2021-02-01" -Method PUT
      
      In the JSON output, look for the authCode value — that's your transfer code. Provide this code to your new registrar when starting the transfer. They'll handle the rest (usually takes 5–7 days).

    Important notes:

    • The domain must be at least 60 days old and not recently updated (registrant info or previous transfer).
    • After the transfer completes, the domain will be removed from your Azure resources.

    reference:

    https://azure.github.io/AppService/2021/09/22/2021-Managing-ASD.html

    User's image

    User's image

    https://learn.microsoft.com/en-us/azure/app-service/manage-custom-dns-buy-domain

    If the answer is helpful,  Please do click "Accept the answer” and Yes, this can be beneficial to other community members.

    If you have any other questions, let me know in the "comments" and I would be happy to help you

    0 comments No comments

  2. TP 155.2K Reputation points Volunteer Moderator
    2026-04-07T12:58:39.52+00:00

    Hi,

    To transfer to different registrar you will need authorization code. You may open Azure Cloud Shell (PowerShell mode) and execute command similar to below from App Service team blog (replace subscription id, resource group, domain name):

    Invoke-AzRestMethod -Path "/subscriptions/<SUBSCRIPTION-ID>/resourceGroups/<RESOURCE-GROUP-NAME>/providers/Microsoft.DomainRegistration/domains/<DOMAIN-NAME>/transferout?api-version=2021-02-01" -Method PUT
    
    

    In the output from the command, you need authCode, which is what you will provide the new domain registrar when requesting transfer in.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    0 comments No comments

  3. Q&A Assist
    2026-04-07T12:56:34.1666667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    For Azure App Service–managed domains (registered via Wild West Domains through Azure), the transfer authorization (EPP/Auth) code is obtained by initiating a “transfer out” operation on the App Service domain resource.

    There are two main ways to do this, depending on how the domain is being managed.

    1. Using Azure SDK / ARM (App Service domain resource)

    For an App Service domain resource (Microsoft.DomainRegistration/domains), call the transferOut operation. This marks the domain for transfer to another registrar and returns the updated domain resource, which includes the transfer details (including the authorization code where applicable):

    • .NET (Azure.ResourceManager.AppService):
        // domainResource is an AppServiceDomainResource
        var response = await domainResource.TransferOutAsync();
        var transferredDomain = response.Value; // inspect properties for transfer details
      
      This uses the AppServiceDomainResource.TransferOutAsync method, which calls: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferOut.
    • JavaScript/TypeScript (@azure/arm-domainregistration):
        const result = await client.domains.transferOut(
          resourceGroupName,
          domainName,
          options
        );
        // result is a Domain object with transfer-out info
      
    • Python (azure-mgmt-web):
        result = await client.domains.transfer_out(
            resource_group_name=resource_group_name,
            domain_name=domain_name,
        )
        # result is a Domain model with transfer-out info
      

    After transferOut succeeds, use the returned domain data (or the portal view of the domain, if exposed there) to retrieve the authorization/EPP code and provide it to the new registrar when initiating the transfer.

    1. If the domain is a Microsoft 365–purchased domain (also using Wild West Domains)

    If the domain is purchased and managed through Microsoft 365 (rather than Azure App Service), the transfer code is obtained from the Microsoft 365 admin center:

    1. In the Microsoft 365 admin center, go to Settings > Domains.
    2. Select the domain to transfer and choose Check health.
    3. At the top, select Transfer domain.
    4. Choose A different registrar and proceed.
    5. On Unlock domain transfer, select Unlock transfer for <your domain>.
    6. Continue through the wizard; an authorization code is displayed.
    7. Copy this authorization code and provide it to the new registrar when starting the transfer.

    The authorization code can also be found later on the Registration tab for the domain in the Microsoft 365 admin center.

    Once the code is provided to the new registrar and the transfer completes, renewals and DNS management move to the new registrar.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.