Created
September 28, 2019 11:58
-
-
Save goyalmohit/0cd4506d8150a5ed7f04759f4d47463f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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