Unable to transfer in an App Service Domain with '.nl' top-level domain

Ramon de Klein 1 Reputation point
2021-03-10T09:11:23.63+00:00

I have successfully imported some DNS zones ending with a .org top-level domain using the following code:

$domain = 'example.org'  
$resourceGroup = 'dns'  
$domainTransferCode = '<auth-code-here>';  
  
$resourceProperties = @{  
    'Consent' = @{  
        'AgreementKeys' = @("DNPA","DNTA");  
        'AgreedBy' = ((Invoke-WebRequest ifconfig.me/ip).Content.Trim());  
        'AgreedAt' = (Get-Date -format u);  
    };  
    'authCode' = $domainTransferCode;  
    'Privacy' = 'true';  
    'autoRenew' = 'true';  
}  
ConvertTo-Json -Compress $resourceProperties | Out-File -Encoding UTF8 transferdns.json  
az resource create --name $domain --resource-group $resourceGroup --location 'Global' --resource-type 'Microsoft.DomainRegistration/domains' --api-version '2015-02-01' --properties '@transferdns.json'  

According to the documentation on the Microsoft website it also supports the nl top-level domain:

The following top-level domains are supported by App Service domains: com, net, co.uk, org, nl, in, biz, org.uk, and co.in.

When I try to use the same script and update my domain to example.nl (and also use the proper transfer-code), then I get the following error:

   BadRequestError: Operation failed with status: 'Bad Request'. Details: 400 Client Error: Bad Request for url: https://management.azure.com/subscriptions/xxx/resourcegroups/dns/providers/Microsoft.DomainRegistration/domains/example.nl?api-version=2015-02-01  

It doesn't seem to support to transfer an nl TLD using this script. Maybe I need different agreement keys, privacy options, ... but I can't find any documentation on how to do this.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,971 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,706 Reputation points Moderator
    2021-03-11T15:22:46.243+00:00

    Thanks for asking question! Just to confirm if you are using Powershell script as shown here: http://www.lieben.nu/liebensraum/2017/07/transferring-a-domain-to-azure-dns-and-billing/ for Transferring domain to Azure?

    If so, Transfer of domains to Azure from other registrar is currently not supported. We are actively working to enable this scenario but at present we do not support transferring a domain into Azure. There is no workaround at this moment to transfer-in your domain to App Service domain.

    Let us know if have further question.

    1 person found this answer helpful.

Your answer

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