Skip to content

Commit d015312

Browse files
committed
Acrolinx
1 parent 4df6aa1 commit d015312

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: role-based-access-control
77
ms.subservice: conditions
88
ms.topic: troubleshooting
99
ms.custom: devx-track-azurepowershell, devx-track-azurecli
10-
ms.date: 11/15/2023
10+
ms.date: 02/27/2024
1111
ms.author: rolyon
1212
---
1313

@@ -27,7 +27,7 @@ Ensure that the security principals don't have multiple role assignments (with o
2727

2828
**Cause 2**
2929

30-
Your role assignment has multiple actions that grant a permission and your condition does not target all the actions. For example, you can create a blob if you have either `/blobs/write` or `/blobs/add/action` data actions. If your role assignment has both data actions and you target only one of them in a condition, the role assignment will grant the permission to create blobs and bypass the condition.
30+
Your role assignment has multiple actions that grant a permission and your condition doesn't target all the actions. For example, you can create a blob if you have either `/blobs/write` or `/blobs/add/action` data actions. If your role assignment has both data actions and you target only one of them in a condition, the role assignment will grant the permission to create blobs and bypass the condition.
3131

3232
**Solution 2**
3333

@@ -57,7 +57,7 @@ Set `conditionVersion` property to "2.0".
5757

5858
**Cause 2**
5959

60-
Your condition is not formatted correctly.
60+
Your condition isn't formatted correctly.
6161

6262
**Solution 2**
6363

@@ -67,7 +67,7 @@ Fix any [condition format or syntax](conditions-format.md) issues. Alternatively
6767

6868
### Symptom - Principal does not appear in Attribute source
6969

70-
When you try to add a role assignment with a condition, **Principal** does not appear in the **Attribute source** list.
70+
When you try to add a role assignment with a condition, **Principal** doesn't appear in the **Attribute source** list.
7171

7272
![Screenshot showing Principal in Attribute source list when adding a condition.](./media/conditions-troubleshoot/condition-principal-attribute-source.png)
7373

@@ -182,7 +182,7 @@ When you make edits in the code editor and then switch to the visual editor, you
182182

183183
**Cause**
184184

185-
The specified attribute is not available in the current scope, such as using `Version ID` in a storage account with hierarchical namespace enabled.
185+
The specified attribute isn't available in the current scope, such as using `Version ID` in a storage account with hierarchical namespace enabled.
186186

187187
**Solution**
188188

@@ -196,7 +196,7 @@ When you make edits in the code editor and then switch to the visual editor, you
196196

197197
**Cause**
198198

199-
The specified attribute is not recognized, possibly because of a typo.
199+
The specified attribute isn't recognized, possibly because of a typo.
200200

201201
**Solution**
202202

@@ -210,7 +210,7 @@ When you make edits in the code editor and then switch to the visual editor, you
210210

211211
**Cause**
212212

213-
The right side of the expression contains an attribute or value that is not valid.
213+
The right side of the expression contains an attribute or value that isn't valid.
214214

215215
**Solution**
216216

@@ -224,7 +224,7 @@ When you remove all of the actions in the visual editor, you get the following m
224224

225225
**Cause**
226226

227-
There is an existing expression, but no actions have been selected as a target.
227+
There's an existing expression, but no actions have been selected as a target.
228228

229229
**Solution**
230230

@@ -252,7 +252,7 @@ When you attempt to add an expression, you get the following message:
252252

253253
**Cause**
254254

255-
One or more role definition IDs that you attempted to add for the [Role definition ID](conditions-authorization-actions-attributes.md#role-definition-id) attribute was not found or does not have the correct GUID format: `00000000-0000-0000-0000-000000000000`.
255+
One or more role definition IDs that you attempted to add for the [Role definition ID](conditions-authorization-actions-attributes.md#role-definition-id) attribute wasn't found or doesn't have the correct GUID format: `00000000-0000-0000-0000-000000000000`.
256256

257257
**Solution**
258258

@@ -266,7 +266,7 @@ When you attempt to add an expression, you get the following message:
266266

267267
**Cause**
268268

269-
One or more principal IDs that you attempted to add for the [Principal ID](conditions-authorization-actions-attributes.md#principal-id) attribute was not found or does not have the correct GUID format: `00000000-0000-0000-0000-000000000000`.
269+
One or more principal IDs that you attempted to add for the [Principal ID](conditions-authorization-actions-attributes.md#principal-id) attribute wasn't found or doesn't have the correct GUID format: `00000000-0000-0000-0000-000000000000`.
270270

271271
**Solution**
272272

@@ -299,13 +299,13 @@ $condition = "((!(ActionMatches{'Microsoft.Storage/storageAccounts/blobServices/
299299

300300
**Cause**
301301

302-
If you use PowerShell and copy a condition from a document, it might include special characters that cause the following error. Some editors (such as Microsoft Word) add control characters when formatting text that does not appear.
302+
If you use PowerShell and copy a condition from a document, it might include special characters that cause the following error. Some editors (such as Microsoft Word) add control characters when formatting text that doesn't appear.
303303

304304
`The given role assignment condition is invalid.`
305305

306306
**Solution**
307307

308-
If you copied a condition from a rich text editor and you are certain the condition is correct, delete all spaces and returns and then add back the relevant spaces. Alternatively, use a plain text editor or a code editor, such as Visual Studio Code.
308+
If you copied a condition from a rich text editor and you're certain the condition is correct, delete all spaces and returns and then add back the relevant spaces. Alternatively, use a plain text editor or a code editor, such as Visual Studio Code.
309309

310310
## Error messages in Azure CLI
311311

@@ -337,7 +337,7 @@ When you try to add a role assignment with a condition using Azure CLI, you get
337337

338338
**Cause**
339339

340-
You are likely using an earlier version of Azure CLI that does not support role assignment condition parameters.
340+
You're likely using an earlier version of Azure CLI that doesn't support role assignment condition parameters.
341341

342342
**Solution**
343343

0 commit comments

Comments
 (0)