Repositories: Office 365 Repository

repository_office365
Maintained by Picture of James McQuillan James McQuillan, Picture of Mike Churchward Mike Churchward, Picture of Zion Brewer Zion Brewer, Picture of Charles Verge Charles Verge, Picture of Nima Mojgani Nima Mojgani
This plugin provides access to Office 365 as a repository. Specifically, includes OneDrive for Business, Office Video, Office Delve as well as SharePoint Document Libraries and Group Files associated with Moodle courses.
886 sites
1k downloads
16 fans

Office 365 Plugins for Moodle


Office 365 Repository Plugin

This plugin provides access to Office 365 as a repository. Specifically it includes OneDrive for Business, Office Video, Office Delve as well as SharePoint Document Libraries and Group Files associated with Moodle courses.


This is part of the suite of Office 365 plugins for Moodle.

This plugin is updated with stable releases. To follow active development on GitHub, click here.


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.

Sets

This plugin is part of set Office 365.

Screenshots

Screenshot #0

Contributors

Picture of James McQuillan
James McQuillan (Lead maintainer)
Picture of Vinayak (Vin) Bhalerao
Vinayak (Vin) Bhalerao
Picture of Akinsaya Delamarre
Akinsaya Delamarre
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Andrew Oosterhoff
    Fri, 2 Oct 2015, 2:12 AM
    Have everything working for the sign in and the SharePoint site gets created and I can see the sub site for the course but when trying to use the File picker to load some documents I just get "No files available". Any thoughts. Running verion 29.0.0.0 (2015060100) of the plugin on a fresh install of Moodle 2.9.2+ (Build: 20150924)
  • Picture of Andrew Oosterhoff
    Fri, 2 Oct 2015, 2:15 AM
    Well i feel doumb after 3 hours a messing with it. Need to login as user that was authed by 365 to accesss it i guess. my moodle user I was using has no access.
  • Picture of Shawn Peters
    Fri, 8 Jan 2016, 12:36 AM
    Anyone else not able to access Office365 repository after updating plugsin from December 2015? We can't get to our files anymore.
  • Picture of Shawn Peters
    Fri, 8 Jan 2016, 12:53 AM
    Found another post that fixed my issue. You need to disconnect your O365 account and re-connect it. The button doesn't work so have the user go to this URL (change the root) http://moodle.mydomain.com/local/o365/ucp.php?action=disconnecttoken
    Then just re-connect the Office 365 account and it will work. smile
  • Picture of James McQuillan
    Fri, 8 Jan 2016, 5:24 PM
    Glad your issue was resolved Shawn - I'm aware of this issue and working on a better solution. You're correct that disconnecting and reconnecting is a temporary workaround that should fix the problem until I can get a better solution in place.
  • Picture of Rene Ouellette
    Fri, 5 Feb 2016, 2:23 AM
    I am not able to get the One drive for Business to show the personal storage. Was able to get it working for the course. URL in Local_o365 plugin set to: https://oursite-my.sharepoint.com
    Is there something I need to set on Azure, or could it be a permission issue?
  • Picture of James McQuillan
    Mon, 22 Feb 2016, 3:53 PM
    Hi Rene,

    Can you run the "Azure setup" tool in the Office 365 local plugin? It should report if there are any permission issues. If everything checks out, can you enable the "Record debug messages" setting on that same settings page, click Save changes, then try to access your OneDrive Moodle repository again? If you still don't see any files, go to Site administration > Reports > Logs, change "All activities" to "Site errors", and click "Get these logs". If there are any Office 365-related messages, can you send them to me (in a private message), and we can go from there. Thanks!
  • Pedro Renan
    Wed, 6 Jul 2016, 12:12 PM
    Problem on the line 983 of the file local/o365/classes/rest/sharepoint.php I replaced $offsetsize = 8192 * 1024 for $offsetsize = 8388608
  • Picture of James McQuillan
    Wed, 27 Jul 2016, 3:00 AM
    Hi Pedro - This should be resolved in the latest release. Please upgrade and let me know if you continue to experience problems. Thanks!
  • Picture of Eric Albert
    Thu, 28 Jul 2016, 8:52 PM
    I'm having a bit of a problem with getting the Repository to work. Everything is green on the 365 integration and I have linked the Moodle and Office 365 account, but when I try to add an attachment in the File picker i just get "No files available". I've been at it a few days and not sure what more I can do. Any thoughts on how I can debug further?
  • Picture of Sue Moss
    Thu, 28 Jul 2016, 8:59 PM
    We're having the same problem with the file picker. Everything is connected fine, can get to files using the Microsoft block but the Repository is not working - "No files available" and no errors anywhere.
  • Picture of Thomas College
    Fri, 5 Aug 2016, 3:54 AM
    We seem to be having the same problem with the file picker that Eric and Sue are having. Eric or Sue, were you able to resolve your issues?
  • Picture of James McQuillan
    Sat, 6 Aug 2016, 2:43 AM
    Eric + Sue - contacted you directly, however it's probably useful to note here - for everyone having trouble accessing OneDrive in the latest release. We've identified this as a bug and will have a release ready shortly to resolve the problem. Enabling the Microsoft Graph API (both in the options tab of the Office 365 local plugin and in Azure) should resolve the problem immediately. Remember to run the "Azure setup" tool on the setup tab of the Office 365 local plugin after enabling the Graph API to get the plugin to detect the new API.
  • Picture of Sue Moss
    Thu, 20 Oct 2016, 8:44 PM
    Apologies for the delay in replying, we left it alone over the summer break (I only work term time) and have only just got back to looking at it. With the new versions of these plugins we were able to connect to Microsoft via the block and then get the repository file picker running correctly. My only question now is regarding the calendar options in the block where I can get things to sync from Moodle to the 365 calendar, but not anything feeding back to Moodle from 365. Any suggestions?
  • Picture of James McQuillan
    Tue, 25 Oct 2016, 2:38 AM
    @sue - sent you a message
1 2
Please login to post comments