Home › Knowledgebase › Getting Started › Choose who Alira provisions
Getting Started

Choose who Alira provisions

Provision everyone into Alira through one dynamic group of enabled users, and keep it separate from the groups that build your organisation units.

~6 min read
Entra › Groups
All plans

One group for everyone

Don’t reuse your OU groups for provisioning. If the groups that build your organisation units also decide who’s provisioned, giving someone extra Alira rights means taking them out of that group, and they drop out of their OU. One all-users group with explicit exclusions avoids this.
⚠ One Alira role per user. A user can’t be in two groups mapped to different Alira roles on the same SCIM app. Give each user one role only.
1

Create the all-users group

  1. In Entra, go to Groups › New group. Choose Security, give it a clear name such as Alira - Contoso - All users, and set Membership type to Dynamic User
  2. Select Add dynamic query and add these rules:
  • accountEnabled Equals true
  • userPrincipalName Ends With your domain
  • userPrincipalName Not Equals, once for each account you’ll give a different Alira role, such as your Workspace Owners
  • userType Not Equals Guest, so invited guests stay out
Entra — Dynamic membership rules
Dynamic membership rule for accountEnabled Equals true
Only enabled accounts.
Entra — Dynamic membership rules
Dynamic membership rules filtering userPrincipalName by domain
Limit the group to your domain.
  1. Open Validate Rules, add a few users, including the ones you excluded, and check the results. Then select Save and Create
Entra — Dynamic membership rules › Validate Rules
Validate Rules results for a sample of users
Check your exclusions work before saving.

Why a dynamic group?

Dynamic groups add and remove people based on their attributes. When someone joins or leaves, their Alira access follows without anyone lifting a finger.

2

Assign it to the SCIM app

  1. Open your SCIM app in Enterprise apps, go to Users and groups › Add user/group, select the group and give it the Workspace User role
  2. Assign anyone you excluded from the group separately, with their own role
  3. Go to Overview and select Start provisioning. In a large tenant the first cycle takes a while. Watch the member count grow on Members in Alira
Entra — SCIM app › Overview
SCIM app overview with Start provisioning
Start provisioning when you’re happy with the group.

Troubleshooting

A guest was provisioned as a standard user

Add the userType Not Equals Guest rule. Dynamic group changes can take a while to apply in a large tenant.

I need to give someone a different role

Exclude them from the all-users group and assign them directly with their own role. See Setting up Custom Roles.