Skip to content

Commit 2ef5cb1

Browse files
authored
Merge pull request #45391 from anilmur/patch-19
Update media-services-v3-cli-access-api-include.md
2 parents 5d6ce6d + 5cae78a commit 2ef5cb1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

includes/media-services-v3-cli-access-api-include.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ To connect to Azure Media Services APIs, you use the Azure AD service principal
1616

1717
Before running the script, you should replace the `amsaccount` and `amsResourceGroup` with the names you chose when creating these resources. `amsaccount` is the name of the Azure Media Services account where to attach the service principal.
1818

19+
If you have access to multiple subscriptions, first set the active subscription to the subscription where the Media Services account was created.
20+
21+
```azurecli
22+
az account set --subscription subscriptionId
23+
```
24+
1925
The following command returns a `json` output:
2026

2127
```azurecli

0 commit comments

Comments
 (0)