Knowledge

How to integrate Buddy Enterprise with Microsoft Azure

Integrating Buddy Enterprise with Microsoft Azure will let you push your code to Azure and authenticate in your AKS cluster.

1. Create a new app in Azure

In order to access the Azure’s API, you need to create an OAuth app, just like in other integrations. To do that, go to portal.azure.comAzure Active DirectoryApp registrationsNew application registration.

Enter the following details:

  • Name: anything, e.g. Buddy App
  • Application type: Web App / API
  • Sign-on URL: the URL to which the user will be redirected after logging in to Azure, for example app.buddy.works/azure or 127.0.0.1/azure for local access)

Each environment requires a separate app.

When done, copy the Application ID in the app details (see below). We’ll need it later on.

2. Create a new key

With the application created, go to SettingsKeys and generate a new key. Enter the description (anything) and set the expiration date to ‘Never expires’. Notice that the key value will not be available until saved.

Once you click the Save button at the top, Azure will generate the key value.

Make sure to copy the key value as you won’t be able to retrieve it after you leave the blade.

3. Assign permissions

Next step is to give the app proper scopes. Go to the app’s SettingsRequired permissions and click +Add.

  1. Click Select an API and choose Windows Azure Service Management API
  2. Under Select permissions, check Access Azure Service Management as organization users (preview)

The last thing to do is going to SettingsProperties and switching the Multi-tenanted button to Yes, so that the app can authorize to other Azure organizations (tenants):

4. Add integration in Buddy

  1. Log into your Buddy Enterprise workspace as admin and go to the workspace Preferences:

  2. Open the Applications tab and click Configure below the Azure icon:

  3. Paste the Application ID and Client Secret that you created earlier:

Get started now

14 days of unlimited trial. No credit card required.