# Adding Azure account

{% hint style="info" %}
To complete the instructions, you’ll need an Azure subscription. If you don’t already have one, you can sign up for an account [here](https://azure.microsoft.com/ja-jp/).
{% endhint %}

Microsoft Azure requires the credentials below to allow access to specific Azure resources.

1. Application ID
2. Secret Access key
3. Subscription ID
4. Directory ID

As a prerequisite, you must have sufficient permissions in both your Azure Active Directory and your Azure subscription. Specifically, you must be able to create an app in the Active Directory, and assign a role to the service principal.[(Check Permission)](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal#required-permissions)

## Using [Azure portal](https://portal.azure.com)  to create necessary credentials

{% hint style="warning" %}
If you already have the *Application ID*, *Secret Access key*, *Subscription ID*, *Directory ID*, you can skip to [**Adding Azure credential to your ALM account**](#adding-azure-credential-to-your-alm-account) section.
{% endhint %}

● [Create an Azure Active Directory application](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal#create-an-azure-active-directory-application)

● [Get Created Application ID and Add authentication key](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal#create-an-azure-active-directory-application)

● [Get Tenant ID(Your tenant ID is your Directory ID)](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal#get-tenant-id)

● [Assign application to role/subscription](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal#assign-application-to-role)

## Adding Azure credential to your ALM account

{% hint style="info" %}
If you do not have yet a Mobingi ALM account, you can sign up [here](https://mobingi.com/products/alm/pricing?hsCtaTracking=83291ee6-f70a-486a-909c-ed2bcca0629b|7cb2af36-bc9f-49f1-8e3f-f3848b2c5295) or [contact us](https://pages.mobingi.com/form-general?hsCtaTracking=0f1d2eb6-a1fc-4c4b-ab8e-934ffd3e8e94|504bc5ea-bcd0-4ae1-ba28-a6ec174cb93a).
{% endhint %}

1. After logging-in to your [Mobingi ALM](https://alm.mobingi.com/login) account, in the upper right corner of the page click your `username` and then `General Settings`

![](https://1113837236-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LF17VPf7Dj9Hn7rxB5b%2F-LF188m7PblnhbVAU5qs%2FScreen%20Shot%202018-06-11%20at%2017.10.0_BOX.png?alt=media\&token=28482fd0-83bd-4523-bd81-39c38270eb9d)

1. In the left side-menu, click `Setup Credentials` and select `Azure`

![](https://1113837236-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LF1L3c_S8WgRw4BAHnr%2F-LF1L7GLNMALXEowEMzY%2FScreen%20Shot%202018-06-11%20at%2017.13.27_BOX2.png?alt=media\&token=e50c604b-d1f7-4f76-804a-61d03760d6d2)

1. Enter your preferred account name and the `Application ID`, `Secret Access Key`, `Subscription ID`, `Directory ID` you created in the ***Using*** [***Azure portal***](https://portal.azure.com) ***to create necessary credentials*** section and click ***Add Account*** button

![](https://1113837236-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LF17VPf7Dj9Hn7rxB5b%2F-LF18mn-Pp6L6u6VcPbi%2FScreen%20Shot%202018-06-11%20at%2017.16.53BOX3.png?alt=media\&token=8fae14f3-6441-4fd1-9fdb-e679e919db17)

{% hint style="success" %}
Your credential is added at the bottom of the page.
{% endhint %}

![](https://1113837236-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhxvuaJoVP9XO-zA1v%2F-LEhy117ZwU68Uvkyedu%2FScreen%20Shot%202018-06-11%20at%2017.30.11.png?alt=media\&token=ae4e2e9d-3c21-4a30-b040-c3844b66aec3)
