Hi,
we have several thousands users and in some cases it is necessary that users will be renamed in Azure AD. Accounts will be renamed in Azure AD and also in Moodle and it works fine.
Now we found following problems: during the user sync (CRON Job: \local_o365\task\usersync) only for some of these renamed users we got following error:
......... Syncing user a12345@hostname.com
......... The user has been renamed in Microsoft...
......... The option to update Moodle username is disabled...
The user can still login, but the problem is that there is no synchronisation of data from Azure AD to the Moodle user. The problem is that this accounts do have capital letters in the UPS. After renaiming this accounts in Azure our Azure admins change the letters to lowercase. But the value in the database table "local_o365_objects", column "o365name" still appears in uppercase.
I tried to disconnect & resync via "Microsoft 365 Integration - Advanced - Manage User Connections", but it did not work. We solve the problem by updating the value of o365name directly in the database. However, this is complicated because we don't have direct access to the database and always have to contact our hosting provider.
It would therefore be helpful if there will be a feature in o365-plugins that allowes you to update the value of o365name directly in Moodle
thanks & best regards,
Anton
Hi,
we have several thousands users and in some cases it is necessary that users will be renamed in Azure AD. Accounts will be renamed in Azure AD and also in Moodle and it works fine.
Now we found following problems: during the user sync (CRON Job: \local_o365\task\usersync) only for some of these renamed users we got following error:
The user can still login, but the problem is that there is no synchronisation of data from Azure AD to the Moodle user. The problem is that this accounts do have capital letters in the UPS. After renaiming this accounts in Azure our Azure admins change the letters to lowercase. But the value in the database table "local_o365_objects", column "o365name" still appears in uppercase.
I tried to disconnect & resync via "Microsoft 365 Integration - Advanced - Manage User Connections", but it did not work. We solve the problem by updating the value of o365name directly in the database. However, this is complicated because we don't have direct access to the database and always have to contact our hosting provider.
It would therefore be helpful if there will be a feature in o365-plugins that allowes you to update the value of o365name directly in Moodle
thanks & best regards,
Anton