Insufficient Permissions on Azure Automation account when Owner

Johan Öberg 0 Reputation points
2025-01-09T12:35:46.4+00:00

Hi,

I've had this problem occurring a few times now and it is rather frustrating.

I escalate permissions through PIM to be Owner of a sub where the Automation Account is located. When trying to do anything in the aa I only get this message.

User's image

This is the permissions in IAM
User's image

Has anyone had the same problem when using PIM to escalate permissions in Subscriptions?

Best Regards

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,289 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pranay Reddy Madireddy 1,395 Reputation points Microsoft Vendor
    2025-01-09T23:08:40.44+00:00

    Hi Johan Öberg

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    Verify that the Automation Account has the necessary permissions at the resource group level in which it operates, with a minimum of the Contributor role assigned.

    Verify that the Automation Account possesses the required permissions for the specific resources it manages, such as virtual machines and storage accounts.

    Create a simple runbook that retrieves information about a virtual machine. If this runbook runs successfully, it means the problem might be with a specific runbook or its setup.

    For reference, please review this documentation :-
    https://learn.microsoft.com/en-us/azure/automation/troubleshoot/runbooks
    https://learn.microsoft.com/en-us/azure/automation/troubleshoot/managed-identity

    If you have any further queries, do let us know.


    If the answer is helpful, please and "Upvote it".


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.