Moodle plugins directory: Microsoft 365 Integration | Moodle.org
Microsoft 365 Integration
Microsoft 365 Plugins for Moodle
Microsoft 365 Integration Local Plugin
This plugin provides libraries and services that power the Microsoft 365 plugins.
This is part of the suite of Microsoft 365 plugins for Moodle.
To follow active development on GitHub, or to find historical versions, click here.
The supported Moodle versions of this plugin is in line with core Moodle version support.
Questions and issue reporting
Github should be used for reporting issues found when configuring or using the plugin, and to ask questions. The comments area on this page is not actively monitored.Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft
projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
(c) Microsoft, Inc.
Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
I don't notice any problems so far - but I hate messages of this kind
Regards,
Jean-Pierre
Turned on debugging and these are the messages I get:
Warning: require_once(/var/www/moodle/local/msaccount/msaccount_client.php): failed to open stream: No such file or directory in /var/www/moodle/local/onenote/classes/api/msaccount.php on line 30
Fatal error: require_once(): Failed opening required '/var/www/moodle/local/msaccount/msaccount_client.php' (include_path='/var/www/moodle/lib/zend:/var/www/moodle/lib/pear:.:/usr/share/pear:/usr/share/php') in /var/www/moodle/local/onenote/classes/api/msaccount.php on line 30
Moodle 2.9
Any suggestions?
Regards
bobbysox
In setting up plugin "Microsoft Office 365 Integration" /admin/settings.php?section=local_o365 there is all lines green except Application Permissions (local_o365 | detectperms)
Check permissions in AzureAD. In clicking Update it will give more information:
Check permissions in AzureAD
Missing:
OneNote
View and modify OneNote notebooks
View OneNote notebooks
Create pages in OneNote notebooks
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.
In doing dobule check,
API user is global addministator for Office 365 account and so for Azure AD directory.
Application have permissionss like this:
Excange Delegated perm; R user calendars,RW user calendars;
Sharepoint Delegated perm: R items in all site collections, RW items in all site collections, R user files, RW user files, full control all site collections;
Azure AD applications perm: R directory data,
Azure AD Delegated perm: R directory data, enable sing-on and R user profiles.
Thank you in advance help provided
Rein
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?
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.
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.