> For the complete documentation index, see [llms.txt](https://docs.harmony.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.harmony.io/ai-agents/access-control/password-reset-request.md). Agents can also search and read this documentation through its [MCP server](https://docs.harmony.io/~gitbook/mcp).

# Password Reset Request

Automated password reset request with identity verification and temporary password delivery.

The **Password Reset Request** agent automates password resets for identity provider users with identity verification and secure temporary password delivery.

![Password Reset Request agent overview](https://1766914782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIWiU87MW3r16e1GcC8yt%2Fuploads%2Fgit-blob-9e1232928189cbd2109cdfddf7a0737020210884%2Fidp-password-reset.png?alt=media)

### What it does

* Triggered when a user requests an IdP password reset
* Verifies user identity via OTP or Okta Verify push notification
* Resets user's password to a temporary password in their identity provider
* Generates a secure temporary password and requires the user to change it at next login
* Terminates all active sessions for the user across configured identity providers. If the sessions cannot be terminated, the password is still delivered and the ticket is handed to your IT team with the reason, so they can sign the employee out
* Sends the password reset link or OTP to the user's primary email, secondary email, or recovery email (including Microsoft Entra `otherMails` addresses)
* Sends message with temporary password via Slack or Teams
* Updates the ticket with status and outcome

### Triggers

**Event** - Runs when agent detects IdP Password Reset Request made by user.

The agent accurately distinguishes work account password reset requests from personal account requests. Gmail references are interpreted as Google Workspace work accounts only when the context clearly indicates it, preventing the workflow from triggering incorrectly for personal Gmail accounts.

### Approval

No approval required. The agent uses identity verification instead of approval workflow.

### Configuration

#### Identity Verification

Verify the employee's identity before resetting their password. Choose from two verification methods:

* **One-Time Password (OTP)** - A one-time password is sent to the user's primary email address, secondary email, or recovery email if available. The user must enter this code when prompted via direct message to verify their identity.
* **Okta Verify Push Notification** - Send a push notification to the user's Okta Verify app for quick and secure verification.

#### Password Reset Target

Select the identity provider where the password will be reset:

* **Okta** - Reset password in Okta identity provider
* **Microsoft Entra ID** - Reset password in Microsoft Entra (formerly Azure AD). Requires the [Privileged Authentication Administrator role](https://github.com/harmonyso/public-docs/tree/main/integrations/microsoft-entra.md#enable-password-reset) on the Harmony Entra ID application; without it, resets for admins fail. For accounts synced from your on-premises Active Directory, turn on **Reset passwords in Active Directory** on the Entra connection to reset them in Active Directory instead. The employee signs in to Windows with the temporary password and sets a new one, which then [syncs to Microsoft Entra](https://github.com/harmonyso/public-docs/tree/main/integrations/microsoft-entra.md#users-synced-from-on-premises-active-directory); until they do, Microsoft Entra keeps accepting their previous password. Turn off **Require a new password at next sign-in** on the connection to have the new password replace the previous one in Microsoft Entra as well; the password sent to the employee then stays valid until they change it themselves. This requires the [Active Directory integration](https://github.com/harmonyso/public-docs/tree/main/integrations/active-directory.md) with [password reset permissions](https://github.com/harmonyso/public-docs/tree/main/integrations/active-directory.md#password-reset-permissions)
* **Google Workspace** - Reset password in Google Workspace
* **JumpCloud** - Reset password in JumpCloud identity provider

The agent supports Okta, Microsoft Entra, Google Workspace, and JumpCloud identity providers. It automatically discovers the employee's IdP integrations and terminates sessions across all configured providers.

#### Account Status and IDP-Aware Guidance

The agent identifies which identity provider an employee uses and tailors its guidance accordingly:

* **Entra ID employees** with a locked account are guided through a Password Reset workflow, since account unlock is not available for Entra ID.
* **Okta employees** with a locked account are offered both Unlock Account and Password Reset options.
* **Employees with both Okta and Entra ID accounts** receive clear, per-IDP instructions so they know exactly what action is available for each account.

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Working with AI Agents</strong></td><td>Learn how to run and monitor agents</td><td><a href="https://docs.harmony.io/ai-agents/getting-started/working-with-ai-agents.md">Working with AI Agents</a></td></tr><tr><td><strong>Configuring AI Agents</strong></td><td>Configure verification and delivery</td><td><a href="https://docs.harmony.io/ai-agents/getting-started/configuring-ai-agents.md">Configuring AI Agents</a></td></tr></tbody></table>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.harmony.io/ai-agents/access-control/password-reset-request.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
