o365 OIDC Issues and Azure AD permissions

o365 OIDC Issues and Azure AD permissions

by Shannon Talbot -
Number of replies: 0
I've had a lot of problems with the Office 365 plugins and I'm hoping that someone may be able to point me in the right direction.

Firstly versions:

Versions
Moodle Version 2015051101.02
Moodle Release 2.9.1+ (Build: 20150716)
o365 Version/Release 2015060100 / 29.0.0.0
oidc Version/Release 2015060100 / 29.0.0.0

The problems I've had are rarely being able to log in via office 365. Most times it will fail to get the OIDC Token. The rare times it does work it won't actually find the correct user to assign to, and creates a new one with the username as the email used to sign into office 365 and gives the user no email, and also makes it so that their "ID Number" field is set to their email.


The other issue I have is when I finally got an API account signed into the office 365 plugin I get the folllowing (only when signing in works, otherwise it just gets the token issue)


Azure AD permissions issue


Below is the following settings (with the ones tied to the school blurred out)


Open ID Settings


Office 365 Settings

Average of ratings: -