AptlyStar

Azure AD

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

Nutzungsanweisungen

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

Tools

microsoft_ad_list_users

List users in Azure AD (Microsoft Entra ID)

Eingabe

ParameterTypErforderlichBeschreibung
topnumberNeinMaximum number of users to return (default 100, max 999)
filterstringNeinOData filter expression (e.g., "department eq 'Sales'")
searchstringNeinSearch string to filter users by displayName or mail

Ausgabe

ParameterTypBeschreibung
usersarrayList of users
userCountnumberNumber of users returned

microsoft_ad_get_user

Get a user by ID or user principal name from Azure AD

Eingabe

ParameterTypErforderlichBeschreibung
userIdstringJaUser ID or user principal name (e.g., "user@example.com")

Ausgabe

ParameterTypBeschreibung
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

Create a new user in Azure AD (Microsoft Entra ID)

Eingabe

ParameterTypErforderlichBeschreibung
displayNamestringJaDisplay name for the user
mailNicknamestringJaMail alias for the user
userPrincipalNamestringJaUser principal name (e.g., "user@example.com")
passwordstringJaInitial password for the user
accountEnabledbooleanJaWhether the account is enabled
givenNamestringNeinFirst name
surnamestringNeinLast name
jobTitlestringNeinJob title
departmentstringNeinDepartment
officeLocationstringNeinOffice location
mobilePhonestringNeinMobile phone number

Ausgabe

ParameterTypBeschreibung
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

Update user properties in Azure AD (Microsoft Entra ID)

Eingabe

ParameterTypErforderlichBeschreibung
userIdstringJaUser ID or user principal name
displayNamestringNeinDisplay name
givenNamestringNeinFirst name
surnamestringNeinLast name
jobTitlestringNeinJob title
departmentstringNeinDepartment
officeLocationstringNeinOffice location
mobilePhonestringNeinMobile phone number
accountEnabledbooleanNeinWhether the account is enabled

Ausgabe

ParameterTypBeschreibung
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.

Eingabe

ParameterTypErforderlichBeschreibung
userIdstringJaUser ID or user principal name

Ausgabe

ParameterTypBeschreibung
deletedbooleanWhether the deletion was successful
userIdstringID of the deleted user

microsoft_ad_list_groups

List groups in Azure AD (Microsoft Entra ID)

Eingabe

ParameterTypErforderlichBeschreibung
topnumberNeinMaximum number of groups to return (default 100, max 999)
filterstringNeinOData filter expression (e.g., "securityEnabled eq true")
searchstringNeinSearch string to filter groups by displayName or description

Ausgabe

ParameterTypBeschreibung
groupsarrayList of groups
groupCountnumberNumber of groups returned

microsoft_ad_get_group

Get a group by ID from Azure AD (Microsoft Entra ID)

Eingabe

ParameterTypErforderlichBeschreibung
groupIdstringJaGroup ID

Ausgabe

ParameterTypBeschreibung
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

Create a new group in Azure AD (Microsoft Entra ID)

Eingabe

ParameterTypErforderlichBeschreibung
displayNamestringJaDisplay name for the group
mailNicknamestringJaMail alias for the group (ASCII only, max 64 characters)
descriptionstringNeinGroup description
mailEnabledbooleanJaWhether mail is enabled (true for Microsoft 365 groups)
securityEnabledbooleanJaWhether security is enabled (true for security groups)
groupTypesstringNeinGroup type: "Unified" for Microsoft 365 group, leave empty for security group
visibilitystringNeinGroup visibility: "Private" or "Public"

Ausgabe

ParameterTypBeschreibung
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

Update group properties in Azure AD (Microsoft Entra ID)

Eingabe

ParameterTypErforderlichBeschreibung
groupIdstringJaGroup ID
displayNamestringNeinDisplay name
descriptionstringNeinGroup description
mailNicknamestringNeinMail alias
visibilitystringNeinGroup visibility: "Private" or "Public"

Ausgabe

ParameterTypBeschreibung
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.

Eingabe

ParameterTypErforderlichBeschreibung
groupIdstringJaGroup ID

Ausgabe

ParameterTypBeschreibung
deletedbooleanWhether the deletion was successful
groupIdstringID of the deleted group

microsoft_ad_list_group_members

List members of a group in Azure AD (Microsoft Entra ID)

Eingabe

ParameterTypErforderlichBeschreibung
groupIdstringJaGroup ID
topnumberNeinMaximum number of members to return (default 100, max 999)

Ausgabe

ParameterTypBeschreibung
membersarrayList of group members
memberCountnumberNumber of members returned

microsoft_ad_add_group_member

Add a member to a group in Azure AD (Microsoft Entra ID)

Eingabe

ParameterTypErforderlichBeschreibung
groupIdstringJaGroup ID
memberIdstringJaUser ID of the member to add

Ausgabe

ParameterTypBeschreibung
addedbooleanWhether the member was added successfully
groupIdstringGroup ID
memberIdstringMember ID that was added

microsoft_ad_remove_group_member

Remove a member from a group in Azure AD (Microsoft Entra ID)

Eingabe

ParameterTypErforderlichBeschreibung
groupIdstringJaGroup ID
memberIdstringJaUser ID of the member to remove

Ausgabe

ParameterTypBeschreibung
removedbooleanWhether the member was removed successfully
groupIdstringGroup ID
memberIdstringMember ID that was removed

On this page