Can not perform requested operation on nested resource. Parent resource '****.io' not found

Viewed 5407

I want to set a new DNS record on my App Service. After the deployment step in my release pipeline: (I've formatted it for easy reading)

New-AzDnsRecordSet 
    -Name "e*****e.staging" 
    -ZoneName e***d.io 
    -ResourceGroupName c***2 
    -RecordType A 
    -Ttl 600 
    -DnsRecords (New-AzDnsRecordConfig -IPv4Address **.**.***.57)

When the script runs I get a:

Can not perform requested operation on nested resource. Parent resource 'e***.io' not found.

Any suggestions what I forgot to configure?

1 Answers

this means your dns zone doesnt exist, is called differently, is in another resource group\subscription or you dont have rights to modify it. Something along those lines.

Recheck your inputs

Related