Microsoft Entra integration: Set up role assignments
Overview
Use your existing SCIM integration to assign Ramp roles from Microsoft Entra. If you haven't connected Microsoft Entra yet, see Set up Ramp's SCIM integration with Microsoft Entra.
We recommend assigning roles by Ramp Role ID for greater flexibility. We still support legacy role labels for single system-role assignments through the legacy role-label setup.
Note: Role assignments from Entra are currently only supported for businesses with access to the full Ramp suite, including card issuing. Other Entra SCIM features are still fully available.
Assign roles by Ramp Role ID in Microsoft Entra
If you currently use legacy role labels, follow Migrate from legacy role labels to Ramp Role IDs before changing your configuration.
The roles attribute assigns roles using stable Ramp Role IDs. This supports both built-in roles and Custom Roles and allows assigning multiple roles at once. Creating or editing a Custom Role has separate account feature-access and permission requirements. The SCIM and Ramp Role ID requirements in this section still apply when assigning an existing role. In Microsoft Entra, create one app role for each Ramp role and use its Ramp Role ID as the app role's Value. Assign multiple app roles to the same user or group to assign multiple Ramp roles.
Not every business has access to Ramp Role ID assignment yet. If your business does not have access, Ramp rejects provisioning requests that use Ramp Role IDs. To request access, contact Ramp Support. Until access is enabled, continue to assign one system role with the legacy role-label setup instead.
Important: After you configure Ramp Role ID assignments, use them when provisioning new users or updating roles for existing users. Do not send both legacy role labels and Ramp Role IDs for the same user.
If ramp-admin is included with other Ramp Role IDs, Ramp assigns the Admin role and ignores the other roles.
Not all role combinations are valid. For example, Custom Roles can only be assigned to users with Employee, Accounting, or IT Admin as their base role. See User roles overview for details.
Find your Ramp Role IDs
Ramp Role IDs are stable identifiers that do not change when a role is renamed. To find a role's Ramp Role ID:
- Go to Roles and Permissions in Ramp.
- Select the role you want to assign.
- Copy the Ramp Role ID shown beneath the role name in the drawer heading.

You will need the Ramp Role ID for each role you want to assign via SCIM. For example, the built-in Employee role has the Ramp Role ID ramp-employee, and the built-in Accounting role has the Ramp Role ID ramp-accounting. Custom Roles have Ramp Role IDs set when the role is created.
To review all roles at once, select the download button to download a CSV list of all roles.
Create Ramp Role ID app roles in Microsoft Entra
- In Microsoft Entra, open App registrations, select All applications, and select your Ramp application.
- Select App roles, then select Create app role.
- Enter a human-readable Display name and description.
- Set Allowed member types to Users/Groups.
- Set Value to the exact Ramp Role ID copied from Ramp, such as
ramp-employee. - Enable the app role and save it.
- Repeat these steps for every built-in or Custom Role you want to assign through Microsoft Entra. If you are migrating, follow the migration steps to replace app roles that use legacy role labels.

Configure Ramp Role ID attribute mapping in Microsoft Entra
- Open Enterprise applications, select your Ramp application, then select Provisioning > Attribute mapping (Preview) > Provision Microsoft Entra ID Users.
- Select Show advanced options, then Edit attribute list for customappsso.
- Find the existing
rolesattribute, keep its type as String, select Multi-Value, and save the attribute list. If your configuration does not already haveroles, add it instead. Do not create a secondrolesattribute.

- Return to Attribute mapping and edit the existing mapping whose target is
roles. If no such mapping exists, select Add New Mapping. Configure one mapping as follows:
- Set Mapping type to Expression.
- Set Expression to
AssertiveAppRoleAssignmentsComplex([appRoleAssignments]). - Set Target attribute to
roles. - Set Apply this mapping to Always.

- Save the mapping.
Assign multiple Ramp roles in Microsoft Entra
Microsoft Entra allows one app role per assignment. To assign multiple Ramp roles, create a separate assignment for each role:
- In your Ramp enterprise application, select Users and groups, then Add user/group.
- Select the user or group.
- Select one app role and complete the assignment.
- Repeat these steps for each additional Ramp role the user or group needs.

After provisioning runs, Ramp applies all valid assigned roles to the user. Users should appear in Ramp's People page with their updated roles within approximately 10 minutes.
Migrate from legacy role labels to Ramp Role IDs
Important: Before migrating your whole organization from legacy role labels to Ramp Role IDs, test the new assignments with a small group first. Do not assign legacy role labels and Ramp Role IDs to the same person.
After each pilot provisioning run, confirm that each user's roles and reporting structure match what you expect before moving the rest of your team.
For each user or group you migrate, complete its role changes before its next provisioning run. Do not create a second roles attribute or a second mapping to roles.
- Inventory every role currently assigned to each user in Ramp. Include the base role and all add-on roles, such as Manager, Finance Admin, Accounts Payable, Assistant, and any Custom Roles.
- Create replacement Microsoft Entra app roles whose values are the corresponding Ramp Role IDs, then move each user or group to every replacement app role they need.
- Remove all user and group assignments to app roles that use legacy role labels such as
BUSINESS_USERorBUSINESS_ADMIN, then disable or delete those app roles. - Update the existing
rolesattribute and mapping by following Configure Ramp Role ID attribute mapping in Microsoft Entra.
Every role the user needs must be represented by a Ramp Role ID assignment before provisioning runs again. A SCIM update can remove role access that is not included in the new assignments. An existing Manager role is preserved even if it is not included in the new assignments.
Legacy: Assign roles by role label in Microsoft Entra
Legacy role labels, such as BUSINESS_USER, assign one system role per user.
In the Microsoft Entra sidebar, select App registrations.

On the All applications tab, select your Ramp integration to open its registration overview page.
Select App roles in the sidebar.

Select Create app role and enter the details for each Ramp role you want to assign. Supported roles include:
| Display name | Value |
|---|---|
| Admin | BUSINESS_ADMIN |
| Cardholder | BUSINESS_USER |
| Accounting | BUSINESS_BOOKKEEPER |
| Guest | GUEST_USER |
| IT Admin | IT_ADMIN |
Use the image below as an example. Choose a description that makes sense for your organization.

Other default roles can be removed from the application. Ramp will not recognize these other roles.
To apply these roles to Ramp users, select Enterprise applications in the sidebar, then select your Ramp enterprise application.
In your Ramp application, click Provisioning, then Attribute mapping (Preview), then Provision Microsoft Entra ID Users to reach the mappings for your application:

At the bottom of the screen, click Show advanced options and then Edit attribute list for customappsso.
Add roles as a new attribute with the String type. Leave the other columns unchecked.

Save this configuration at the top of the screen, and then navigate back to the Attribute mapping page using the link at the top of the page.
Click Add New Mapping below the table of existing attribute mappings:

Enter the following configuration for role assignments:

Ensure that the Expression value is correct:
AssertiveAppRoleAssignmentsComplex([appRoleAssignments])
Save the new mapping in the attribute mapping menu.
Microsoft Entra is now configured to provision roles to Ramp for new and existing users.
To assign a role when adding a user or group, select the role in the Users and groups menu under provisioning:

To update an existing user's role, select the user and click Edit assignment to open the same menu.

Guest role limitation: The Guest role can only be assigned during user creation. Assign it when the user is first provisioned. You can do this by assigning the role to a Microsoft Entra group and provisioning users through that group.
Once users are provisioned, they should appear in Ramp's People page with their updated roles within approximately 10 minutes:
