Azure / Azure/azure-rest-api-specs

Getting 'The parameter domain.Properties.Consent has an invalid value.' when trying to transfer a domain into Azure

Open
#8,174 3 comments 0 reactions 0 assignees View on GitHub
App Services bug customer-reported Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

Following the specs documented, we are getting 'The parameter domain.Properties.Consent has an invalid value.' when trying to transfer a domain into our Azure account. We are using ARM templates for the deployment. No matter what we do, we can not figure out what is invalid with the consent property.

Here is the content of the arm resource. What is not correct?
```json
{
"name": "hxxxxxr.net",
"type": "Microsoft.DomainRegistration/domains",
"apiVersion": "2015-02-01",
"dependsOn": [
"Microsoft.Network/dnszones/hxxxxxr.net"
],
"location": "global",
"Properties": {
"Consent": {
"AgreementKeys": [
"DNPA",
"DNTA"
],
"AgreedBy": "76.x.x.x",
"AgreedAt": "2020-01-16T21:18:00Z"
},
"ContactAdmin": {
"AddressMailing": {
"Address1": "111 xxx",
"Address2": "Suite 6",
"City": "Hxxx",
"Country": "US",
"PostalCode": "76xxx",
"State": "TX"
},
"Email": "DomainAdmin@hxxxxxr.net",
"Fax": "",
"JobTitle": "",
"NameFirst": "Domain",
"NameLast": "Admin",
"NameMiddle": "",
"Organization": "Mxxx",
"Phone": "+1.8xxx1234"
},
"ContactBilling": {
"AddressMailing": {
"Address1": "111 xxx",
"Address2": "Suite 6",
"City": "Hxxx",
"Country": "US",
"PostalCode": "76xxx",
"State": "TX"
},
"Email": "DomainAdmin@hxxxxxr.net",
"Fax": "",
"JobTitle": "",
"NameFirst": "Domain",
"NameLast": "Admin",
"NameMiddle": "",
"Organization": "Mxxx",
"Phone": "+1.8xxx1234"
},
"ContactRegistrant": {
"AddressMailing": {
"Address1": "111 xxx",
"Address2": "Suite 6",
"City": "Hxxx",
"Country": "US",
"PostalCode": "76xxx",
"State": "TX"
},
"Email": "DomainAdmin@hxxxxxr.net",
"Fax": "",
"JobTitle": "",
"NameFirst": "Domain",
"NameLast": "Admin",
"NameMiddle": "",
"Organization": "Mxxx",
"Phone": "+1.8xxx1234"
},
"ContactTech": {
"AddressMailing": {
"Address1": "111 xxx",
"Address2": "Suite 6",
"City": "Hxxx",
"Country": "US",
"PostalCode": "76xxx",
"State": "TX"
},
"Email": "DomainAdmin@hxxxxxr.net",
"Fax": "",
"JobTitle": "",
"NameFirst": "Domain",
"NameLast": "Admin",
"NameMiddle": "",
"Organization": "Mxxx",
"Phone": "+1.8xxx1234"
},
"privacy": false,
"autoRenew": false,
"targetDnsType": "AzureDns",
"dnsZoneId": "[resourceId('Microsoft.Network/dnsZones', 'hxxxxxr.net')]",
"authCode": "Zig9zxxxxx"
}
```

Contributor guide

Open the contributing guide

Research direction

No repository file or test is named; start by comparing the ARM resource in the report with the Azure domain-registration API specification for the 2015-02-01 version. Done means identifying whether the Consent payload or the specification is invalid and documenting a reproducible correction or clarification.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.