Microsoft 365 Integration
Premium Certified Partner
Maintained by
Enovation Dev Team, Lai Wei, Patryk Mroczko
This plugin provides libraries and services that power other Microsoft 365 plugins.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Thanks,
Rob
Thanks for the response. There have not been any other modifications to the login/logout page/process. The only authentication plugins enabled are OpenID Connect used with the Office 365 and only Manual Accounts have users. Email based self-registration is enabled but has never been used (no users).
Thanks,
Rob
Are you using a custom login URL? Any other modifications to the login/logout page/process? Are you using any other authentication plugins?
I'll do some further testing with this scenario to get a good answer for you.
Thanks for the report
https://docs.moodle.org/27/en/Office365
Usually with guest login we get the "Login as guest" submit button and then a place to enter a password after pressing the button. But after configuring for Office 365 suite, a guest user clicks on the "login as guest" button which then just tells the user they have an invalid login.
The live logs give the following error.
Login failed for the username 'guest' for the reason with id '3'.
This error just means that the wrong password was provided. It acts as if guest access is not even enabled as far as I can tell.
Any ideas?
Thank you.
We appear to be most of the way there, but are you able to shed some light on the groups created in Sharepoint sites?
All sharepoint groups matching Moodle courses have been created.
I see that each site has a group created that is able to contribute and manage files - I assume that this will be for teachers enrolled in courses.
A user is able to log in using Office365, and I have created some resources in the folder within the sharepoint site matching the course name from within a Moodle course that the student is logged into. He is not able to see the material as he does not have permission within the sharepoint site. Should he be able to. I wondered whether I needed to add all students as visitors to the sites, but as each site has unique permissions, this would be very time consuming.
Thanks for any guidance.
I have added the moodle application in Azure AD fine as per instructions written in Office 365 Services Installation on Moodle, on the Microsoft Office 365 Integration page((Site admin>plugins>local plugins>Microsoft Office 365 Integration and the constant problem I have is with the application permissions, it only shows
Check permissions in AzureAD
Missing:
Directory.Read
UserProfile.Read
AllSites.Read
AllSites.Write
AllSites.Manage
AllSites.FullControl
MyFiles.Read
MyFiles.Write
Calendars.Read
Calendars.ReadWrite
Notes.ReadWrite
Notes.Read
Notes.Create
To fix this automatically, your system API user must be an administrator, and the "Access your organization's directory" permission must be enabled in Azure for the "Windows Azure Active Directory" application.
Unified API: This is a beta API required for "Create User Groups"
Unified API not present, some new features may not work.
this is despite application credentials client id secret key etc are correct, and the system API user is the same as our Office 365 global admin. I have no errors on any plugins on plugins overview. In Azure AD I have assigned access to a user in Azure AD, that same use in moodle has had the authentication method changed from local to Open ID, on their profile page it says
Office365 Connection: User is not connected to Office 365.
Email Credentials: User is not using Email Credentials to log in.
There is no where to change this to tell it to start using Office creds for the user. (again on the admin user)
I cannot find any setting that is faulty, what am I doing wrong? I am running out of time to set this up for the new school year.
I am logged in as another user, they have OpenId as their authentication type in their profile, i can log into moodle with their creds, go to a course they are the teacher of, add a resource select file, and when I go to add a file I can see one Drive for Business as an option from the file picker, I can see their OneDrive for business folders bit not files, i.e a word file which is sitting in OneDrive. Is there any other way to view the OneDrive repository other than when uploading a file?