User account operations

The Active Directory package contains various actions to automate tasks related to user account management, including create, delete, get property, remove, rename, and set property.

Actions in the Active Directory package

The Active Directory package includes the following actions for user account operations:
Note: We now support Active Directory user operations by logon name with domain and can provide the domain name to extract the user details. When you retrieve user property or perform any user operation based on the logon name (userPrincipalName), and if the user domain name differs from the domain specified in the LDAP path, the user properties are now successfully retrieved regardless of whether it contains a domain name or not.
For example, LDAP Path: LDAP://ADServer/DC=automation, DC=net
User Logon name
userPrincipalName: kim@aaengg.net User can provide logon name as kim@aaengg.net.
userPrincipalName: shaun@aasales.net User can provide logon name as shaun@aasales.net.
userPrincipalName:sarah@automation.net user can provide a logon name as either sarah or sarah@automation.net.

When you perform any user action on the logon name, and if the logon name has a duplicate user under subDomain and subDomain@rootDomain, the user property is retrieved for the user with the root domain.

For example, LDAP Path: LDAP://ADServer/DC=automation, DC=net
  • User 1: userPrincipalName (logon name) is kim@aaengg.net.
  • User 2: userPrincipalName (logon name) is kim@aaengg.net@automation.net.

If you enter the logon name as kim@aaengg.net or kim@aaengg.net@automation.net, the operations will be performed on the second user that is kim@aaengg.net@automation.net.

To understand the most commonly used Active Directory attributes list, see Active Directory package