Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Microsoft Active Directory v2 Spoke

Create, delete, and manage objects in Microsoft Active Directory, such as users, groups, and computers.

Request apps on the Store

Visit the ServiceNow Store to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.

Integration Hub subscription

This spoke requires an Integration Hub subscription. For more information, see Legal schedules - IntegrationHub overview.

Spoke version

Microsoft Active Directory v2 spoke v2.5.3 is the latest version.

Supported versions

This spoke was built for Microsoft Active Directory.

Spoke requirements

Ensure that Active Directory Web Services (ADWS) is deployed in the same server where Microsoft Active Directory is installed. The MID server can access the Active Directory Web Services (ADWS) at port 9389. For more information about ADWS deployment, see Microsoft documentation.

In the MID Server and Microsoft Active Directory v2 server, run the following PowerShell commands to install the Active Directory module:

PS> Import-Module ServerManager
PS> Install-WindowsFeature -Name RSAT-AD-PowerShell

Spoke dependencies

If you’re having trouble installing the app, ensure that these dependent plugins are installed:

  • Complex Object (com.glide.cobject)
  • ServiceNow IntegrationHub Runtime (com.glide.hub.integration.runtime)
  • IHUB Spoke Util Pack (com.snc.ihub_spoke_util_pack)
  • ServiceNow IntegrationHub Action Step - PowerShell (com.glide.hub.action_step.powershell)

Note: If used outside the spoke implementation, some of these plugins are licensable features and require licenses.

Spoke actions

The Microsoft Active Directory v2 spoke provides actions to automate the tasks when events occur in your ServiceNow instance. Available actions include:

CategoryActionDescription
Group ManagementAdd Computer to GroupsAdds the computer account to one or more groups in the Active Directory \(AD\).
Add Computers to GroupAdds one or more computer accounts to the group in the Active Directory \(AD\).
Add User to GroupsAdds a user to one or more groups in the Active Directory \(AD\).
Add Users to GroupAdds one or more user accounts to the group in the Active Directory \(AD\).
Create GroupCreates the group in the Active Directory \(AD\).
Delete GroupDeletes the group from the Active Directory \(AD\).
Does Group ExistsChecks whether the group exists in the Active Directory \(AD\).
Is User in GroupChecks if an existing user is already a member of a group in the Active Directory \(AD\).
Look up GroupRetrieves the group from the Active Directory \(AD\).
Remove Computer from GroupsRemoves the computer account from one or more groups in the Active Directory \(AD\).
Remove Computers from GroupRemoves one or more computers from the group in the Active Directory \(AD\).
Remove User from GroupsRemoves a user from one or more groups in the Active Directory \(AD\).
Remove Users from GroupRemoves one or more users from the group in the Active Directory \(AD\).
User AuthenticationChange User PasswordChanges the user's password in the Active Directory \(AD\). The password has to match the AD password requirements.
Look up User Password Expiration DetailsRetrieves the password expiration details for the user from the Active Directory \(AD\).
Generate Random PasswordGenerates the random password according to the Active Directory \(AD\) password policy.
Is User LockedChecks the locked status of the user account in the Active Directory \(AD\).
Reset User PasswordResets the password of the user in the Active Directory \(AD\).
Unlock UserUnlocks the user account in the Active Directory \(AD\).
Computer ManagementCreate ComputerCreates a computer account in the Active Directory \(AD\).
Disable ComputerDisables the computer account in the Active Directory \(AD\).
Does Computer ExistsChecks the status of the computer account in the Active Directory.
Is Computer DisabledChecks the status of the computer account in the Active Directory \(AD\).
Enable ComputerEnables the computer account in the Active Directory \(AD\).
Look up ComputerRetrieves a computer account from the Active Directory \(AD\).
Update ComputerUpdates a computer account in the Active Directory \(AD\).
Delete ComputerDeletes a computer account from the Active Directory \(AD\).
Object ManagementCreate ObjectCreates an object account in the Active Directory \(AD\).
Update Object OUUpdates the Organizational Unit \(OU\) of an object account in the Active Directory \(AD\).
Update Object ExpirationUpdates the account expiration date of the object account in the Active Directory \(AD\).
Look up Object by FilterRetrieves object accounts based on a search filter in the Active Directory \(AD\).
Delete ObjectDeletes an object account from the Active Directory \(AD\).
User ManagementDelete UserDeletes the user from Active Directory \(AD\).
Create User

