Merge branch 'master' of https://github.com/SharePointOscar/packer
This commit is contained in:
commit
db1566f6d2
|
@ -156,7 +156,7 @@ createApplication() {
|
|||
|
||||
if [ "$azure_client_id" != "" ]; then
|
||||
echo "==> application already exist, grab appId"
|
||||
azure_client_id=$(az ad app list | jq -r '.[] | select(.displayName | contains("spfarmpacker")) .appId')
|
||||
azure_client_id=$(az ad app list | jq -r '.[] | select(.displayName | contains("'$meta_name'")) .appId')
|
||||
else
|
||||
echo "==> application does not exist"
|
||||
azure_client_id=$(az ad app create --display-name $meta_name --identifier-uris http://$meta_name --homepage http://$meta_name --password $azure_client_secret | jq -r .appId)
|
||||
|
|
Loading…
Reference in New Issue