diff --git a/README.md b/README.md index 24e68c3..da3ff2f 100644 --- a/README.md +++ b/README.md @@ -43,10 +43,12 @@ Create the Azure Active Directory application registrations ```PowerShell az ad app create --display-name CloudRelayAPI -az ad app create --display-name CloudRelayClient --password S0meHardT0GuessPassw0rd + +az ad app create --display-name CloudRelayClient +az ad app credential reset --display-name AzureCliGeneratedPwd --id --append ``` -Take note of both application registrations `appId` and provided `password`. They will be needed later on. +Take note of both application registrations `appId` and generated `password`. They will be needed later on. ### Resources Deployment @@ -67,7 +69,7 @@ Deploy the `Distech.CloudRelay.Gateway.json` file into a resource group that ser ```PowerShell az group create --name rg-cloudrelaygateway --location "East US" -az group deployment create ` +az deployment group create ` --handle-extended-json-format ` --name CloudRelayGatewayDeployment ` --resource-group rg-cloudrelaygateway ` @@ -89,7 +91,7 @@ Deploy the `Distech.CloudRelay.Compute.json` file into a resource group that ser ```PowerShell az group create --name rg-cloudrelaycompute --location "East US" -az group deployment create ` +az deployment group create ` --handle-extended-json-format ` --name CloudRelayComputeDeployment ` --resource-group rg-cloudrelaycompute ` @@ -233,7 +235,7 @@ POST https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token HTTP/1.1 Content-Type: application/x-www-form-urlencoded Host: login.microsoftonline.com -grant_type=client_credentials&client_id={cloudRelayClientAppId}&client_secret=S0meHardT0GuessPassw0rd&scope={cloudRelayApiAppId}/.default +grant_type=client_credentials&client_id={cloudRelayClientAppId}&client_secret={azureCliGeneratedPwd}&scope={cloudRelayApiAppId}/.default ``` Response: