AACFlow

Azure AD

Manage users and groups in Azure AD (Microsoft Entra ID)

Usage Instructions

Integrate Azure Active Directory into your workflows. List, create, update, and delete users and groups. Manage group memberships programmatically.

Tools

microsoft_ad_list_users

Input

ParameterTypeRequiredDescription
topnumberNoNo description
filterstringNoOData filter expression (e.g., "department eq 'Sales'")
searchstringNoNo description

Output

ParameterTypeDescription
usersarrayList of users
userCountnumberNumber of users returned

microsoft_ad_get_user

Input

ParameterTypeRequiredDescription
userIdstringYesUser ID or user principal name (e.g., "user@example.com")

Output

ParameterTypeDescription
userobjectUser details
idstringUser ID
displayNamestringDisplay name
givenNamestringFirst name
surnamestringLast name
userPrincipalNamestringUser principal name (email)
mailstringEmail address
jobTitlestringJob title
departmentstringDepartment
officeLocationstringOffice location
mobilePhonestringMobile phone number
accountEnabledbooleanWhether the account is enabled

microsoft_ad_create_user

Input

ParameterTypeRequiredDescription
displayNamestringYesNo description
mailNicknamestringYesNo description
userPrincipalNamestringYesUser principal name (e.g., "user@example.com")
passwordstringYesNo description
accountEnabledbooleanYesNo description
givenNamestringNoNo description
surnamestringNoNo description
jobTitlestringNoNo description
departmentstringNoNo description
officeLocationstringNoNo description
mobilePhonestringNoNo description

Output

ParameterTypeDescription
userobjectCreated user details
idstringUser ID
displayNamestringDisplay name
givenNamestringFirst name
surnamestringLast name
userPrincipalNamestringUser principal name (email)
mailstringEmail address
jobTitlestringJob title
departmentstringDepartment
officeLocationstringOffice location
mobilePhonestringMobile phone number
accountEnabledbooleanWhether the account is enabled

microsoft_ad_update_user

Input

ParameterTypeRequiredDescription
userIdstringYesNo description
displayNamestringNoNo description
givenNamestringNoNo description
surnamestringNoNo description
jobTitlestringNoNo description
departmentstringNoNo description
officeLocationstringNoNo description
mobilePhonestringNoNo description
accountEnabledbooleanNoNo description

Output

ParameterTypeDescription
updatedbooleanWhether the update was successful
userIdstringID of the updated user

microsoft_ad_delete_user

Delete a user from Azure AD (Microsoft Entra ID). The user is moved to a temporary container and can be restored within 30 days.

Input

ParameterTypeRequiredDescription
userIdstringYesNo description

Output

ParameterTypeDescription
deletedbooleanWhether the deletion was successful
userIdstringID of the deleted user

microsoft_ad_list_groups

Input

ParameterTypeRequiredDescription
topnumberNoNo description
filterstringNoOData filter expression (e.g., "securityEnabled eq true")
searchstringNoNo description

Output

ParameterTypeDescription
groupsarrayList of groups
groupCountnumberNumber of groups returned

microsoft_ad_get_group

Input

ParameterTypeRequiredDescription
groupIdstringYesNo description

Output

ParameterTypeDescription
groupobjectGroup details
idstringGroup ID
displayNamestringDisplay name
descriptionstringGroup description
mailstringEmail address
mailEnabledbooleanWhether mail is enabled
mailNicknamestringMail nickname
securityEnabledbooleanWhether security is enabled
groupTypesarrayGroup types
visibilitystringGroup visibility
createdDateTimestringCreation date

microsoft_ad_create_group

Input

ParameterTypeRequiredDescription
displayNamestringYesNo description
mailNicknamestringYesNo description
descriptionstringNoNo description
mailEnabledbooleanYesNo description
securityEnabledbooleanYesNo description
groupTypesstringNoGroup type: "Unified" for Microsoft 365 group, leave empty for security group
visibilitystringNoGroup visibility: "Private" or "Public"

Output

ParameterTypeDescription
groupobjectCreated group details
idstringGroup ID
displayNamestringDisplay name
descriptionstringGroup description
mailstringEmail address
mailEnabledbooleanWhether mail is enabled
mailNicknamestringMail nickname
securityEnabledbooleanWhether security is enabled
groupTypesarrayGroup types
visibilitystringGroup visibility
createdDateTimestringCreation date

microsoft_ad_update_group

Input

ParameterTypeRequiredDescription
groupIdstringYesNo description
displayNamestringNoNo description
descriptionstringNoNo description
mailNicknamestringNoNo description
visibilitystringNoGroup visibility: "Private" or "Public"

Output

ParameterTypeDescription
updatedbooleanWhether the update was successful
groupIdstringID of the updated group

microsoft_ad_delete_group

Delete a group from Azure AD (Microsoft Entra ID). Microsoft 365 and security groups can be restored within 30 days.

Input

ParameterTypeRequiredDescription
groupIdstringYesNo description

Output

ParameterTypeDescription
deletedbooleanWhether the deletion was successful
groupIdstringID of the deleted group

microsoft_ad_list_group_members

Input

ParameterTypeRequiredDescription
groupIdstringYesNo description
topnumberNoNo description

Output

ParameterTypeDescription
membersarrayList of group members
memberCountnumberNumber of members returned

microsoft_ad_add_group_member

Input

ParameterTypeRequiredDescription
groupIdstringYesNo description
memberIdstringYesNo description

Output

ParameterTypeDescription
addedbooleanWhether the member was added successfully
groupIdstringgroupId output from the tool
memberIdstringMember ID that was added

microsoft_ad_remove_group_member

Input

ParameterTypeRequiredDescription
groupIdstringYesNo description
memberIdstringYesNo description

Output

ParameterTypeDescription
removedbooleanWhether the member was removed successfully
groupIdstringgroupId output from the tool
memberIdstringMember ID that was removed

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started