Step 1: create the app registration
Create the App Registration in the Entra ID tenant that will authenticate Self Service PIM users.
-
Browse to the Entra ID portal. Log on with a Global Admin.
-
Navigate to Entra ID - App Registrations - New Registration
-
Give the application a name and select "Accounts in this organizational directory only"
-
Fill in the URL (Redirect URI) of your Self Service PIM Instance (example: https://xyz.selfservicepim.com). This information is sent to you by mail.
-
Register the application.
Step 2: provide tenant and application information
Use the input boxes below to provide necessary information. This information can be found on and copied from the dashboard of the app registration.
Step 3: grant necessary API permissions
Self Service PIM needs specific API permissions to perform lookups on your Entra ID tenant.
-
Navigate to your newly created App Registration and select "API Permissions"
-
Add a delegated permission "User.Read" for Microsoft Graph
-
Add an application permission "User.Read.All" for Microsoft Graph
-
Add an application permission "Group.Read.All" for Microsoft Graph
-
Grant admin consent for the tenant
Step 4: generate a secret
Self Service PIM needs specific API permissions to do its thing.
-
Navigate to your newly created App Registration, Entra ID - App registrations - All applications, and select "Certificates & secrets"
-
Select "New client secret". Provide a sensible description and make sure to select an expiration of 2 years (custom)
-
Step 5: create application roles
These roles determine what kind of access a user will have within Self Service PIM.
-
Navigate to your newly created App Registration, Entra ID - App registrations - All applications, select your application and select "App roles"
-
Create an app role "Admin" (Display Name and Value), allow Users/Groups as members. Give a sensible description
-
Create an app role "User" (Display Name and Value), allow Users/Groups as members. Give a sensible description
-
Navigate to Entra ID - Enterprise Applications - Users and groups, and select the newly created application
-
Add your user as an "Admin" to the application. You can optionally already supply other users as "Admin" as well
-
On the Properties page of your Enterprise Application, make sure to toggle "User assignment required?" to yes
Step 6: issue ID tokens
Self Service PIM uses OpenID tokens for authorization.
-
Navigate to your newly created App Registration, Entra ID - App registrations - All applications, select your application and select "Authentication"
-
Under the section "Implicit grant and hybrid flows" make sure the checkbox "ID tokens (used for implicit and hybrid flows)" is checked. If this section is missing you will need to modify the manifest file. Please refer to the install guide linked on the header of this page.
-
Save the configuration
You work here is done!
Press the "Complete Setup" button.
IMPORTANT: if you complete the setup with incorrect parameters, you will be locked out of Self Service PIM. You will need to raise a ticket at selfservicepim.com/support. |