--- title: Microsoft Active Directory user authentication AI agent description: This AI agent manages Microsoft Active Directory account access. It unlocks accounts, checks lock status, generates random passwords, resets or changes passwords, and retrieves password expiration details. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/intelligent-experiences/inth-ms-ad2-microsoft-active-directory-user-authentication-ai-agent.html release: australia topic_type: reference last_updated: "2026-09-30" reading_time_minutes: 2 breadcrumb: [Microsoft Active Directory v2 Spoke AI agents, Integration Hub AI agents, Integration Hub, AI agents library, AI assets, Enable AI experiences] --- # Microsoft Active Directory user authentication AI agent This AI agent manages Microsoft Active Directory account access. It unlocks accounts, checks lock status, generates random passwords, resets or changes passwords, and retrieves password expiration details. ## Workflow The agent helps the user resolve sign-in and password issues in Microsoft Active Directory. 1. Ask the user what they want to do and collect the details the action needs, such as the user. 2. Check whether a user's account is locked and unlock it. 3. Look up a user's password expiration details. 4. Generate a random password. 5. Reset or change a user's password. 6. Report the outcome to the user, including details of any error.
Field Description
Allow third party to access this AI agent When enabled, third-party AI agents can use this agent. This value is off \(false\) by default. This setting is defined in the AI Agent configs \[sn\_aia\_agent\_config\] table on the External discoverable field.
Allow AI specialists to access this AI agent When enabled, AI specialists can use this agent. This value is off \(false\) by default. When set to true, more configuration options for tools become available so that an AI specialist can map inputs and response templates to tool outputs. This setting is defined in the AI Agent configs \[sn\_aia\_agent\_config\] table on the Specialist enabled field.
Manage long-term memory When enabled, all previous user interactions are used as context for the LLM. This value is off \(false\) by default. This setting is defined by the **sn\_aia.ltm.enable\_long\_term\_memory** system property. For more information, see [ServiceNow Otto AI agents reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/na-aia-reference.md).
Tools - **Flow Actions** Change User Password Generate Random Password Is User Locked Look up User Password Expiration Details Reset User Password Unlock User
Allowed user roles The specific user roles that can access this AI agent. snc\_internal
Data access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take. snc\_internal
Triggers Optional. None defined by default. An admin can specify triggers if desired. For more information, see [Add a trigger to an AI agent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/add-trigger-aia.md).
Channels Configure an assistant for Virtual Agent or ServiceNow Otto panel using [Assistant Designer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/conversational-interfaces/configure-now-assist-va.md).
Used in agentic workflows Not applicable.
**Parent Topic:**[Microsoft Active Directory v2 Spoke AI agents](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/inth-ms-ad2-ai-agents-overview.md) **Related topics** [Microsoft Active Directory v2 Spoke](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/integrate-applications/ms-ad-v2-spoke.md) [Integration Hub spokes](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/integrate-applications/spokes-list.md)