I have had the Office 365 integration setup and running for a few years now, with no issues. I have now come across a user sync issue (right before the first day of school of course) that I can not figure out.
I use an Office 365 group in the User Restrictions field in order to limit the users that sync. New users who are members of that group are now not syncing. The logs show that their account can not be synced because they "do not meet the configured user creation restrictions" which is not true.
Here are the details of my environment:
- Local AD that is synced to Azure AD
- Users are added to a local security group that is also synced
- Users in question are listed as members when viewing the group in Azure AD
- Moodle is version 3.11.1 (just upgraded from 3.9)
- The Microsoft 365 integration plugin is up to date
- Even after clicking the "Provide Admin Consent" in the Office 365 plugin settings, permissions are still listed as missing, even though they are listed as allowed in the Azure application itself.
I am completely confused now, and of course I am being slammed with people who can't login because their account won't sync. I am desperate for any advice as to what I am missing!