Skip to content

Commit 78c6ca6

Browse files
committed
Open scope text, delete powershell example output
1 parent ca60395 commit 78c6ca6

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

articles/role-based-access-control/deny-assignments.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ To get information about a deny assignment, you must have:
9393

9494
Follow these steps to list deny assignments at the subscription or management group scope.
9595

96-
1. In the Azure portal, select **All services** and then **Management groups** or **Subscriptions**.
97-
98-
1. Select the management group or subscription you want to list.
96+
1. In the Azure portal, open the selected scope, such as resource group or subscription.
9997

10098
1. Select **Access control (IAM)**.
10199

@@ -240,10 +238,6 @@ To list all deny assignments at a subscription scope, use [Get-AzDenyAssignment]
240238
Get-AzDenyAssignment -Scope /subscriptions/<subscription_id>
241239
```
242240

243-
```Example
244-
PS C:\> Get-AzDenyAssignment -Scope /subscriptions/11111111-1111-1111-1111-111111111111
245-
```
246-
247241
# [REST API](#tab/rest)
248242

249243
### Prerequisites

0 commit comments

Comments
 (0)