Skip to content

Commit 43c37d9

Browse files
committed
Update how-to-create-manage-compute-instance.md
Describe az login command usage
1 parent 958e627 commit 43c37d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/machine-learning/how-to-create-manage-compute-instance.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,9 @@ def get_access_token_msi(resource):
480480
arm_access_token = get_access_token_msi("https://management.azure.com")
481481
```
482482

483+
> [!NOTE]
484+
> To use Azure CLI with the managed identity for authentication, specify the identity client ID as the username when logging in: ```az login --identity --username $DEFAULT_IDENTITY_CLIENT_ID```.
485+
483486
## Add custom applications such as RStudio (preview)
484487

485488
You can set up other applications, such as RStudio, when creating a compute instance. Follow these steps in studio to set up a custom application on your compute instance

0 commit comments

Comments
 (0)