Skip to content

API App Registration Script#346

Merged
TessFerrandez merged 1 commit into
developfrom
askew/95-aad-reg-script
Jun 23, 2021
Merged

API App Registration Script#346
TessFerrandez merged 1 commit into
developfrom
askew/95-aad-reg-script

Conversation

@askew
Copy link
Copy Markdown
Contributor

@askew askew commented Jun 22, 2021

PR for issue #95

Shell script to create the app registrations for the API and the Swagger UI in Azure AD.

Uses the az rest rather than az ad app create as the CLI seems to be out-of-date and uses the old AAD API.

Note: The -a option to perform the admin consent seems to have stopped working. Need further investigation but may be due to a recent change in AAD and the Azure CLI has not caught up. In the meantime use the Azure Portal to grant admin consent.

It may be worth porting this from Bash to Python at some point.

@github-actions
Copy link
Copy Markdown

Unit Test Results

  1 files    1 suites   1s ⏱️
54 tests 54 ✔️ 0 💤 0 ❌

Results for commit 4f97261.

@TessFerrandez TessFerrandez merged commit 67ea2db into develop Jun 23, 2021
@TessFerrandez TessFerrandez deleted the askew/95-aad-reg-script branch June 23, 2021 14:08
@TessFerrandez TessFerrandez linked an issue Jun 23, 2021 that may be closed by this pull request
3 tasks
@askew
Copy link
Copy Markdown
Contributor Author

askew commented Jun 25, 2021

Update to the -a option not working: Seems to be an Azure AD issue (Azure/azure-cli#18603)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Register API with Azure AD to enable auth

2 participants