---
sourceDocument: Brazil IT Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/it-service-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil IT Service Management

ft:clusterId :

    - itsm

bundleId :

    - itsm

workflow :

    - Technology


---

# Manage Microsoft 365 group members

# IT Service Management AI agent collection Manage Microsoft 365 group members agentic workflow {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) 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 ServiceNow customers to efficiently add or remove users from Microsoft 365 email distribution lists.
This workflow leverages the Microsoft 365 group membership AI agent to automate member management within Microsoft 365 groups directly from ServiceNow.
Show full answer Show less  
To use this workflow, the Microsoft Entra ID spoke (formerly Microsoft Azure Active Directory spoke) must be installed. The workflow is manually invoked within AI Agent Studio and does not have an automatic trigger.

## Key Features

* **Automated member management:** Add or remove users and their email addresses in Microsoft 365 groups through an AI-powered workflow.
* **Approval process integration:** Optionally require approvals for membership changes by setting system properties. By default, approvals are enabled via the `snitsmaia.office365groupmemberapproval.required` property.
* **Customizable workflow:** Duplicate and modify the agentic workflow to tailor it to your organization's requirements. When modifying, ensure all related instructions and access control lists (ACLs) are updated accordingly.
* **Role-based access control:** Control which roles can access and execute the workflow; the `itil` role is assigned by default but can be changed with corresponding ACL updates.
* **Notification and task guidance:** Human agents are notified within AI Agent Studio when users are added or removed, with on-screen instructions to complete the process.

## Practical Use and Configuration

* **Enable AI agent:** Ensure the Microsoft 365 group membership AI agent's Status is enabled in the Define availability screen to activate it.
* **Approval settings:** Configure system properties to require or bypass approvals for membership changes. Specify the approval group's sysid when approvals are needed.
* **Workflow execution:** Access the workflow via AI Agent Studio under All \> AI Agent Studio \> Create and manage, then select Manage Microsoft 365 group members.
* **Access control:** Assign roles that can view and execute the workflow output, modifying ACLs as necessary if role changes are made.
* **Testing:** After setup, use the Save and test option to execute and validate the workflow's functionality.

## Benefits for ServiceNow Customers

* Streamlines Microsoft 365 group membership management through automation integrated into ServiceNow.
* Provides flexibility with approval workflows to meet organizational compliance and governance needs.
* Improves operational efficiency by notifying agents and guiding them through membership changes.
* Offers customization and role-based control to align with your ITSM processes and security policies.  
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 {#now-assist-itsm-aiagents-O365-groupmembers-workflow__section_b25_wzj_h2c}

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:  
* 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)](https://www.servicenow.com/docs/access?context=microsoft-azure-ad-spoke&version=brazil&pubname=brazil-integrate-applications&ft:locale=en-US).
* After you add or remove users to the group using the Microsoft 365 agentic workflow, follow the instructions listed in the table.{#now-assist-itsm-aiagents-O365-groupmembers-workflow__table_xvf_npv_w2c__entry__2}

  | If | Do this |
  |-|-|
  | You want the workflow output of adding or removing users to go through an approval process. | 1. [Add the sn_itsm_aia.office_365_group_member_approval.required system property](https://www.servicenow.com/docs/access?context=r_AvailableSystemProperties&version=brazil&pubname=brazil-platform-administration&ft:locale=en-US). Note: This property is set to true by default. 2. [Add the sn_itsm_aia.office_365_group_member_approval.group_id system property](https://www.servicenow.com/docs/access?context=r_AvailableSystemProperties&version=brazil&pubname=brazil-platform-administration&ft:locale=en-US). 3. 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. 4. Add users that you'd like to approve the output for this agentic workflow in the Office 365 Approval group. {#now-assist-itsm-aiagents-O365-groupmembers-workflow__ol_cmz_gqv_w2c} |
  | 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. |
  [ ]

  {#now-assist-itsm-aiagents-O365-groupmembers-workflow__table_xvf_npv_w2c}
{#now-assist-itsm-aiagents-O365-groupmembers-workflow__ul_m24_4gb_s2c}  
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](https://www.servicenow.com/docs/access?context=clone-aia-usecase&version=brazil&pubname=brazil-intelligent-experiences&ft:locale=en-US), 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 {#now-assist-itsm-aiagents-O365-groupmembers-workflow__section_yjy_lhk_h2c}

Autonomously manage adding and removing users in a Microsoft 365 email distribution list.  
To access the agentic workflow:

1. Navigate to AllAI Agent StudioCreate and manage.
2. Select Manage Microsoft 365 group members.
{#now-assist-itsm-aiagents-O365-groupmembers-workflow__ol_qsk_tjc_j2c}

## AI agents used in the Manage Microsoft 365 group members agentic workflow {#now-assist-itsm-aiagents-O365-groupmembers-workflow__section_ffh_1lc_j2c}

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 {#now-assist-itsm-aiagents-O365-groupmembers-workflow__section_jy3_grc_j2c}

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
      {#now-assist-itsm-aiagents-O365-groupmembers-workflow__ul_hfp_zrm_hgc}
   3. Select Save and test.

      The agent executes the request for the agentic workflow.
   {#now-assist-itsm-aiagents-O365-groupmembers-workflow__ol_oth_1sc_j2c}
{#now-assist-itsm-aiagents-O365-groupmembers-workflow__ol_xtj_trc_j2c}
Example of the Manage Microsoft 365 group members agentic workflow output in the ServiceNow AI Agent Studio

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 ServiceNow Otto panel](https://www.servicenow.com/docs/nOHYiJ8nSl69M_RFge~dzw "Use the ServiceNow Otto panel to request the contextual generative AI capabilities in IT Service Management (ITSM) such as a chat summary, incident summary, or incident resolution notes in a conversational manner. You can also add comments and work notes. These capabilities provide you with a quick resolution to issues.").

*[\>]: and then


