Describe the bug
ng-deploy working fine in interactive mode but when i try to deploy in CI mode its failing with
Get Token request returned http error: 400 and server response: {"error":"invalid_request","error_description":"AADSTS900023: Specified tenant identifier ''**-*-''' is neither a valid DNS name, nor a valid external domain
az login --service-principal -u $CLIENT_ID -p $CLIENT_SECRET --tenant $TENANT_ID
But when trying to deploy with ng-deploy with CI = 1 (ng run myapp:deploy)
CI mode detected
Checking for configuration...
Using CLIENT_ID='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
Using CLIENT_SECRET='~*~**-*-**'
Using TENANT_ID='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
Using AZURE_SUBSCRIPTION_ID='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
Configuration OK
Get Token request returned http error: 400 and server response: {"error":"invalid_request","error_description":"AADSTS900023: Specified tenant identifier ''xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'' is neither a valid DNS name, nor a valid external domain
Describe the bug ng-deploy working fine in interactive mode but when i try to deploy in CI mode its failing with
To Reproduce Steps to reproduce the behavior:
my packages are
and create Service Principal using the Azure CLI, will give you something like this
and I'm able to login with
But when trying to deploy with ng-deploy with CI = 1 (ng run myapp:deploy)
Expected behavior
should deploy to CDN same as interactive mode