Skip to main content

Example: Setup with Microsoft Entra ID

Step-by-step setup with Microsoft Entra ID

Gregory Claeyssens avatar
Written by Gregory Claeyssens
Updated over a week ago

Prerequisites

Expected you have already created an Enterpise Application for StoryChief inside Entra ID.


Start setting up CSIM with Microsoft Entra ID

Step 1. Enable provisioning by clicking on 'Provisioning' on the left-hand menu and selecting '+ New Configuration'.

Click 'Test connection', after a successful test confirmation, press 'Next' to continue.

Step 2. Add the App Roles by navigating to: App Registrations > Your Created App > App Roles

Now create the following roles

Display name

Allowed member types

Value

Description

Owner

Users/Groups

owner

StoryChief Owner Role

Admin

Users/Groups

admin

StoryChief Admin Role

Writer

Users/Groups

writer

StoryChief Writer Role

Guest

Users/Groups

guest

StoryChief Guest Role

Step 3. Create the StoryChief roles attribute. Navigate back to: Entra ID > Enterprise applications > Your Created App > Provisioning > Attribute mapping > Entra ID Users

Open up the advanced options and click 'edit attribute list for customappsso'

Add a new field:

  • Name: roles

  • Multi-Value: True

Optional: you can clean out the list of attributes to only the bare minimum, as shown in the screenshot above.

Step 4. Mapping. Navigate back to: Entra ID > Enterprise applications > Your Created App > Provisioning > Attribute mapping > Entra ID Users

On the Attribute Mappings list , map the field we just created in step 2 by pressing "Add New Mapping"

  • type: Expression

  • Expression: AppRoleAssignmentsComplex([appRoleAssignments])

  • Default value: guest

  • Target attribute: roles

  • Match objects: No

  • Apply this mapping: Always

Optional: you can clean out the list of mappings to only the bare minimum, as shown in the screenshot below.

Did this answer your question?