Skip to content

Commit 6743ff3

Browse files
authored
Update media-services-v3-cli-access-api-include.md
You might want to tweak the changes as needed - one more step needed if you have access to many subscription
1 parent cecf2ac commit 6743ff3

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, then you should first set the active subscription to that under which the Media Service 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)