Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate the creation of Azure app registration #1

Closed
devkeydet opened this issue Sep 29, 2017 · 0 comments
Closed

Automate the creation of Azure app registration #1

devkeydet opened this issue Sep 29, 2017 · 0 comments

Comments

@devkeydet
Copy link
Owner

devkeydet commented Sep 29, 2017

In order for the code running in azure to work, we need to register an Azure AD app:

https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-integrating-applications

Currently it is a prerequisite to do this before using the release example. It should be part of the release automation. There is a good blog post showing how to do this here:
http://blog.octavie.nl/index.php/2017/09/13/creating-azure-ad-app-registration-with-powershell-part-1
http://blog.octavie.nl/index.php/2017/09/19/create-azure-ad-app-registration-with-powershell-part-2

Specifically, the release should have a PowerShell script that does the following:

  • Check for the existence of the app registration by name (passed as a parameter to the script)
  • If it exists, verify it has the right permissions
  • If it doesn't exist, create it and set the right permissions

The permission that need to be set are in the attached screenshot.

Once the application is created, we need to get the values needed for subsequent tasks and put them into the existing VSTS variables.

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

No branches or pull requests

1 participant