Microsoft Entra ID groups
Connecting your Microsoft Entra ID groups to NeuBird lets you manage who gets which role from Entra. Entra sends your users and groups to NeuBird over SCIM, a standard provisioning protocol. A NeuBird admin then gives each group a role, for the whole organization or for single projects, and everyone in the group gets it. When you add someone to a group in Entra, or remove them, their NeuBird role follows.
This guide is for two people working together: your Entra admin, who sets up provisioning in Entra, and your NeuBird admin, who gives the groups their roles. For how roles and groups work inside NeuBird, see Roles and permissions.
Before you start
Section titled “Before you start”- Sign-in through Entra is already working. Your team already signs in to NeuBird with Microsoft Entra ID. Provisioning uses a second Entra app next to that sign-in app.
- Groups are turned on for your organization. The Groups tab and each project’s Permissions settings appear once NeuBird turns on groups and project permissions for your organization. Ask your NeuBird contact if you don’t see them.
- Microsoft Entra ID P1 or P2. Assigning groups to an app needs a P1 or P2 license. Without it, Entra can’t send groups.
- Security groups that contain users directly. Entra only sends groups whose Security enabled property is on. It also doesn’t follow nested groups: a member of a group inside an assigned group isn’t sent. Assign the groups that contain the users themselves. Dynamic groups work.
- An email address on every user. Entra matches people by their user principal name and their Email (
mail) attribute. Users with no email, or with an email different from the one they sign in to NeuBird with, fail to provision.
Step 1: Get your SCIM details from NeuBird
Section titled “Step 1: Get your SCIM details from NeuBird”Ask NeuBird support for the SCIM details for your organization’s Entra sign-in. You receive two values:
- SCIM endpoint URL: the address Entra sends users and groups to.
- Bearer token: the secret Entra uses to authenticate. Store it like a password. It doesn’t expire, because Entra can’t renew it. To rotate it, ask NeuBird for a new token, update it in Entra, then ask NeuBird to revoke the old one.
Step 2: Create the provisioning app in Entra
Section titled “Step 2: Create the provisioning app in Entra”-
Open Enterprise applications: In the Microsoft Entra admin center, go to Entra ID > Enterprise apps and click New application.
-
Create your own application: Click Create your own application, enter a name such as NeuBird provisioning, choose Integrate any other application you don’t find in the gallery (Non-gallery) and click Create.
This is a separate app from the app registration your team signs in with.
Step 3: Assign groups
Section titled “Step 3: Assign groups”-
Open Users and groups: In the new app, open Users and groups and click Add user/group.
-
Assign your groups: Select every group you want NeuBird to know about and click Assign. Entra sends these groups, their members, and any individually assigned users.
-
Match the sign-in app: Assign the same users and groups to your NeuBird sign-in app. Someone assigned to one app but not the other either can’t sign in or doesn’t get their groups.
Note: People Entra sends to NeuBird don’t appear on NeuBird’s Users page until their first sign-in.
Step 4: Connect the app to NeuBird
Section titled “Step 4: Connect the app to NeuBird”-
Open provisioning: In the app, open Provisioning and click Get started (or New configuration). Set Provisioning Mode to Automatic.
-
Enter the SCIM details: Under Admin Credentials:
- Tenant URL: paste the SCIM endpoint URL from Step 1 and add
?aadOptscim062020to the end, for examplehttps://…/scim/v2?aadOptscim062020. This Microsoft setting makes Entra send standard SCIM updates, including correct removals from groups. Don’t leave it out. - Secret Token: paste the bearer token from Step 1.
- Tenant URL: paste the SCIM endpoint URL from Step 1 and add
-
Test and save: Click Test Connection. When Entra reports success, click Save.
Step 5: Set the mappings
Section titled “Step 5: Set the mappings”-
Turn on groups: Under Mappings, open Provision Microsoft Entra ID Groups and check that Enabled is Yes. Save.
-
Edit the user mappings: Open Provision Microsoft Entra ID Users and change two rows:
- The row with target attribute externalId (source mailNickname): change Source attribute to objectId.
- The row with target attribute emails[type eq “work”].value (source mail): set Match objects using this attribute to Yes and Matching precedence to 2.
Leave the userName row (source userPrincipalName) as the first match. Save and close.
-
Set the scope: Under Settings, set Scope to Sync only assigned users and groups. Optionally, add a Notification Email so Entra tells you if provisioning stops working.
Step 6: Test and start provisioning
Section titled “Step 6: Test and start provisioning”-
Test one user: Open Provision on demand, search for a user from an assigned group and click Provision. Entra shows each step and whether it succeeded.
-
Start provisioning: Back on Provisioning, set Provisioning Status to On and click Save.
Entra’s first cycle sends all assigned users and groups. After that, it sends changes about every 40 minutes. You can follow progress on the Provisioning page and in Provisioning logs.
Step 7: Give the groups roles in NeuBird
Section titled “Step 7: Give the groups roles in NeuBird”Your NeuBird admin does this part.
-
Open the Groups tab: Go to Users > Groups. An assigned group appears here once Entra has sent it and one of its members has signed in to NeuBird. To fetch it sooner, click Sync from identity provider.
-
Set an organization role: Select the group and choose a Default role: Developer, Investigator, Viewer or Blocked. Members get that role across NeuBird. A group can never make someone an admin. Choose No default role if the group should only give project roles.
-
Set project roles (optional): In a project’s settings, open Permissions and click Add override > Add group override. Pick the group and the role it gives in that project. Use this to give a team more access in its own project, or to restrict a project to selected groups.
Roles that an admin set directly on a user are kept. A group’s role doesn’t replace them. See How a user’s role is decided.
How changes reach NeuBird
Section titled “How changes reach NeuBird”A change in Entra takes two hops: Entra sends it at its next provisioning cycle (about every 40 minutes), and NeuBird reads it at the person’s first sign-in, then at the daily sync.
| You do this in Entra | What happens in NeuBird |
|---|---|
| Add someone to an assigned group | They get the group’s roles once Entra sends the change, at their first sign-in or at the daily sync once they’ve signed in before |
| Remove someone from an assigned group | They lose the group’s roles once Entra sends the change, at the daily sync |
| Assign a new group to the app | It appears on the Groups tab once Entra sends it and a member signs in, or after Sync from identity provider |
| Rename an assigned group | The new name appears in NeuBird, and its roles stay the same |
| Unassign someone, disable them or delete them | NeuBird blocks their account and ends their sessions, so they can no longer sign in |
- To skip the wait in Entra, use Provision on demand on the group (pick up to five members), or Restart provisioning to run a full cycle.
- To skip the wait in NeuBird, a NeuBird admin clicks Sync from identity provider on the Groups tab.
- When someone is in several groups with different roles, NeuBird uses the highest by default. Admins can switch this to the lowest with When a user’s groups conflict on the Groups tab. See When groups conflict.
- If you delete a group in Entra and assign a new one with the same name, NeuBird treats it as a new group. Give it its roles again.
Removing someone’s access
Section titled “Removing someone’s access”Remove access in Entra, not in NeuBird. Unassign the person from the NeuBird apps, remove them from the assigned groups, or disable their Entra account. At the next cycle Entra deactivates them in NeuBird, and they can no longer sign in. Assigning them again restores their account.
Deleting a user on NeuBird’s Users page doesn’t change anything in Entra. While they’re still assigned in Entra, they can sign right back in. They return with your organization’s default role for new users, but without their group memberships until Entra sends them again. See A user was deleted in NeuBird and came back without their groups.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause |
|---|---|
| Test Connection fails | The token was copied incompletely, or the Tenant URL was changed beyond adding ?aadOptscim062020 |
| A user fails in Provisioning logs with a conflict or matching error | Their Email attribute is empty, or differs from the email they sign in to NeuBird with |
| A group doesn’t appear on the Groups tab | The group isn’t assigned to the provisioning app, isn’t a security group, or none of its members has signed in to NeuBird yet |
| A group shows 0 members, or a user shows no groups | The user is in a nested group, Entra hasn’t run a cycle since the change, or NeuBird hasn’t read their groups since |
| Provisioning has slowed to once a day | Entra put the app in quarantine after repeated errors. Fix the errors in Provisioning logs; it recovers at the next cycle |
| Someone removed in NeuBird can still sign in | They’re still assigned to the apps in Entra |
| A group’s role doesn’t change one user’s role | An admin set that user’s role directly, which takes priority over groups |
A group shows 0 members, or a user has no groups
Section titled “A group shows 0 members, or a user has no groups”- In Entra, check that the group is listed under the provisioning app’s Users and groups, and that the user is a direct member of it.
- Check Provisioning logs for the user and the group. If the last cycle predates the change, use Provision on demand on the group and pick the user.
- Have a NeuBird admin click Sync from identity provider.
A user was deleted in NeuBird and came back without their groups
Section titled “A user was deleted in NeuBird and came back without their groups”Deleting a user in NeuBird also removes their group memberships there. Entra only sends a membership again when it changes on the Entra side, so when they sign back in they have the default role and no groups.
- Have the user sign in to NeuBird once, so their account exists again.
- In Entra, open Provision on demand, search for each of their groups, pick the user and click Provision. Alternatively, wait for the next cycle after removing them from the group and adding them back.
- Click Sync from identity provider in NeuBird.
If you meant to remove the person, unassign them in Entra instead. See Removing someone’s access.