Skip to main content

Using Security Groups to Select Users

Sync policies select users by Microsoft Entra ID security group. Every member of the groups on a policy is included, and changes to group membership in Entra ID are picked up automatically. This article covers what you need in place, how to add groups to a policy, and how quickly changes take effect.

From version 2.2, security groups are the only way to select users. A policy needs at least one group and cannot be saved without one. The query builder, which matched users by department, job title or employee type, has been removed.

Before you start

CloudM Continuity reads group membership from your Microsoft 365 tenant. The app registration used by your Microsoft 365 connection needs these two Microsoft Graph application permissions as well as the ones required for mail:

  • Group.Read.All
  • GroupMember.Read.All

Add both permissions in the Microsoft Entra admin centre and grant admin consent. Because every policy now uses groups, these permissions are required for every tenant. If you set up your Microsoft 365 connection before September 2026, they may not be on your app registration yet. See Connecting Microsoft 365 for the full permission list and setup steps.

Once the permissions are granted, open Connections and check that Groups shows as Connected for your Microsoft 365 connection. If it shows anything else, run Test connection and check the Groups row again. You cannot resolve groups in a policy until this row is connected.

You also need Admin or Super Admin access to your CloudM Continuity tenant.

Finding a group's Object ID

CloudM Continuity identifies groups by their Entra ID Object ID, which is a UUID such as 8e2a1c0b-.... There is no search or browse; you paste the ID in. The group's display name or email address will not work.

To find the Object ID:

  1. Sign in to the Microsoft Entra admin centre.
  2. Go to Groups, then All groups.
  3. Select the group.
  4. On the Overview page, copy the value shown as Object ID.

Adding groups to a policy

  1. Go to Policies in the sidebar and open the policy you want to change, or click Create policy.
  2. Under User selection, paste the group's Object ID into the Entra ID group Object ID field and click Add.
  3. Repeat for each group you want to include. You can add up to 10 groups per policy. The counter shows how many you have added, and once you reach 10 the field is disabled with the tooltip "Maximum 10 groups can be added". Duplicate IDs and values that are not a valid Object ID are rejected.
  4. Click Check users. CloudM Continuity looks up each group through your Microsoft 365 connection and shows the group's display name with a member count. If a group cannot be found you will see the warning "Unable to resolve group name — verify the ID is correct." Check that you copied the full Object ID and that Groups shows as Connected on the Connections page.
  5. Finish the rest of the policy form and click Save (or Create policy for a new policy).

Groups are looked up automatically whenever you reopen the policy, so you do not need to click Check users again just to see the names and counts.

When you activate a policy, or save changes to an active one, a confirmation shows how many users the policy's groups contain. With more than one group the figure reads "Up to", because a user who is in several of the groups is counted once for each. If the groups are empty, you are told that the policy currently applies to 0 users; you can still save and change the groups later.

Who is included

  • A user only needs to be a member of one of the policy's groups to be included.
  • Nested groups are followed. If a group contains other groups, their members are included too.
  • Only members of your Microsoft 365 tenant are included. Guest accounts are left out, even when they are in a group.
  • Only members with a Microsoft 365 licence assigned are included. Unlicensed accounts in a group are left out.

How membership changes are picked up

CloudM Continuity checks the membership of every group used by an active policy every 30 minutes. Each check picks up only what has changed since the last one. Once a check finishes, the changes are applied within a few minutes, so allow up to about 40 minutes between changing a group in Entra ID and seeing it on the Sync Status page.

Change in Entra ID What happens
A user is added to a policy's group The user is picked up at the next membership check and starts syncing under the highest-priority active policy that includes them
A user is added to a second group that belongs to another policy The user moves to the other policy only if it has a higher priority. Otherwise nothing changes
A user is removed from a group The user moves to the next active policy that includes them, if there is one
A user is removed from every group used by your policies The user no longer has a policy and is no longer synced. They stay listed on the Sync Status page, with a dash in the Policy column

The policy does not show when membership was last checked.

How policy changes take effect

Changes you make to an active policy do not wait for the next membership check. They are normally applied within 7 minutes. It can take a little longer if a membership check is running at the time.

Change to a policy What happens
Activate a policy Members of its groups are assigned to it, unless a higher-priority policy already includes them. If the policy uses a group that no other active policy uses, its members are read at the next membership check first
Deactivate a policy Its users move to the next active policy that includes them, or are left with no policy
Reorder policies Users who are in more than one policy move to whichever is now highest in the list
Add or remove a group Members of the groups you added join the policy, unless a higher-priority policy already includes them. Members of the groups you removed move to their next policy, or are left with no policy
Add an item type, such as Calendar Users already syncing under the policy get an initial sync for the new item type on the next sync run. Which policy each user is under does not change
Edit an inactive policy Nothing changes until you activate it

What you see once the policy is running

The policy form shows the groups you selected, each with its display name and member count, but does not list the individual members. The members appear on the Sync Status page with their applied policy. The Dashboard's sync pipeline shows aggregate counts in the same way as for any policy.

Limitations

  • You can use any Entra ID group: security groups, mail-enabled security groups, Microsoft 365 groups and distribution lists. Dynamic membership groups work too.
  • A policy must have at least one group and can hold up to 10.
  • Groups are added by Object ID only. There is no search, browse or picker.
  • There is no option to add individual users by hand, and no option to include every user in the tenant without a group. To cover everyone, use a security group that contains everyone.
  • Guest accounts and members without a Microsoft 365 licence are not synced.
  • Membership changes are picked up every 30 minutes, not in real time.

Using groups with multiple policies

Different policies can target different groups, for example an hourly policy for one group and a daily policy for another. If a user is a member of groups in more than one active policy, the highest-priority active policy applies to them. Your licence counts unique users across all policies, so a user who appears in several groups or policies counts once. See Using multiple sync policies for how priority is resolved.

Next: Creating a sync policy

Was this article helpful?
0 out of 0 found this helpful