> For the complete documentation index, see [llms.txt](https://docs.p0.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.p0.dev/integrations/directory-integrations/microsoft-entra-id-legacy/requesting-access.md).

# Requesting Microsoft Entra ID access (legacy)

## Before you begin:

{% content-ref url="/pages/vVKXZxFXZJ6mVhrRx1Ps" %}
[Microsoft Entra ID (Legacy)](/integrations/directory-integrations/microsoft-entra-id-legacy.md)
{% endcontent-ref %}

The permissions that are to be granted for requesting access to Entra ID groups.

<figure><img src="/files/j1Bd8VAmk1uPGHGlfcGG" alt="" width="354"><figcaption></figcaption></figure>

## Requesting from Slack

We'll start by requesting access to groups in Entra ID via the p0 Slack Bot. If you haven't yet installed the Slack integration in your workspace, please do that first.

{% content-ref url="/pages/9Ytmb5OpYXghQQZ3M4nS" %}
[Slack](/integrations/notifier-integrations/slack.md)
{% endcontent-ref %}

Once you've installed the Slack integration in your p0 app, you'll be able to make requests and approve/deny them directly inside of Slack.

Type `/p0 request` in Slack or click the run shortcut button \[/] and locate the p0 bot ("Request access with p0Bot"). This pops up a modal. Choose **Entra ID (Legacy)** from the Resource type to continue.

<figure><img src="/files/nk7zw8s1YzrkFKO9deQp" alt="" width="375"><figcaption></figcaption></figure>

**Access Type :** Request access to group.

**Group:** Typeahead to select static groups

**Reason:** Optionally, provide a reason to be communicated to the approver(s).

Then click the button to submit the request, and see [#next-steps](#next-steps "mention").

<figure><img src="/files/DZhJGqkTgJkBGojYU2pL" alt="" width="375"><figcaption></figcaption></figure>

#### Slack command:

Alternatively the request can be raised using the following commands:

```
/p0 request azure-ad membership XXXX-XXX-XXXX-XXXXX
/p0 request azure-ad membership "Test Group 1"
```

Provide the group as a single positional argument, using either its GUID or its complete name (in double quotes).

#### Next Steps:

{% content-ref url="/pages/Pycv2zpswUhdyvHKxEiy" %}
[Requesting Access](/access-management/just-in-time-access/requesting-access.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.p0.dev/integrations/directory-integrations/microsoft-entra-id-legacy/requesting-access.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
