IT Service Management AI agent collection Manage Microsoft 365 group members agentic workflow
Summarize
Summary of IT Service Management AI agent collection Manage Microsoft 365 group members agentic workflow
The Manage Microsoft 365 group members agentic workflow enables ServiceNow customers to autonomously add or remove users in Microsoft 365 email distribution groups. This workflow integrates with Microsoft Entra ID (formerly Microsoft Azure Active Directory) to manage group membership effectively within the ServiceNow IT Service Management environment.
Show less
To use this workflow, the Microsoft Entra ID spoke must be installed. The workflow does not have an automatic trigger and must be invoked manually through AI Agent Studio.
Key Features
- Group Member Management: Add or remove users from Microsoft 365 distribution lists directly from ServiceNow.
- Approval Process Configuration: Optionally route membership changes through an approval process by configuring system properties such as
snitsmaia.office365groupmemberapproval.requiredand specifying the approval group viasnitsmaia.office365groupmemberapproval.groupid. By default, approval is enabled but can be disabled if not needed. - AI Agent Integration: Utilizes the Microsoft 365 group membership AI agent to look up groups and manage members.
- Role-Based Access: Control which user roles can access and execute the workflow, with the itil role included by default.
- Customizability: The workflow can be duplicated and modified to suit specific customer requirements, with the caveat to update all relevant instructions when making changes.
Using the Workflow
Customers can access the workflow by navigating to All > AI Agent Studio > Create and manage and selecting the Manage Microsoft 365 group members workflow. After reviewing and configuring the workflow screens (Describe and connect, Define trigger, Select display), the workflow can be saved and tested.
Upon execution, the AI agent processes the request to add or remove users. Human agents receive notifications in AI Agent Studio to complete any required actions, following on-screen guidance.
Why This Matters
This workflow streamlines Microsoft 365 group membership management by automating user additions and removals while maintaining compliance through optional approvals. It reduces manual administration overhead and integrates smoothly with existing ServiceNow ITSM processes and security roles.
Use the Microsoft 365 group membership AI agent to manage users in the Microsoft 365 email distribution list.
Manage Microsoft 365 group members agentic workflow overview
Using the Manage Microsoft 365 group members agentic workflow, add or remove names and their email address from the Microsoft 365 email distribution list.
- To enable the Manage Microsoft 365 group members agentic workflow, you must install the Microsoft Entra ID spoke. For more information, see Microsoft Entra ID Spoke (formerly Microsoft Azure Active Directory spoke).
- After you add or remove users to the group using the Microsoft 365 agentic workflow, follow the instructions listed in the table.
If Do this You want the workflow output of adding or removing users to go through an approval process. - Add the sn_itsm_aia.office_365_group_member_approval.required system property.Note:This property is set to true by default.
- Add the sn_itsm_aia.office_365_group_member_approval.group_id system property.
- Add the sys_id of the group that you want to use for approvals as the value of the sn_itsm_aia.office_365_group_member_approval.group_id system property.
- Add users that you'd like to approve the output for this agentic workflow in the Office 365 Approval group.
You don’t want the workflow output of adding or removing users to go through an approval process. Set the sn_itsm_aia.office_365_group_member_approval.required system property to false. - Add the sn_itsm_aia.office_365_group_member_approval.required system property.
To modify the Manage Microsoft 365 group members agentic workflow, duplicate it, and adjust the settings according to your requirements.
Manage Microsoft 365 group members
Autonomously manage adding and removing users in a Microsoft 365 email distribution list.
- Navigate to .
- Select Manage Microsoft 365 group members.
AI agents used in the Manage Microsoft 365 group members agentic workflow
The Microsoft 365 group membership AI agent is used to look up Microsoft 365 groups and add or remove members from the email distribution list.
Add or remove group members in a Microsoft 365 group
- Review the information in the Describe and connect screen and in the Define trigger screen, make the necessary updates, and then select Save and Continue.
- In the Select display screen:
- Choose where you want the agentic workflow output to be displayed.
- Use the arrow next to it to add roles that can access the agentic workflow.Note:The itil role is added by default.
- Select Save and test.
The agent executes the request for the agentic workflow.
In the AI Agent Studio, the human agent gets notified as soon as one or more users are added or removed so that they can follow the on-screen instructions and complete the task. For more information, see Request the generative AI capabilities in ITSM by using the Now Assist panel.