Skip to content

Commit 2152cb2

Browse files
Merge pull request #216182 from rastala/main
Update how-to-create-manage-compute-instance.md
2 parents 6e246ef + 43c37d9 commit 2152cb2

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
@@ -481,6 +481,9 @@ def get_access_token_msi(resource):
481481
arm_access_token = get_access_token_msi("https://management.azure.com")
482482
```
483483

484+
> [!NOTE]
485+
> 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```.
486+
484487
## Add custom applications such as RStudio (preview)
485488

486489
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)