Skip to content

Commit a317c69

Browse files
Merge pull request #224525 from alexwolfmsft/cli-command-fix
fixed command
2 parents 7255307 + fd7b18c commit a317c69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

includes/passwordless/cosmos-nosql/cosmos-nosql-create-assign-roles.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Next, assign the role you created to the user account or service principal that
4343
Retrieve the details of your account using the `az ad user` command.
4444

4545
```azurecli
46-
az ad user --id "<your-email-address>"
46+
az ad user show --id "<your-email-address>"
4747
```
4848

4949
Copy the value of the `id` property out of the results and paste it somewhere for later use.
@@ -52,8 +52,8 @@ Finally, assign the custom role you created to your user account using the `az c
5252

5353
```azurecli
5454
az cosmosdb sql role assignment create
55-
--account-name msdocs-cosmos-nosql
56-
--resource-group msdocs
55+
--account-name passwordlessnosql
56+
--resource-group passwordlesstesting
5757
--scope "/"
5858
--principal-id <your-user-id>
5959
--role-definition-id <your-custom-role-id>

0 commit comments

Comments
 (0)