IT Service Management AI agent collection Manage Microsoft 365 group members agentic workflow

  • Release version: Yokohama
  • Updated July 31, 2025
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of IT Service Management AI Agent Collection: Manage Microsoft 365 Group Members Agentic Workflow

    The Manage Microsoft 365 group members agentic workflow enables users to add or remove members from a Microsoft 365 email distribution list. This functionality is accessible through the Microsoft 365 group membership AI agent, which requires the installation of the Microsoft Entra ID spoke.

    Show full answer Show less

    Key Features

    • Approval Process: To implement an approval process for adding or removing users, set the snitsmaia.office365groupmemberapproval.required property to true and specify the group ID for approvals.
    • Manual Invocation: The workflow does not have a trigger and must be manually invoked.
    • Modification: Users can duplicate and modify the workflow settings as needed, ensuring to update all instructions accordingly.
    • AI Agent Activation: Ensure the status field for the AI agent is enabled for it to function properly.

    Key Outcomes

    By utilizing this agentic workflow, customers can efficiently manage Microsoft 365 group memberships, streamline communication processes, and ensure that membership changes are tracked and approved as needed. Notifications are sent to human agents upon changes, allowing for timely task completion.

    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.

    Important:
    Note:
    The Manage Microsoft 365 group members agentic workflow doesn’t have a trigger and is invoked manually.

    To modify the Manage Microsoft 365 group members agentic workflow, duplicate it, and adjust the settings according to your requirements.

    Important:
    When you modify an agentic workflow, AI agent, or tool, make sure that you update all instructions accordingly.

    Manage Microsoft 365 group members

    Autonomously manage adding and removing users in a Microsoft 365 email distribution list.

    To access the agentic workflow:
    1. Navigate to All > AI Agent Studio > Create and manage.
    2. 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.

    Important:
    In the Define availability screen for the AI agent, make sure that the Status field is enabled to activate the AI agent.

    Add or remove group members in a Microsoft 365 group

    In the agentic workflow record:
    1. 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.
    2. In the Select display screen:
      1. Choose where you want the agentic workflow output to be displayed.
      2. Use the arrow next to it to add roles that can access the agentic workflow.
        Note:
        The itil role is added by default. You can change the role for the agent. If you change the role, you must also change the role in the following three flow and flow action ACLs:
        • sn_itsm_aia.look_up_group
        • sn_itsm_aia.look_up_user
        • sn_itsm_aia.manage_office_365_group_member
      3. Select Save and test.

        The agent executes the request for the agentic workflow.

    Example of the Manage Microsoft 365 group members agentic workflow output in the ServiceNow AI Agent StudioMicrosoft 365 group members agentic workflow output.

    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.