how to request epp code to move domain from azure

Joseph Yeo 0 Reputation points
2026-11-27T08:07:21.3833333+00:00

how to request epp code to move domain from azure. the only option i see on the advanced management for the domain in azure is the edit contract link

Azure DNS
Azure DNS

An Azure service that enables hosting Domain Name System (DNS) domains in Azure.

0 comments No comments

1 answer

Sort by: Most helpful
  1. SHOUMIK CHAKRAVARTY 1,710 Reputation points
    2026-11-27T15:58:17.8266667+00:00

    Hi @Joseph Yeo , welcome to the Microsoft Azure QnA.

    You are in the right place, and the EPP code is not something you will find in Advanced domain management. There is no Transfer Out button in the portal, but you can retrieve the code yourself from Cloud Shell.

    A couple of prerequisites first.

    Turn off domain privacy.

    From Buy and configure an Azure App Service domain:

    "there are some scenarios, such as transferring the domain out, where you need to disable privacy protection"

    In Advanced domain management (preview), go to the Domain Privacy section and select Disable.

    Before doing that, note the warning on the page:

    "Once you disable privacy protection, you can no longer re-enable privacy protection again."

    Then retrieve the EPP code.

    Open Cloud Shell, switch to PowerShell, and run:

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

    The authCode value in the JSON response is your EPP (authorization) code. Provide that code to your new registrar to start the transfer.

    This approach comes from an earlier Microsoft Q&A thread: Unable to transfer Azure domains to another registrar.

    Two things to check before you start:

    • The domain must generally be at least 60 days old and not recently transferred.
    • A recent change to registrant details can also delay or prevent a transfer.

    Once started, the transfer typically takes around 5 to 7 days to complete.

    If this helps resolve your question, please accept the answer or leave an upvote so others can find it. If not, share any issues you encounter and we can continue troubleshooting.

    Was this answer helpful?

    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.