Cannot Edit DNS Records in My Azure Portal .. it states user does not have authorisation

Aaron D. Colbran 20 Reputation points
2023-08-03T01:41:13.9333333+00:00

I supposedly have issues with my dmarc records. Something trivial about double quotes in the Azure DNS dmarc records. Never an issue before but it is now probably because of random changes to security that get implemented but nobody is ever told about them

I cannot edit DNS Zone records. The error I get "Failed to save record ... user does not have authorisation" . I added myself to "Domain Services Contributor" but no change. Is there a role I need to assign to have 100% edit access to ALL of my DNS Zone entries?

The tags for this are irrelevant. This binding of 5 tags for hundreds of unrelated options makes no sense

Thankyou for your time

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,217 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
979 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,652 questions
Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. RevelinoB 3,675 Reputation points
    2023-08-03T03:56:44.8333333+00:00

    Hi Aaron,

    I understand your frustration. Dealing with DNS records and permissions can be challenging, especially when changes seem to happen without prior notice. Let's me try to address the issue with your DMARC records and the "Failed to save record" error in Azure DNS.

    1. DMARC Records: Regarding the double quotes issue in your DMARC records, it's crucial to ensure that the syntax is correct. DMARC records are typically TXT records in your DNS zone, and the DMARC policy is defined within double quotes. Here's an example of a DMARC record:
    cssCopy code
    _dmarc.yourdomain.com. IN TXT "v=DMARC1; p=quarantine; rua=mailto:your.email@example.com; ruf=mailto:your.email@example.com;"
    

    Ensure that you have the correct syntax for your DMARC policy and that it is enclosed within double quotes.

    1. DNS Zone Record Editing: If you are facing the "Failed to save record ... user does not have authorization" error when trying to edit DNS zone records in Azure, it could be related to permission issues.

    You mentioned that you added yourself to the "Domain Services Contributor" role, but it didn't resolve the problem. In Azure, the "Domain Services Contributor" role grants permissions to manage Azure Active Directory Domain Services, but it might not be sufficient for DNS zone record editing.

    To have full edit access to ALL DNS zone entries, you need to be assigned the "DNS Zone Contributor" role. This role specifically provides permissions to manage DNS zones in Azure. Here's how you can assign the role:

    Go to the Azure portal (https://portal.azure.com) and sign in with an account that has sufficient permissions to manage IAM roles.

    Navigate to your DNS zone resource.

    Click on the "Access control (IAM)" tab.

    Click on the "+ Add role assignment" button.

    In the "Add role assignment" pane, select the "DNS Zone Contributor" role from the "Role" drop-down list.

    In the "Assign access to" section, search for and select your account or the appropriate Azure AD group you want to assign the role to.

    Click on the "Save" button to add the role assignment.

    After the role assignment is completed, you should have full edit access to the DNS zone records. If you're still facing issues after being assigned the correct role, it's recommended to contact your Azure administrator or support team to investigate further.

    Regarding the tags and their relevance, I understand your concern. Tags are used for organizational purposes, and their specific use can vary between different systems and workflows.

    I hope this information helps you resolve the issues you're facing. If you have any more questions or need further assistance, feel free to ask.

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.