This tool automates the steps to create Azure service principal for both unix and windows. More information on service principal can be found here.
Install Azure CLI. For Linux/Unix/Mac OS X, follow these instructions to install the Azure CLI.
- npm install azure-sp-tool -g
-
azure login
-
azure-sp-tool -help
-
azure-sp-tool create-sp - service principal is outputed in azure-credentials.json file
-
azure account list