# IAM Management

Install IAM management to enable Just‑in‑Time (JIT) access to Azure resources through P0.

{% hint style="warning" %}
Complete [Azure app registration](/integrations/resource-integrations/microsoft-azure/azure-app-registration.md) before starting this step. IAM management requires the service identity created during app registration.
{% endhint %}

## Setup steps

1. In the Azure integration on [p0.app](https://p0.app), select **IAM Management**.

<figure><img src="/files/2tMyRvDSQLLA7eamoEpv" alt=""><figcaption></figcaption></figure>

2. Run the Shell or Terraform steps shown.

<figure><img src="/files/0mJjm57NpYzACWd1R2B9" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/W11MA01A83Q7irjFrfQ5" alt=""><figcaption></figcaption></figure>

After these commands finish, JIT access through P0 is set up for the given subscription.

## Next step

* To enable SSH for Azure VMs, proceed to [Configure bastion host integration](/integrations/resource-integrations/microsoft-azure/configure-bastion-host-integration.md).
* To start requesting JIT access, see [Requesting access](/integrations/resource-integrations/microsoft-azure/requesting-access.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.p0.dev/integrations/resource-integrations/microsoft-azure/iam-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
