Create Service Principal in Azure (with azure-cli 2.x)
Service Principals: https://docs.microsoft.com/en-us/azur...
Commands:
Update available cloud list
az cloud update
Choose cloud infra where you want to login (i.e. AzureGermanCloud, AzureCloud, ….)
az cloud set --name name_of_cloud
Login to your azure account
az login -u user_account -p user_accounts_password
Select your subscription
az account set --subscription subscriptionID
Execute SP creation command
az ad sp create-for-rbac --name Service_Principal_name_in_Azure --query '{"client_id": appId, "secret": password, "tenant": tenant}'
Blog: http://www.the1bit.hu
Twitter: / the1bit
Facebook: / the1bit
Youtube channel: / @cloudsteak1661
Online cv: http://iam.the1bit.hu