Creates a user account in the Active Directory (AD) and sets a password.Note: From Microsoft Active Directory v2 spoke v2.1.1 onwards, these changes are applicable:

  • Sam Account Name is available in the Additional Fields drop-down.
  • When a user is created, the User Principal Name (UPN) is generated in this format: <username>@<DNS-domain-name>.
Disable User \(Conversational -ready\)Disables a user account in Active Directory \(AD\).
Does User ExistsChecks whether the user account exists in Active Directory \(AD\).
Update UserUpdates a user account in the Active Directory \(AD\).
Enable User \(Conversational -ready\)Enables a user account in Active Directory \(AD\).
Look up User \(Conversational -ready\)Retrieves a user account from the Active Directory (AD).Note: Now Assist for Conversational Spokes plugin is required to use the conversational ability of the action.
Is User DisabledChecks if the user account is inactive in Active Directory \(AD\).
Get User Additional Fields \(Metadata\)Retrieves information from the additional fields in a user account from the Active Directory \(AD\).

Note: This spoke isn't tested with a load balancer.

Available conversational actions

Install Now Assist for Conversational Spokes and start using the conversational ability of Integration Hub spokes. For more information, see ServiceNow Otto for Conversational Spokes.

ActionUsage
Disable UserIn the Ask Now Assist to... field, enter the phrase that asks Now Assist to perform the action and press Enter. Disable user "Jack" in Active Directory.
Enable UserIn the Ask Now Assist to... field, enter the phrase that asks Now Assist to perform the action and press Enter. For example, Enable user "Jack" in Active Directory.
Look up UserIn the Ask Now Assist to... field, enter the phrase that asks Now Assist to perform the action and press Enter. For example, Look up user "Jack" in Active Directory.
Image omitted: ad-v2-na-lookup-user-action.jpg
Lookup User action conversational ability in Now Assist panel

Available AI agents

Install Now Assist for Integration Hub and start using the available AI agents. For more information, see ServiceNow Otto for Integration Hub.

This spoke provides standalone AI agents that mimic human-like intelligence to perform tasks in your ServiceNow instance.

  • In the ServiceNow agentic system, you can create an agentic workflow that comprises of a set of large language model (LLM) instructions along with one or more standalone AI agents to execute an objective. See for information about adding AI agents to create agentic workflows as per your requirement and provide the required trigger.

    You can also search for other available AI agents and add them to your agentic workflow. See Find AI agents for more information.

  • You can create a clone of the required spoke AI agent and customize it as per your requirement. See for more information about creating a clone.

  • See for information about AI agents.

Available AI agents include:

AI agentDescription
Microsoft Active Directory object managerManages object accounts in the Active Directory (AD) and retrieves their details.
Microsoft Active Directory user authenticatorManages user accounts and passwords in the Active Directory (AD) and retrieves their details.
Microsoft Active Directory group managerManages groups in the Active Directory (AD) and retrieves their details.
Microsoft Active Directory computer managerManages computers in the Active Directory (AD) and retrieves their details.
Microsoft Active Directory user managerManages users in the Active Directory (AD) and retrieves their details.

There might be AI agents installed with the Now Assist application that are not used in agentic workflows. To learn how to see all agents that are available to you, see Find AI agents.

Note: Ensure that the user running an AI agent has the required roles and permissions to access data or perform operations on data in the table that is associated with the AI agent.

Connection and credential alias requirements

Integration Hub uses aliases to manage connection and credential information. Using an alias eliminates the need to configure multiple credentials and connection information profiles when using multiple environments. If the connection or credential information changes, you don't need to update any actions that use the connection. For more information, see Connections and Credentials.

For information about setting up the spoke, see Set up the Microsoft Active Directory v2 spoke.

MID Server requirements

To use these actions, your instance must have a MID Server set up and configured to use PowerShell. For more information about running actions on the MID Server, see Integration steps. For more information about the MID Server, see MID Server.

To set up the MID Server for this spoke, see Set up MID Server for a spoke.

Note: You must install the MID Server and Microsoft Active Directory on different servers.