Microsoft 365 Integration

Premium Certified Partner
This plugin provides libraries and services that power other Microsoft 365 plugins.
Price option: Free

Supports Moodle 3.9-5.2 See all versions
Latest release: 2 weeks ago
Installations: 7160
Downloads (last 90 days): 2779

Frankenstyle name: local_o365
Local plugins
Microsoft 365

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Thanks Rob, I believe I have a solution for this issue that will be included in the next release. Once it's out can you give it a try and let me know whether it's resolved for you?
It's version 2015060100
Thanks,
Rob
Thanks Rob - What version of OpenID Connect and this local plugin are you using?
Hi James,
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
Hi 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
We can no longer use guest access for our Moodle 2.9 site after installing the Office o365 following these instructions:
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.
Thank you, that is really great to hear! smile
Hi Marton, The next release includes an overhaul of the user sync code and this issue should be resolved.
Need some help sad. I have followed the guideline and everything works until I delete a synced account from Office 365 in Office 365. Although the user can't log into the system, it remains in Moodle AND it duplicates. I don't know why. Any help would be appreciated!
The SharePoint sites are current accessible only to teachers in the Moodle course. There are future plans to expand this to students and other users, but that's not available quite yet.
Hi there
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.
@Rob Looks like you need to add permissions to the application you registered in Azure - see https://docs.moodle.org/27/en/Office365#Configure_application for the docs on this step.
Hi James,
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.
Hi Rob, When you using the OneDrive repository from within a course, it starts off in that course's document repository. You should see the breadcrumb above the file area say "OneDrive for Business > Courses > [shortname of the course you're in]." If you click the "OneDrive for Business" link in the breadcrumbs here you'll be taken to the index page for the repository. Here you should see "My Files" and "Courses" folders. If you enter the "My Files" folder, the user will see the files in their OneDrive.
Hi James,
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?