Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"policyRule": {
"if": {
"allOf": [
{
"field": "location",
"notIn": [ "eastus", "eastus2", "westus", "westus2" ]
},
{
"field": "location",
"notEquals": "global"
},
{
"field": "type",
"notEquals": "Microsoft.AzureActiveDirectory/b2cDirectories"
}
]
},
"then": {
"effect": "deny"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment