Skip to content

Commit 04ca7e8

Browse files
authored
Merge pull request #119450 from h2floh/h2floh/119449/abac_troubleshoot
When conditionVersion is accidentially set to 1.0: "The given role assignment condition is invalid."
2 parents b615660 + 56e6141 commit 04ca7e8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

articles/role-based-access-control/conditions-troubleshoot.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,19 @@ When you try to add a role assignment with a condition, you get an error similar
4848

4949
`The given role assignment condition is invalid.`
5050

51-
**Cause**
51+
**Cause 1**
52+
53+
The `conditionVersion` property is set to "1.0".
54+
55+
**Solution 1**
56+
57+
Set `conditionVersion` property to "2.0".
58+
59+
**Cause 2**
5260

5361
Your condition is not formatted correctly.
5462

55-
**Solution**
63+
**Solution 2**
5664

5765
Fix any [condition format or syntax](conditions-format.md) issues. Alternatively, add the condition using the [visual editor in the Azure portal](conditions-role-assignments-portal.md).
5866

0 commit comments

Comments
 (0)