With user provisioning, Microsoft Entra ID manages who has a Smart.pr account. When you add someone to your Smart.pr group in Entra, their account is created in Smart.pr. When you remove them from the group, or delete them in Entra, their Smart.pr account is deactivated. Names and email addresses stay in sync with Entra.
Note: Provisioning works together with Single Sign-On (SSO). Your organization needs to sign in with SSO before provisioning can be turned on. See SSO Onboarding: Microsoft Entra.
Before you start
You'll need:
SSO set up and required for your organization.
An account that can manage enterprise applications in Entra, such as Application Administrator or Cloud Application Administrator.
A group in Entra with everyone who should have access to Smart.pr. Assigning groups to an application requires Microsoft Entra ID P1 or P2.
Create the provisioning application
Log in to the Microsoft Entra admin center.
Navigate to Applications > Enterprise applications.
Click on "New application", then "Create your own application".
Enter a name, e.g.,
Smart.pr provisioning.Select Integrate any other application you don't find in the gallery (Non-gallery) and click on "Create".
Additional resources:
Connect to Smart.pr
In the new application, select Provisioning under the Manage heading.
Set Provisioning Mode to Automatic.
Under Admin Credentials, key in:
Tenant URL:
https://api.smart.pr/scim/v2Secret Token: the token we sent you
Click on "Test Connection". You should see a message that the credentials are authorized.
Click on "Save".
Additional resources:
Configure the attribute mappings
This step decides which Entra values end up in Smart.pr. Please follow it closely: the first mapping below is the one that links provisioned users to their SSO sign-in.
In Provisioning, open Mappings.
Select Provision Microsoft Entra ID Groups and set Enabled to No. Smart.pr provisions users only. Click on "Save".
Go back and select Provision Microsoft Entra ID Users.
Edit the mappings so they match this table:
Microsoft Entra ID attribute | Smart.pr (customappsso) attribute | Note |
objectId | externalId | Required. Entra's default is mailNickname, which must be changed. |
userPrincipalName | userName | The default. If your users' email addresses differ from their user principal names, map mail instead of userPrincipalName. |
The same attribute as userName | emails[type eq "work"].value | userPrincipalName, or mail if you changed userName to it. You can also delete this mapping. |
givenName | name.givenName | Required. |
surname | name.familyName | Required. |
| active | Removing a user from the Smart.pr group, or deleting them in Entra, deactivates them in Smart.pr. |
You can leave the other mappings as they are. Smart.pr ignores them.
Keep userName as the matching attribute, with Matching precedence
1. This is the default.Click on "Save".
Why externalId matters: when someone signs in with SSO, Smart.pr recognizes them by their Entra object ID. If externalId is mapped from anything else, users who already signed in with SSO can't be matched, and provisioning reports an error for each of them.
Additional resources:
Choose who is provisioned
In Provisioning, open Settings.
Set Scope to Sync only assigned users and groups.
Optionally, select Send an email notification when a failure occurs and enter an address.
Click on "Save".
Select Users and groups under the Manage heading.
Click on "Add user/group" and assign your Smart.pr group.
Entra provisions the direct members of the assigned group. Members of nested groups aren't included.
We recommend you also limit SSO sign-in to the same people. Open the Smart.pr application you created for SSO under Enterprise applications, select Properties, and set Assignment required? to Yes. Then assign the same group under Users and groups. Otherwise, everyone in your tenant can sign in to Smart.pr, even after provisioning has deactivated them.
Additional resources:
Check users' names
Smart.pr requires a first and last name for every user. Make sure everyone in your Smart.pr group has a First name and Last name in Entra. Entra leaves out empty values, so a user without both names fails to provision with name.givenName is required or name.familyName is required. To fix it, fill in the missing name in Entra and provision the user again.
Test with one user
If this fails, the details show what Smart.pr returned. Check the attribute mappings first, then contact your account manager.
Additional resources:
Start provisioning
In Provisioning, set Provisioning Status to On.
Click on "Save".
Entra now runs a first sync for everyone in scope. For users who already have a Smart.pr account, it links the existing account by email address, so their content and settings are kept. After the first sync, Entra sends changes about every 40 minutes.
When the first sync has finished, let your account manager know. We'll check that every active Smart.pr user is now managed by Entra, and let you know about any accounts that still need a decision. For example, accounts of people who aren't in your Smart.pr group yet. Once everything checks out, we switch provisioning to enforced.
What changes for your users
While provisioning is enforced:
New users come only from Entra. Inviting users from Smart.pr is no longer possible.
First name, last name and email address are managed in Entra. Users can still change their username, language and other preferences in Smart.pr.
Account owners can't activate or deactivate users who are managed by Entra. To remove someone's access, remove them from the Smart.pr group or delete them in Entra.
Roles stay in Smart.pr. Account owners still decide who is an owner and who is a member.
People who aren't provisioned by Entra can't sign in, even with SSO.
Removing a user from Smart.pr doesn't delete their mailings, contacts or other content. If they're added to the group again later, their account is reactivated.
Frequently asked questions
What if a user's email address changes in Entra?
Their Smart.pr email address changes with it. They keep their account and content.
What happens to the token when it expires or leaks?
Smart.pr tokens don't expire. If you think the token has leaked, contact your account manager. We'll revoke it and send you a new one, which you enter under Admin Credentials.
Entra reports "mutability" errors. What do they mean?
Usually that externalId isn't mapped from objectId. Users who already signed in with SSO are linked to their object ID, so Smart.pr refuses any other value and leaves the user unchanged. Correct the mapping above. Entra retries the failed users on its next cycles, and they're then linked to their existing accounts. If many users failed, click on "Restart provisioning" to clear the errors straight away.
Entra reports "uniqueness" errors. What do they mean?
Usually that the email address belongs to another Smart.pr account, outside your organization, or that externalId isn't mapped from objectId. Check the mappings above. If the error remains, send your account manager the user's object ID and the error details from the provisioning logs.
Can we provision roles or groups?
No. Smart.pr provisions users only. Roles are managed in Smart.pr by your account owners.
Related articles:
