Troubleshooting the User Synchronization with Entra ID (SCIM)
Learn the steps you can take when the user synchronization is not working as intended
After having set up the user synchronization integration with Entra ID, users and groups should be synchronized into the AskCody account from your Entra ID. However, there can be cases in which users are not updated into AskCody. In this guide we try to show the steps you can do to troubleshoot issues, and make sure the users are synchronized correctly.
Sections in this article:
- Monitoring Synchronization Status
- Manually synchronize a specific user or group with Entra ID
- When the sync seems slow, or performance of the user sync is not running as expected on incremental cycles
Users in a newly added group do not show up
- Check that the group is assigned to the provisioning application under Users and groups.
- Check that users are direct members of the group. Nested groups are not synced.
- Check that each user has an email, User Principal Name, given name, and surname.
- Use Provision on demand to push the group now and see any errors.
Users from a removed group still have access
- Check that the group no longer appears under Users and groups in the provisioning application.
- Check whether the users are members of another assigned group. If they are, they keep access through that group.
- Wait for the next sync cycle, or use Provision on demand on a user to disable them right away.
Read more in How to add or remove a group in your Microsoft Entra ID user sync.
Monitoring synchronization status
Users and groups that you add to the scope of the app provisioning configuration should be created and kept up to date in AskCody. However, due to certain settings in Entra ID, there may be cases in which some users are not synchronized as expected. To troubleshoot for those cases, please expand Monitor in the left menu and click on Provisioning logs:

In here, you can see the status of the cycle and will see if there are any error messages.
You will be able to see detailed information about the data flow on the Provisioning Service. If there are any errors in the provisioning service, like a user, or a group of users not being synchronized as expected, you will find log entries in the Provisioning logs with the “Failure” Status on the Logs table:

Click on the one you would like to troubleshoot, and then click on the “Troubleshooting & Recommendations” tab.
In case you have an extensive table and it is difficult to locate the entries with Failure status, you can also manually synchronize a user or group, in case you know already which group or users are the ones affected, and then refer to the logs again and see the most recent entries. Please note that the logs may take a couple of minutes to update, so if needed, click on Refresh at the top of the logs.

Under “Error message” you should see relevant information to help you troubleshooting:

In this case, the user did not have an ‘email’. To correct this, you can simply fill out the information in the User’s profile in Entra ID, and the User should soon be automatically synchronized into AskCody, unless there are additional errors.
Manually synchronize a specific user or group with Entra ID
To immediately synchronize a user, or group of users that were not synchronized as expected, it is possible to Provision users and groups on demand (as long as they are within the scope of the provisioning service).
To do so, click on the “Provision on demand” button on top of the “Overview” page of the Enterprise Application used for Provisioning Users and Groups into AskCody:

In here, find the user or group you would like to manually provision immediately, and click at the bottom on “Provision”:

If everything is in order, you should see a screen like the following, with a “Success” status on all 4 steps. If there is anything additional that needs to be taken care of, you should see the details in here about what the issue is, then can proceed to perform the corrections in the User’s profile in Entra ID and try again.

Note: For a group, Microsoft lets you provision up to five members at a time. The rest of the group syncs in the next regular cycle.
When the sync seems slow, or performance of the user sync is not running as expected on incremental cycles
In cases where the security groups used for App Provisioning have a mix of object types (example: rooms, desks and users), Microsoft recommends to scope the sync to only valid users, as this will have an impact on performance.
Steps to scope users by attribute in Entra ID
1. Go to the Provisioning section of the Enterprise Application you use to sync users with AskCody.
2. In the left menu, expand Manage, click on Scoping filters, and then click on Edit at the top:
3. The Configure Scoping Filters wizard opens. Click on step 4. Scope by attribute, make sure the Users tab is selected, and click on Add Attribute scoping filter:
4. Give the filter a name, for example "Require Mail, GivenName, and Surname". Then add one clause per attribute below, each with the operator IS NOT NULL:
-
mail
-
givenName
-
surname

5. Click on Save in the panel
6. Click on step 5. Review and create, check the summary, and click on Save at the bottom right:
You will be taken back to the Scoping filters page. Under Scope by attribute, you should now see your filter:

Note: The name of the filter is optional, and yours can differ from the one in this guide. Clauses inside one filter use AND logic, so a user must have all three attributes to be synced.