Microsoft 365 Integration

General plugins (Local) ::: local_o365
Maintained by Enovation Dev Team, Lai Wei
Part of set Microsoft 365.
This plugin provides libraries and services that power other Microsoft 365 plugins.
Latest release:
6333 sites
3k downloads
135 fans
Current versions available: 7

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.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5

Contributors

Enovation Dev Team (Lead maintainer)
Vinayak (Vin) Bhalerao
Akinsaya Delamarre
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Jean-Pierre Mouret
    Tue, 30 June 2015, 12:53 AM
    Hi James,

    I don't notice any problems so far - but I hate messages of this kind wink

    Regards,
    Jean-Pierre
  • James McQuillan
    Tue, 30 June 2015, 12:56 AM
    Me too and it will be fixed, just wanted to make sure you can still use the plugins smile
  • bobby demers
    Fri, 10 July 2015, 9:43 PM
    Just installed the Office 365 suite of plugins and now I cannot Add a New Course... the page is blank underneath the heading.
    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
  • James McQuillan
    Mon, 13 July 2015, 12:10 PM
    @bobby - Have you installed the msaccount plugin? (https://moodle.org/plugins/view/local_msaccount) It should be listed as a dependency when installing the plugin set - which plugins have you installed?
  • Michael Tan
    Sat, 18 July 2015, 1:56 AM
    Is the plugins able to convert existing SharePoint sub-sites into Moodle classes? If http://contoso.sharepoint.com/moodle already has some sub-sites under it (e.g. http://contoso.sharepoint.com/moodle/math101) will that be picked up as a Moodle class?
  • Rein Laaneser
    Sat, 18 July 2015, 7:21 PM
    Application permissions question

    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
  • James McQuillan
    Wed, 22 July 2015, 1:20 AM
    @Ivan - The plugin won't convert existing SharePoint subsites into Moodle courses, it's a one-way process from Moodle to SharePoint.
  • James McQuillan
    Wed, 22 July 2015, 1:21 AM
    @Rein - You should be generally good to go, it looks like you're just missing some preview features. The unified API and OneNote are currently in preview and are not yet widely available. All other features should work fine without these though.
  • Rob Whittaker
    Sun, 26 July 2015, 12:30 AM
    After installing this only the moodle default admin account has the "connected to Office 365" link enable and available to use. All other accounts which are a local type despite changing the authentication for a user to Open connect ID and then testing that they are being autheticated via Office 365 (which they are) in that user's profile page I can only see the text "user not connected to Office 365" , if I go to https://mydomain/local/o365/ucp.php I can see the connect to office 365 link but clicking on it changes nothing of the above in the profile pages, what am I doing wrong?
  • James McQuillan
    Thu, 30 July 2015, 11:24 PM
    Hi Rob, There is currently a bug in the indicator - do the users who are authenticated with OpenID Connect but don't see the "Connected to Office365" test have any problems actually using the features? (I.e. can they access their OneDrive through the repository?)
  • Rob Whittaker
    Wed, 5 Aug 2015, 12:16 AM
    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?
  • James McQuillan
    Wed, 5 Aug 2015, 1:43 AM
    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.
  • Rob Whittaker
    Wed, 5 Aug 2015, 2:08 AM
    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.
  • James McQuillan
    Wed, 5 Aug 2015, 3:19 AM
    @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.
  • Grant Saul
    Mon, 10 Aug 2015, 12:08 PM
    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.
Please login to post comments