Topics on this page

Prepare Azure Service Principal

Retrieve the Service Principal ID by executing the List Service Principal ID Azure CLI command. If the service principal does not exist, create the service principal by executing the Prepare Service Principal ID Azure CLI command. Each Azure Active Directory (AAD) needs only one Service Principal linked to File Storage Security's App Registration.

  • Prepare Service Principal ID:

    az ad sp create --id 25c0d06a-cae3-46c9-a62e-3889e69f7118 -o tsv --query 'objectId'

  • List Service Principal ID:

    az ad sp show --id 25c0d06a-cae3-46c9-a62e-3889e69f7118 -o tsv --query 'objectId'