Windows server: Bulk EMAIL Field update INTERNAL from LDAP/AD

Windows server: Bulk EMAIL Field update INTERNAL from LDAP/AD

by Damno Kmex -
Number of replies: 2

Dear all, I have some users that had their mails addresses changed on Active Directory and other that in the past had not mail but today they have it. The problem is that they are more than 2000 ones and I can not ask them to log in into moodle to make the automatic update. My question is: I need to force a sync from AD to Moodle for those existing users in order to have the email field updated. Could you help me on this?

On Update local', the options are "On creation" and "On every login" are not what we need.

Average of ratings: -
In reply to Damno Kmex

Re: Windows server: Bulk EMAIL Field update INTERNAL from LDAP/AD

by Luis de Vasconcelos -
Picture of Particularly helpful Moodlers

Another way to do it is via the Upload Users function described on http://docs.moodle.org/23/en/Upload_users.

Create a .csv file with the usernames and new e-mail addresses of those 2000+ students. Then upload the .csv file and their e-mails will be updated.

Example:

username,email
maryjane,maryjane@somedomain.com
petersmith,peters@someschool.com

You could also include the name & surname:

username,firstname,lastname,email
maryjane,Mary,Jane,maryjane@somedomain.edu
petersmith,Peter,Smith,peters@someschool.com