> For the complete documentation index, see [llms.txt](https://docs.1kosmos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.1kosmos.com/integrations/identity-verification/microsoft-entra-account-recovery/recovering-user-accounts-in-microsoft-entra.md).

# Recovering user accounts in Microsoft Entra

{% embed url="<https://vimeo.com/1220282774/913836f03a?fe=ec&fl=ml>" %}

**Step 1: Initiating account recovery in Entra**

* The user loses access to their account and initiates account recovery in Microsoft Entra ID
* Microsoft redirects the user to 1Kosmos &#x20;

**Step 2: Verifying user identity** &#x20;

The user completes identity proofing using:&#x20;

* Government-issued ID verification &#x20;
* Biometric liveness detection &#x20;
* 1:1 facial matching (selfie to ID comparison)&#x20;
* Deepfake and injection attack detection &#x20;

**Step 3: Issuing the Verified ID**

* 1Kosmos issues a Microsoft Verifiable Credential  &#x20;
* The Verifiable Credential is stored in the user's Microsoft Authenticator &#x20;
* No sensitive personal data is exposed &#x20;

**Step 4: Restoring Access**

* Microsoft validates the credential &#x20;
* Microsoft issues the user a Temporary Access Pass &#x20;
* The user re-enrolls authentication methods &#x20;


---

# 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.1kosmos.com/integrations/identity-verification/microsoft-entra-account-recovery/recovering-user-accounts-in-microsoft-entra.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.
