moodle username digits only and azure ad sync not working #2457
Labels
Feature - user sync
Issue type - help wanted
General questions on how to use the plugins, e.g. configurations etc.
Plugin - local_o365
Status - PR ready / pending release
Dev is done and PR ready. Will be included in the next release.
Milestone
Hello,
We run into an issue that we have moodle accounts with digits only (ex 494334334) (student id numbers) and diffrent mail for each student like (test@gmail.com)
we add o365 to integration with our institution that all users start with 494334334@student.onmicrosoft.com
we noticed that the user sync not working for those users and we have a lot of them.
configuration is like that
![image](https://private-user-images.githubusercontent.com/3612886/298410451-97aa27f1-ac5d-49bb-9590-f1fb3523186e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTQ4ODcsIm5iZiI6MTczOTExNDU4NywicGF0aCI6Ii8zNjEyODg2LzI5ODQxMDQ1MS05N2FhMjdmMS1hYzVkLTQ5YmItOTU5MC1mMWZiMzUyMzE4NmUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDlUMTUyMzA3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDQxYzA3OWQ5MWIxYjJjMzE0MTc5NjkxMDc0Y2YwN2E1NTA2ZDJiZjZjNDYzODE4NTNlY2MzNWM5ZGI4YWU0NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.T5VRXiKQGOAPoio8mY5caCxTLvJk9_-XjH1k1jgvbMU)
we add some logs to try to find the problem
we found that this array
![image](https://private-user-images.githubusercontent.com/3612886/298410705-cb9c08ba-7dfa-4fa4-a1b4-95b5cfb38452.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMTQ4ODcsIm5iZiI6MTczOTExNDU4NywicGF0aCI6Ii8zNjEyODg2LzI5ODQxMDcwNS1jYjljMDhiYS03ZGZhLTRmYTQtYTFiNC05NWI1Y2ZiMzg0NTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDlUMTUyMzA3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGM1MDJiMDFmOWQxYTJiNjMxN2RjZTlmN2YwMmZkOTZkNmVlNTQ3ZWY2NDYzNDIxZGI4MzIzYzc4NzliNGY4YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.LWFEwUv_URsycsM_6Xmcx0GwKb_B7dcXQTIKko2znT4)
not found the objects that contain upn with numbers only
this is the dump object from existing users array
can you help us to understand what we can do to fix that issue
The text was updated successfully, but these errors were encountered: