'privateDnsZoneGroups/default has invalid private dns zone ids

I'm getting the below error while creating the Azure Automation account.

Can you please assist with this? error

{ "status": "Failed", "error": { "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.", "details": [ { "code": "BadRequest", "message": "{\r\n "error": {\r\n "code": "InvalidPrivateDnsZoneIds",\r\n "message": "Private Dns Zone group /subscriptions/012a3201-bf61-4cd6-b0cb-05213d7410b4/resourceGroups/AzureAutomation/providers/Microsoft.Network/privateEndpoints/AVD-Auto/privateDnsZoneGroups/default has invalid private dns zone ids .",\r\n "details": []\r\n }\r\n}" } ] } }



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source