An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
Hello Cumar, it sounds like you’re trying to scope a built-in tagging policy to just one resource group in the portal, but the Scope picker isn’t letting you pick it. Here’s what you can check and try:
- Verify your permissions – You need at least Policy Contributor or Owner on the subscription (or the resource group) to assign policies. – If you only have Reader on the subscription, the Scope ellipsis will be disabled or your RG won’t show up.
- Confirm the policy definition can be assigned at RG scope – Built-in policies can generally be assigned at subscription, resource group, or resource scopes, but if a policy was defined at a management group you may only be able to assign it at or above that level.
- Use a different browser or clear cache – Occasionally the portal UI misbehaves. Try an incognito window or clear your browser cache to see if the Scope picker re-appears.
- Assign via CLI or PowerShell as a workaround If the portal still won’t let you pick the RG, you can directly assign the policy at the RG scope: Azure CLI example:
PowerShell example:az policy assignment create \ --name require-tags-on-rg \ --scope /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName> \ --policy /providers/Microsoft.Authorization/policyDefinitions/<policyDefinitionId> \ --params '{ "tagName": { "value": "Environment" } }'New-AzPolicyAssignment ` -Name "require-tags-on-rg" ` -Scope "/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>" ` -PolicyDefinitionId "/providers/Microsoft.Authorization/policyDefinitions/<policyDefinitionId>" ` -PolicyParameterObject @{ "tagName" = @{ "value" = "Environment" } } - Double-check you’re in the right blade – In the portal go to Policy > Assignments > + Assign Policy – Under Scope, click the ellipsis (…) next to the Subscription box, then drill down to your RG.
If none of that helps, could you share:
- The exact policy you’re trying to assign (name or definition ID)
- What you see (or don’t see) when you click the Scope ellipsis
- Any error messages you get when you hover over or click the picker
Hope that gets you unblocked!
Reference list:
- Understand scope in Azure Policy https://learn.microsoft.com/azure/governance/policy/concepts/scope
- New-AzPolicyAssignment (PowerShell) https://learn.microsoft.com/powershell/module/az.resources/new-azpolicyassignment
- Assign a policy with Azure CLI https://learn.microsoft.com/azure/governance/policy/tutorials/create-and-manage#assign-the-policy
- Troubleshoot “Resource creation was disallowed by policy” https://learn.microsoft.com/azure/governance/policy/troubleshoot/general#requestdisallowedbypolicy-error