Azure CLI example: Reset the account credentials

media services logo v3


Looking for Media Services v2 documentation?
Having trouble? See the Troubleshooting guide for solutions to issues with using Media Services.
Code samples can be found on the Samples page.

The Azure CLI script in this article shows how to reset your account credentials and get the app.config settings back.

Prerequisites

Create a Media Services account.

Example script

# Update the following variables for your own settings:
resourceGroup=amsResourceGroup
amsAccountName=amsmediaaccountname

az ams account sp reset-credentials \
  --account-name $amsAccountName \
  --resource-group $resourceGroup