Azure integration with Moodle

Azure integration with Moodle

by Ian Williams -
Number of replies: 2
Hello all,

I am attempting to do azure integration with moodle, I have followed the guide here https://docs.moodle.org/32/en/Office365 but I cannot for the life of me get the Set Api User function to work. It proceeds to the correct tenancy asking me to log in, and then authorise but then returns me to moodle with a general error.

The debug error is:

auth_oidc\oidcclient::tokenrequest:252: Bad response received Data: (string)Could not resolve host: login.microsoftonline.com

Any ideas?


Average of ratings: -
In reply to Ian Williams

Re: Azure integration with Moodle

by Shannon Talbot -

Looks like you're having the same issue as me, even though on very rare occasions I managed to get API system user to log in but would fail again after that. I'm leaning to the possibility of routing issues. As our moodle server is stored on a VM that directs through our Sophos firewall to our internet connection then to our WAN which then goes through another firewall to another internet connection and finally out to the big bad world. I'm hoping to take a copy of our moodle server off site without any of this in the mix to test it as the issue.