Give Sentinel permissions to run playbooks Failure

DA512 20 Reputation points
2024-02-12T19:14:58.5+00:00

Hello, I'm unable to assign a playbook to an automation rule that I've created in Azure sentinel, du to lack of permissions. The error message is the following :

Successfully added permissions to 0 of 1 resource groups. Failure reason: The client 'abeadmin@abetenant.onmicrosoft.com' with object id '000003-d0004-40003-a005-e00000000f5f' has an authorization with ABAC condition that is not fulfilled to perform action 'Microsoft.Authorization/roleAssignments/write' over scope '/subscriptions/8000000f-a00e-4001-8007-d0000000000004/resourceGroups/SB_Learn_Lab/providers/Microsoft.Authorization/roleAssignments/000000f4-000d-4005-b00b-f0000000000b' or the scope is invalid. If access was recently granted, please refresh your credentials.

When I try the option : Give Sentinel permissions to run playbooks under Azure Sentinel Automation page, I get the same error message.

Microsoft Sentinel
Microsoft Sentinel
A scalable, cloud-native solution for security information event management and security orchestration automated response. Previously known as Azure Sentinel.
977 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,371 Reputation points Microsoft Employee
    2024-02-13T20:31:46.9833333+00:00

    @DA512

    Thank you for your post!

    Error Message:
    The client 'ab...@tenant.onmicrosoft.com' with object id '....00' has an authorization with ABAC condition that is not fulfilled to perform action 'Microsoft.Authorization/roleAssignments/write' over scope ... or the scope is invalid...

    From your error message, it seems like you are having trouble assigning a playbook to an automation rule in Azure Sentinel due to lack of permissions. The error is indicating that the user abeadmin doesn't have the necessary authorization to perform the action ../roleAssignments/write over the specified scope.

    To resolve your issue, please ensure that the user (abeadmin) has the appropriate Microsoft Sentinel Automation Contributor role assigned at the resource group level where the playbook resides.

    User's image

    If you aren't able to assign the Microsoft Sentinel Contributor role, please make sure you're using a user with the Owner role within the resource group to which you want to grant Microsoft Sentinel permissions.

    • Note: If you don't have the appropriate permissions to assign the appropriate RBAC roles, I'd recommend reaching out to an Owner or Contributor within your Subscription to get the appropriate roles assigned.

    For more info - Incident creation automated response

    User's image

    Additional Links:

    I hope this helps!

    If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.


    If the information helped address your question, please Accept the answer. This will help us and also improve searchability for others in the community who might be researching similar information.