An Azure service that provides cloud-scale job scheduling and compute management.
deploying Microsoft.Authorization/denyAssignments@2024-07-01-preview at resource group scope using ARM/Bicep.
We are deploying Microsoft.Authorization/denyAssignments@2024-07-01-preview at resource group scope using ARM/Bicep.
The template compiles successfully, but deployment fails with:
Code:
UserAssignedDenyAssignmentsNotSupported
Message:
User assigned deny assignments are not allowed for current subscription.
Request:
Please confirm whether this subscription can be enabled/allowlisted for user-assigned deny assignments using Microsoft.Authorization/denyAssignments@2024-07-01-preview, or confirm that this capability is unavailable and only Azure-managed d
eny assignments through Deployment Stacks are supported.
Business reason:
We need to create a deny assignment with All Principals, excluded service principals/users, Actions *, DataActions *, and a specific NotActions allowlist to match an existing security control.