![]() You can try making a GET request to endpoint in the Graph Explorer to see if users with duplicate userPrincipalName are included in the return value. ![]() The function uses user: delta Graph API to retrieve users. If you are using delta sync, users from Azure AD were fetched using one or more calls to get_users_delta() in /local/o365/classes/rest/unified.php.At the end of the troubleshooting of this issue, if we can't find anything else, we can add a duplicate check, but let's try to find the root of the duplicate users if possible. The function to process users received from Azure AD ( sync_users() in /local/o365/classes/feature/usersync/main.php) doesn't check for duplicate users because it doesn't expect duplicates exist.Look for duplicate users in the array in the print as it would be a definite proof of what has been received. Remember to delete the last delta token (by running DELETE FROM mdl_config_plugins WHERE plugin = 'local_o365' and name = 'task_usersync_lastdeltatoken' in DB), and purge site cache before running the task. , to output the users received, which will print the list of users received from Azure AD in the task output.
0 Comments
Leave a Reply. |