Setting up Custom Roles
Create a custom role in Alira, link it to an app role in Microsoft Entra ID, and everyone provisioned into it gets the right permissions and platform licences automatically.
Overview
Every Alira member has one role, which controls what they can see and do. Roles reach Alira through SCIM: you assign people to an app role on the enterprise app that provisions Alira in Microsoft Entra ID, and Alira picks the role up from there.
System roles are built in and don’t carry licences, so members on a system role need their licences assigned by hand on the Licensing page. Custom roles carry licences with them: members inherit them as soon as they’re provisioned into the role. Either way, licences are removed when the account is disabled in Entra and SCIM disables it in Alira.
| System roles | Custom roles | |
|---|---|---|
| Permissions | Fixed. Duplicate one to customise it | You choose, page by page (Create, Read, Update, Delete) |
| Licence assignment | Manual, per member | Automatic, inherited from the role |
| Licence removal | Automatic when SCIM disables the account | Automatic when SCIM disables the account |
| Provisioned via | Entra app role assignment (SCIM) | Entra app role assignment (SCIM) |
Before you start
What you’ll need
- In Alira, the Workspace Owner role, or a custom role with full Create, Read, Update and Delete permissions on Admin Roles.
- In Microsoft Entra ID, one of: Application Administrator, Cloud Application Administrator, or owner of the Alira SCIM enterprise app.
- The name of the enterprise app that provisions users into Alira over SCIM.
- To assign groups (not just individual users) to the app role, Microsoft Entra ID P1 or P2.
Create the custom role in Alira
Start from a system role if you want the same functionality plus a few extras. Start from scratch if you want full control.
Open Roles
- Go to Dashboard, then Administration › Roles
- You’ll see your Custom Roles and, below them, the built-in System Roles
Option A: duplicate a system role
- In System Roles, open the ⋮ menu on the role you want to build on
- Select Duplicate Role. The copy keeps all of the original role’s permissions
Option B: start from scratch
- Select Create Role
- Enter a Name and Description, then select Create
- You’ll set permissions and licences once the role exists
Configure licences and permissions
Open the role from the Roles list. Everything you need is under Actions.
Choose the licences the role grants
- Select Actions › Edit licenses
- Tick the platform licences this role should grant. Core Platform is always included
- Select Save changes. Anyone provisioned into this role inherits these licences automatically
Edit the name and description
- Select Actions › Edit information to change the role’s name or description
Set the permissions
- Select Actions › Edit permissions
- Alira uses role-based access control with a Create, Read, Update and Delete model for every page on the platform. Tick what members of this role can see and do
- Save your changes
Copy the SCIM Role Name
- In Role Details, find the SCIM Role Name (for example
CR_TEST_ROLE) - Copy it with the copy icon. You’ll paste it into Entra in the next step
Add the role to the SCIM app in Entra
Alira reads role assignments from the enterprise app that provisions it, so the custom role needs a matching app role there.
Find the SCIM app
- In the Microsoft Entra admin center, go to Enterprise apps
- Search for and open the SCIM app that provisions Alira
Open the app registration
- Select Properties
- Select the application registration link
Create the app role
- Select App roles › Create app role
- Fill in the form using the settings below, then select Apply
App role settings
- Display name: anything recognisable. Using the SCIM Role Name keeps it simple
- Allowed member types: Users/Groups
- Value: paste the SCIM Role Name exactly. This is what Alira matches on
- Description: anything meaningful
- Do you want to enable this app role? ticked
- The new app role appears in the list. Every app role on the SCIM app must have a unique value
Assign users to the role
Test with one user before you roll the role out.
Assign a test user
- In the enterprise app, open Users and groups › Add user/group
- Pick a test user, open Select a role and choose your new role
- Select Assign
Provision on demand
- Open Provisioning › Provision on demand
- Select the test user and run it
- Check the user appears in Alira with the right role and licences (see Check it worked)
Roll it out
- Once the test works, assign the rest of your users or groups the same way
- SCIM provisioning brings them into Alira with the custom role on its next cycle
Check it worked
- Open the role in Alira. Provisioned users appear under Members Assigned
- Open a member. Their Role shows the custom role
- Change the role’s licences at any time with Actions › Edit licenses. Every member of the role picks up the change
- On Licensing, search for the member. Assigned shows licences given manually; Inherited shows licences that come from their custom role
Troubleshooting
My role isn’t in Entra’s Select a role list
New app roles can take a few minutes to show up. Wait, then refresh the page.
The user isn’t showing on the role in Alira
Check the app role’s Value matches the SCIM Role Name exactly, including case, and that a provisioning cycle has run since you assigned the user. The enterprise app’s provisioning logs show what was sent.
Provisioning fails with a multiple claims error
The user has more than one app role on the SCIM app, or two app roles share the same value. Leave each user with a single role and make sure every app role value is unique.
Licences aren’t being inherited
Check the licences are ticked under Actions › Edit licenses on the role, and that the member is listed under Members Assigned.















