How to get Azure API Credentials | Inkoop Blog

How to create an application in Azure active directory and get subscription id, tenant id, client id, client secret and generate management certificates. You will need these keys to access Azure API.

Posted by Ameena on 09 Apr 2017

Windows Azure is a Microsoft cloud computing platform where you get the freedom to build and deploy wherever you want, using the tools, applications and frameworks of your choice.

You need to follow these steps to get Azure credentials required to make API calls

* Create an application in Azure Active directory. * Get the subscription ID. * Get the tenant ID. * Get the client ID. * Get the client secret. * Generate Management certificates.

Create application in Azure Active Directory

  1. Login into your azure account.
  2. Select Azure Active directory in the left sidebar.
  3. Click on App registrations.
  4. Click + Add.
  5. Enter the application name, select application type(web app/api) and sign-on-url.
  6. Click on create button.

Get Subscription ID

  1. Login into your azure account.
  2. Select Subscriptions in the left sidebar.
  3. Select whichever subscription is needed.
  4. Click on overview.
  5. Copy the Subscription ID.

Get Tenant ID

  1. Login into your azure account.
  2. Select azure active directory in the left sidebar.
  3. Click properties.
  4. Copy the directory ID.

Get Client ID

  1. Login into your azure account.
  2. Select azure active directory in the left sidebar.
  3. Click Enterprise applications.
  4. Click All applications.
  5. Select the application which you have created.
  6. Click Properties.
  7. Copy the Application ID .

Get Client secret

  1. Login into your azure account.
  2. Select azure active directory in the left sidebar.
  3. Click App registrations.
  4. Select the application which you have created.
  5. Click on All settings.
  6. Click on Keys.
  7. Type Key description and select the Duration.
  8. Click save.
  9. Copy and store the key value. You won't be able to retrieve it after you leave this page.

Generate Management certificates

  1. Login into your azure account.
  2. Click here to generate .publishsettings file.

Good Luck!!!

Ameena


Have a Project in mind?