Azure DNS PTR creation failed in Cloud Assembly in Aria Automation
search cancel

Azure DNS PTR creation failed in Cloud Assembly in Aria Automation

book

Article ID: 374325

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Attempting to create PTR records using custom Azure DNS PTR resources within private DNS zones on Azure may encounter errors.

Environment

Aria Automation 8.x

Cause

When creating a PTR record in a private DNS zone on Azure, we might see the following error:

 

dns.RecordSetsClient#CreateOrUpdate: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client 'client_id' with object id 'object_id' does not have authorization to perform action 'Microsoft.Network/dnsZones/PTR/write' over scope '/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/dnsZones/zone_name/PTR/record_name' or the scope is invalid. If access was recently granted, please refresh your credentials."



The error indicates that the API call is directed at `Microsoft.Network/dnsZones` instead of `privateDnsZones`, and that the client lacks the necessary authorization.

Resolution

There is no workaround available.

Private DNS zones are not currently supported in Aria Automation.