Skip to content

Commit 9e40631

Browse files
authored
Update continuous-backup-restore-permissions.md
Add the command directly for restorabledb-accounts list.
1 parent b9604fc commit 9e40631

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/cosmos-db/continuous-backup-restore-permissions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ The restorable account resource can be extracted from the output of the `az cosm
5656
Following permissions are required to perform the different activities pertaining to restore for continuous backup mode accounts:
5757

5858

59-
> [!NOTE] Permission can be assigned to restorable database account at account scope or subscription scope. Assigning permissions at resource group scope is not supported.
59+
> [!NOTE]
60+
> Permission can be assigned to restorable database account at account scope or subscription scope. Assigning permissions at resource group scope is not supported.
6061
6162
|Permission |Impact |Minimum scope |Maximum scope |
6263
|---------|---------|---------|---------|
@@ -82,6 +83,8 @@ Following permissions are required to perform the different activities pertainin
8283
Roles with permission can be assigned to different scopes to achieve granular control on who can perform the restore operation within a subscription or a given account.
8384

8485
### Assign capability to restore from any restorable account in a subscription
86+
- Assign a user write action on the specific resource group. This action is required to create a new account in the resource group.
87+
- Assign the `CosmosRestoreOperator` built in role to the specific restorable database account that needs to be restored. In the following command, the scope for the `RestorableDatabaseAccount` is extracted from the `ID` property of result of execution of `az cosmosdb restorable-database-account list`(if using CLI) or `Get-AzCosmosDBRestorableDatabaseAccount`(if using the PowerShell)
8588

8689
Assign the `CosmosRestoreOperator` built-in role at subscription level
8790

0 commit comments

Comments
 (0)