Home › Knowledgebase › Workspace Administration › Setting up Custom Roles
Workspace Administration

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.

~8 min read
Administration › Roles
Available on all plans

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 rolesCustom roles
PermissionsFixed. Duplicate one to customise itYou choose, page by page (Create, Read, Update, Delete)
Licence assignmentManual, per memberAutomatic, inherited from the role
Licence removalAutomatic when SCIM disables the accountAutomatic when SCIM disables the account
Provisioned viaEntra app role assignment (SCIM)Entra app role assignment (SCIM)
Enable Pro Ultimate
Want licences assigned automatically? Use a custom role. It’s the only way to have licences follow people in and out of Alira without touching the Licensing page.

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.
1

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

  1. Go to Dashboard, then Administration › Roles
  2. You’ll see your Custom Roles and, below them, the built-in System Roles
Alira — Administration › Roles
The Alira Roles page listing custom roles

Option A: duplicate a system role

  1. In System Roles, open the ⋮ menu on the role you want to build on
  2. Select Duplicate Role. The copy keeps all of the original role’s permissions
Alira — Roles › System Roles
System Roles list with the Duplicate Role option open
Note: System roles can’t be edited and don’t carry licences, so duplicating one is the only way to build on it.

Option B: start from scratch

  1. Select Create Role
  2. Enter a Name and Description, then select Create
  3. You’ll set permissions and licences once the role exists
Alira — Roles › Create Role
Create New Role dialog with Name and Description fields
2

Configure licences and permissions

Open the role from the Roles list. Everything you need is under Actions.

Choose the licences the role grants

  1. Select Actions › Edit licenses
  2. Tick the platform licences this role should grant. Core Platform is always included
  3. Select Save changes. Anyone provisioned into this role inherits these licences automatically
Alira — Roles › Test Role › Edit licenses
Edit Licenses dialog with Core Platform required

Edit the name and description

  1. Select Actions › Edit information to change the role’s name or description
Alira — Roles › Test Role › Edit information
Edit Role Details dialog

Set the permissions

  1. Select Actions › Edit permissions
  2. 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
  3. Save your changes
Alira — Roles › Test Role › Edit permissions
Edit Permissions panel with Create, Read, Update and Delete options per page

Copy the SCIM Role Name

  1. In Role Details, find the SCIM Role Name (for example CR_TEST_ROLE)
  2. Copy it with the copy icon. You’ll paste it into Entra in the next step
Alira — Roles › Test Role › Role Details
Role Details showing the SCIM Role Name and copy icon
⚠ The SCIM Role Name is case-sensitive. Copy it exactly. If the value in Entra doesn’t match character for character, Alira won’t recognise the role.
3

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

  1. In the Microsoft Entra admin center, go to Enterprise apps
  2. Search for and open the SCIM app that provisions Alira
Entra — Enterprise applications › All applications
Entra Enterprise applications filtered to the Alira SCIM app

Open the app registration

  1. Select Properties
  2. Select the application registration link
Entra — Enterprise application › Properties
Enterprise app Properties page with the application registration link

Create the app role

  1. Select App roles › Create app role
  2. 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
Entra — App registration › App roles › Create app role
Create app role panel with the display name and value set to the SCIM Role Name
  1. The new app role appears in the list. Every app role on the SCIM app must have a unique value
Entra — App registration › App roles
App roles list showing the new role
4

Assign users to the role

Test with one user before you roll the role out.

Assign a test user

  1. In the enterprise app, open Users and groups › Add user/group
  2. Pick a test user, open Select a role and choose your new role
  3. Select Assign
Entra — Enterprise application › Users and groups › Add Assignment
Add Assignment with the new role shown in Select a role
Role not in the list? New app roles can take a few minutes to appear. Wait, then refresh.

Provision on demand

  1. Open Provisioning › Provision on demand
  2. Select the test user and run it
  3. Check the user appears in Alira with the right role and licences (see Check it worked)

Roll it out

  1. Once the test works, assign the rest of your users or groups the same way
  2. SCIM provisioning brings them into Alira with the custom role on its next cycle
⚠ One Alira role per user. Assigning someone more than one app role on the SCIM app causes a multiple claims error, and they won’t be provisioned.
5

Check it worked

  1. Open the role in Alira. Provisioned users appear under Members Assigned
Alira — Roles › Access Portal User › Members Assigned
Custom role page listing assigned members
  1. Open a member. Their Role shows the custom role
Alira — Administration › Members
Member profile showing the custom role
  1. Change the role’s licences at any time with Actions › Edit licenses. Every member of the role picks up the change
Alira — Roles › Access Portal User › Edit licenses
Edit Licenses on an existing custom role
  1. On Licensing, search for the member. Assigned shows licences given manually; Inherited shows licences that come from their custom role
Alira — Administration › Licensing
Licensing page showing a member's inherited licences
Done. Members provisioned into the custom role now get its permissions and licences automatically.

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.