Transfer domains Azure
Transfer domains Azure
Azure

Transfer Azure Domain

Hi team, great to have you here again.

I’m writing this article to share a recent experience I had with Azure App Service Domains. Let me begin by describing my issue:

A few years ago, I created an Azure Web App to host a WordPress site. However, the cost of maintaining the site on Azure was too high, so I decided to transfer the hosting to another provider. Recently, my NS records were not updating, which caused my Office 365 services and website to go down. The solution provided by the new host was to add specific NS records, such as «123» and «345.» However, when I attempted to update these records in Azure, I discovered that it is not possible to change the NS records created by Microsoft’s DNS Zone. This led to complications, and I explored various solutions. Unfortunately, as of 2024, it appears that only Microsoft’s support team can make these changes. The only way I found to gain control of my DNS zone and update the NS records was by transferring the domain out of Azure. This article will describe that process.

First, to transfer a domain, you need to obtain the authorization (Auth) code associated with your domain. This is the first step you should take. Below, I will outline the best method I found for retrieving the Auth code.

Exceptions for Transferring a Domain Out

You will not be able to transfer your domain out within 60 days of the following events:
– A new domain registration
– A transfer between different registrars
– A change to the registrant contact information
Make sure to consider these timelines when planning your domain transfer.

PowerShell to get Auth code from Azure App Service Domain

Currently, there is no first-class PowerShell support for transferring domains out of Azure. However, you can use the following command to retrieve your authorization code:

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

Using Cloud Shell

Get Auth Code from Azure Domain Service

Get Auth Code from Azure Domain Service

If you encounter issues running the command in your local PowerShell, consider using Cloud Shell on the Azure Portal. You can access Cloud Shell from the top right corner of the Azure Portal. Once the Cloud Shell window appears, ensure that it displays “PowerShell” in the top left corner; if it says “Bash,” switch to “PowerShell.”
Copy and paste the command above, filling in the necessary information between the “<” and “>” brackets, then press Enter to execute the command.

What is an Authorization Code?

The authorization code is a unique string of characters that includes letters, numbers, and special characters (e.g., ?, !, ^). This code is required to transfer a domain from one registrar to another. It serves as a security measure to ensure that only the authorized owner can initiate the transfer.

Transferring a Domain In

Transferring a domain into Azure is currently not supported. Any attempts to transfer a domain into Azure may result in the domain becoming inaccessible or in a broken state. Please note that support will not be provided to rectify domains affected by this unsupported transfer scenario. It is advisable to refrain from attempting this transfer until official support is available.

Que te pareció el contenido?

Excelente
0
Estoy Feliz
0
Lo amé
0
No lo se
0
Quiero ver más
0

You may also like

Leave a reply

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *