Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Script create_azure_principal.sh fails when creating AD application #22

Open
mhausmann-pivotal opened this issue Jun 22, 2017 · 0 comments

Comments

@mhausmann-pivotal
Copy link

The create_azure_principal.sh script is throwing this error when run using the Azure CLI Client v. 0.10.13 on Mac OS:

================================
Please input identifier for your Service Principal with (1) MINIMUM length of 8, (2) NO space [press Enter to use default identifier BOSHv201706225123]:
Use as identifier...
Create Active Directory application...
error: Error:
<<< async stack >>>
at exports_createApplicationWithParameters__2 (/usr/local/Cellar/azure-cli/0.10.14/libexec/lib/node_modules/azure-cli/lib/commands/arm/ad/adUtils._js:124:46)
at exports_createApplication__1 (/usr/local/Cellar/azure-cli/0.10.14/libexec/lib/node_modules/azure-cli/lib/commands/arm/ad/adUtils._js:107:29)
at __1 (/usr/local/Cellar/azure-cli/0.10.14/libexec/lib/node_modules/azure-cli/lib/commands/arm/ad/ad.application._js:47:33)
<<< raw stack >>>
at client.pipeline (/usr/local/Cellar/azure-cli/0.10.14/libexec/lib/node_modules/azure-cli/node_modules/azure-graph/lib/operations/objects.js:99:19)
at retryCallback (/usr/local/Cellar/azure-cli/0.10.14/libexec/lib/node_modules/azure-cli/node_modules/azure-graph/node_modules/ms-rest/lib/filters/systemErrorRetryPolicyFilter.js:89:9)
at retryCallback (/usr/local/Cellar/azure-cli/0.10.14/libexec/lib/node_modules/azure-cli/node_modules/azure-graph/node_modules/ms-rest/lib/filters/exponentialRetryPolicyFilter.js:140:9)
at handleRedirect (/usr/local/Cellar/azure-cli/0.10.14/libexec/lib/node_modules/azure-cli/node_modules/azure-graph/node_modules/ms-rest/lib/filters/redirectFilter.js:39:9)
at /usr/local/Cellar/azure-cli/0.10.14/libexec/lib/node_modules/azure-cli/lib/util/utils.js:608:7
at handleRedirect (/usr/local/Cellar/azure-cli/0.10.14/libexec/lib/node_modules/azure-cli/lib/util/utils.js:585:9)
at /usr/local/Cellar/azure-cli/0.10.14/libexec/lib/node_modules/azure-cli/lib/util/logging.js:331:7
at Request.defaultRequest [as _callback] (/usr/local/Cellar/azure-cli/0.10.14/libexec/lib/node_modules/azure-cli/node_modules/azure-graph/node_modules/ms-rest/lib/requestPipeline.js:125:16)
at Request.self.callback (/usr/local/Cellar/azure-cli/0.10.14/libexec/lib/node_modules/azure-cli/node_modules/request/request.js:187:22)
at emitTwo (events.js:125:13)

error: Error information has been recorded to /Users/mhausmann/.azure/azure.err
error: ad app create command failed

azure ad sp create^C

================================

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant