Since a while, we could order and manage custom domain names from Azure. The missing part of this service was the ability to transfer a domain name from another registrar to Azure. I mean, not only DNS, but migrate the billing and ownership to Azure. Let’s see how to do this !
The domain must be older than 60 days and unlocked.
Go to yout registrar and get the transfer authorization code. 💡 Check that the domain is unlocked for transfer.
Get Powershell scripts
You can get the source code of the Powershell script via your browser or git clone https://github.com/CatchRetry/azure-domain-transfer
- Close all other PowerShell windows and start a new one as an administrator.
- Navigate to the script directory and run the PS script:
cd "C:\...\azure-domain-transfer" .\DomainTransfer.ps1
When you get the confirmation email. Click the confirmation button Now you have to wait up to 5-7 days for the transfer to be complete.
Some registrar let the owner of the domain cancel or confirm the transfer. It allows the operation to be completed before the 5-7 days.
Wait and check the resource to be fullly available in you Azure portal.