Quantcast
Channel: Authentication
Viewing all articles
Browse latest Browse all 8256

Office 365 Azure active directory sync users

$
0
0
by Darren O'Neill.  

Hi there,

I am currently testing office 365 authentication into Moodle 2.7. It works fine for a user to authenticate into the site, which is excellent.  However we need the users in the Moodle database before they login in (this is due to the way we populate our courses)

I have activated the scheduled task which should sync the users from azure active directory into moodle in site administration > Server> scheduled tasks. However the job never runs.

I have also tried to run the job directly from the command line on the server running the command  

/usr/bin/php usersync.php

But this is returning the error

PHP Fatal error:  Class 'core\task\scheduled_task' not found in /var/www/moodle/local/o365/classes/task/usersync.php on line 29

If anyone could provide any help at all it would be greatly appreciated. i can also supply any log or config files that may be needed.

Best,

Darren



Viewing all articles
Browse latest Browse all 8256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>