Skip to content

Commit

Permalink
status (#3403)
Browse files Browse the repository at this point in the history
  • Loading branch information
meganbradley authored Dec 2, 2024
1 parent 7152536 commit bf7d5a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ Add the administrator for root collection associated with this account.

### Example 1: Add the administrator for root collection
```powershell
Add-AzPurviewAccountRootCollectionAdmin -AccountName test-pa -ResourceGroupName test-rg -ObjectId xxxxxxxx-5be9-4f43-abd2-04561777c8b0
Add-AzPurviewAccountRootCollectionAdmin -AccountName test-pa -ResourceGroupName test-rg -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
```

Add the administrator for root collection associated with the account named 'test-pa'.

### Example 2: Add the administrator for root collection by InputObject
```powershell
$got = Get-AzPurviewAccount -Name test-pa -ResourceGroupName test-rg
Add-AzPurviewAccountRootCollectionAdmin -InputObject $got -ObjectId xxxxxxxx-5be9-4f43-abd2-04561777c8b0
Add-AzPurviewAccountRootCollectionAdmin -InputObject $got -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
```

Add the administrator for root collection associated with the account named 'test-pa' by InputObject.
Expand Down
16 changes: 8 additions & 8 deletions azps-13.0.0/Az.Purview/Update-AzPurviewAccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ FriendlyName : test-pa
Id : /subscriptions/xxxxxxxx-1bf0-4dda-aec3-cb9272f09590/resourceGroups/test-rg/providers/Microsoft.Purview/a
ccounts/test-pa
Identity : {
"principalId": "xxxxxxxx-7956-4978-87e8-9ddd82cfe2b7",
"tenantId": "xxxxxxxx-38d6-4fb2-bad9-b7b93a3e9c5a",
"principalId": "aaaaaaaa-bbbb-cccc-1111-222222222222",
"tenantId": "aaaabbbb-0000-cccc-1111-dddd2222eeee",
"type": "SystemAssigned"
}
IdentityPrincipalId : xxxxxxxx-7956-4978-87e8-9ddd82cfe2b7
IdentityTenantId : xxxxxxxx-38d6-4fb2-bad9-b7b93a3e9c5a
IdentityPrincipalId : aaaaaaaa-bbbb-cccc-1111-222222222222
IdentityTenantId : aaaabbbb-0000-cccc-1111-dddd2222eeee
IdentityType : SystemAssigned
Location : eastus
ManagedResourceEventHubNamespace : /subscriptions/xxxxxxxx-1bf0-4dda-aec3-cb9272f09590/resourceGroups/managed-rg-bbcpgdj/providers/Microso
Expand Down Expand Up @@ -112,12 +112,12 @@ FriendlyName : test-pa
Id : /subscriptions/xxxxxxxx-1bf0-4dda-aec3-cb9272f09590/resourceGroups/test-rg/providers/Microsoft.Purview/a
ccounts/test-pa
Identity : {
"principalId": "xxxxxxxx-7956-4978-87e8-9ddd82cfe2b7",
"tenantId": "xxxxxxxx-38d6-4fb2-bad9-b7b93a3e9c5a",
"principalId": "aaaaaaaa-bbbb-cccc-1111-222222222222",
"tenantId": "aaaabbbb-0000-cccc-1111-dddd2222eeee",
"type": "SystemAssigned"
}
IdentityPrincipalId : xxxxxxxx-7956-4978-87e8-9ddd82cfe2b7
IdentityTenantId : xxxxxxxx-38d6-4fb2-bad9-b7b93a3e9c5a
IdentityPrincipalId : aaaaaaaa-bbbb-cccc-1111-222222222222
IdentityTenantId : aaaabbbb-0000-cccc-1111-dddd2222eeee
IdentityType : SystemAssigned
Location : eastus
ManagedResourceEventHubNamespace : /subscriptions/xxxxxxxx-1bf0-4dda-aec3-cb9272f09590/resourceGroups/managed-rg-bbcpgdj/providers/Microso
Expand Down

0 comments on commit bf7d5a2

Please sign in to comment.