---
title: Granting roles through Microsoft Entra or Google Workspace groups
description: "Let the members of a group in your Microsoft Entra or Google Workspace directory hold an Illizeo role: declare the group, add it to a role, and understand the hourly re-read."
url: "https://illizeo.com/en/centre-aide/integrations-directory-groups-and-roles/"
updated: "2026-11-26"
category: "Platform / Integrations & API"
---

# Granting roles through Microsoft Entra or Google Workspace groups

Your IT department already manages groups in Microsoft Entra ID or Google Workspace (HR, Finance…). Illizeo can use them to assign its roles: each member of the group holds the role and loses it on leaving the group. This article covers the directory side of this criterion. General management of a role's members is described in [Assigning a role to employees](https://illizeo.com/en/centre-aide/roles-assign-a-role/).

## Before you start

- Permissions, Roles & permissions section of the matrix: **View role cards** and **View role members** (**Access** level) to open the role; **Configure dynamic members (criteria pools)** (**Execute** level) to declare groups and add them to a role. By default, this last permission is reserved for the Administrator role.
- Microsoft Entra ID: the connector must be connected in **Applications › External Connectors** (see [Microsoft Entra ID: provisioning accounts](https://illizeo.com/en/centre-aide/integrations-entra-id-provisioning/)). No additional consent is requested.
- Google Workspace: the Google Workspace directory sync must be connected (see [Google Workspace: syncing the directory](https://illizeo.com/en/centre-aide/integrations-google-workspace-directory/)).

## Who is recognised in a group

Illizeo never matches a group member by email address. It recognises an active employee by the identifier of their account:

- **Microsoft Entra ID**: the account linked by provisioning or, failing that, the account the employee used at least once to sign in to Illizeo with Microsoft single sign-on. Provisioning is therefore not required.
- **Google Workspace**: the account linked by the Google Workspace directory sync.

Members of nested groups count as members of the group. An employee without a recognised account does not receive a role through a group.

## Declaring a group

1. Open **Settings › Manage Employees › Employee Roles**, choose a role, then the **Authorized population** tab.
2. Under **Dynamic members (by criteria)**, click **Manage directory groups** below a directory group criterion, or **No directory group declared yet — declare one**. The **Directory groups** window opens.
3. Choose **Microsoft Entra** or **Google Workspace**.
4. Enter the Entra group's **Object ID** (in the Entra portal: Groups, then the group, then its Object ID), or the Google **Group address**, for example rh@entreprise.com.
5. Enter a **Label** (for example HR): Illizeo does not read the names of Microsoft groups.
6. Click **Add**. “Group added.” appears and Illizeo reads its members straight away.

For each group, the list shows its label, its number of members, its **Last read** date and the roles it grants (**Grants**). A group marked “Never read — cannot grant a role yet.” could not be read yet: its error is shown in red.

## Letting a group hold a role

1. In the role's **Authorized population** tab, **Dynamic members (by criteria)** block, click **+ Add a group**, then **+ Directory group**.
2. Choose one or more groups. Only groups that have been read at least once are offered.
3. The choice saves itself: “Authorized population saved.” appears.

![Dynamic members (by criteria) block of a role, with its add group button](https://i0.wp.com/illizeo.com/wp-content/uploads/2026/11/integrations-groupes-d-annuaire-et-roles-02.en_.png?resize=800%2C138&quality=80&ssl=1)
A role’s criteria groups, where a directory group is set

The group only defines who holds the role. The population the role applies to is set separately (see [Defining a role's target population](https://illizeo.com/en/centre-aide/roles-target-population/)).

## How groups are re-read

- Illizeo re-reads the members of every declared group every hour. An employee removed from a group loses the role within an hour.
- The window's **Synchronise now** button re-reads immediately and shows “Synchronised: N in, N out”. It also reports the number of active employees without a linked directory account, who cannot receive a role through a group.
- The re-read is all or nothing: if it fails, nothing is changed and the previous state stays in place.
- Each change of members is recorded in the role's history: “Directory group {label} synchronised”.
- An employee in a separation-of-duties conflict does not receive the role.

## Common errors

| Message | Cause |
| --- | --- |
| “A directory group cannot grant an administration role.” | The criterion is neither offered nor accepted on an administration role. |
| “This directory group has not been synchronised with Microsoft Entra yet.” | The group has never been read. |
| “Microsoft Entra is not connected: an Entra administrator must first grant consent from the Applications page.” | The Microsoft Entra ID connector is not connected. |
| “Google Workspace is not connected: configure its directory sync from the Applications page first.” | The Google Workspace directory sync is not connected. |
| “This group does not exist in Google Workspace.” | The address entered does not match any Google group. |
| “Synchronisation with Microsoft Entra failed: …” or “Synchronisation with Google Workspace failed: …” | Microsoft or Google refused the read or is limiting calls; the reason follows. The next re-read tries again. |

## Removing a group

1. Remove the group from every role that uses it (**Authorized population** tab).
2. In the **Directory groups** window, click the group's **Remove** bin icon: “Group removed.” appears. While a role still uses the group, the bin is greyed out: “Remove it from its roles first.”

## Good to know

- A group adds to the other ways of holding the role (individual addition, other criteria) without replacing them.
- If you disconnect Microsoft Entra ID, Entra groups stop being re-read without any message, and roles already granted are kept. Remove the groups from the roles before disconnecting.
- A group deleted in Google is kept with its error: its members keep the role until an administrator removes the group.
- Illizeo never changes the groups in your directory: it only reads them.
- A group's label cannot be edited: remove the group and declare it again.

### *Similaire*
