Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: OneDrive repository.

OneDrive repository: Difference between revisions

From MoodleDocs
No edit summary
(Business accounts work for OneDrive repository in 3.3)
 
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
The Microsoft OneDrive repository (''formerly known as Skydrive'') allows  you to access your documents from Microsoft OneDrive within Moodle.  
The Microsoft OneDrive repository (''formerly known as Skydrive'') allows  you to access your documents from Microsoft OneDrive within Moodle.  


''Note: This is the regular, free OneDrive account, NOT the OneDrive for Business, which will not work.''
Notes:
{|
|[[File:MicrosoftSkydrive.png|400px|thumb|Microsoft OneDrive]]
|}


As well as adding basic files, the OneDrive repository link allows you to access your OneDrive to locate embed code for embedding presentations directly into (for example) a label or page:
# This is the regular, free OneDrive account, NOT the OneDrive for Business, which will not work. If you are able to upgrade, then Business accounts will work with new OneDrive repository in 3.3.
{|
# OneDrive requires that requests are delivered over SSL - this means that the OneDrive repository will not work if your site is not running over HTTPS
|[[File:26skydrivelive.png|thumb|400px|Onedrive live link]]
[[File:OD8.png]]
|}
 
As well as adding basic files, the OneDrive repository link allows you to access your OneDrive live directly from the configuration icon.


The first time you access the OneDrive repository, you will be prompted to agree to connect:
The first time you access the OneDrive repository, you will be prompted to agree to connect:
Line 18: Line 16:


Once you have agreed, you can then log in,view and use your files.
Once you have agreed, you can then log in,view and use your files.
==Installation==
==Enabling the repository==
You must register your Moodle with Microsoft in order to allow Moodle to communicate with Microsoft. You must register your application via the following steps:
*Enable the OneDrive repository from 'Manage repositories' in Site administration.
 
*You must register your Moodle with Microsoft in order to allow Moodle to communicate with Microsoft. Click the link presented on the OneDrive configuration screen.
* Visit the Microsoft developer centre: https://account.live.com/developers/applications. Sign in with your Microsoft account, (such as Outlook email).
*Sign in with your Microsoft account.
* Click ‘Create an Application’:
* Click ‘Add an app:


[[File:OD1.png]]
[[File:livesdk.png]]


*Fill in the form with a name for your Moodle and accept the terms:
*Fill in the form with a name for your Moodleaccept the terms and click 'Create application'.


[[File:OD2.png]]
[[File:onedriveappreg.png]]


*If desired, add an organisation logo and link to your Terms of Service:
*If desired, add an organisation logo and link to your Terms of Service:


[[File:OD3.png]]
[[File:onedrivelogoterms.png]]


*Click to save or cancel and then click the link 'API settings' .Paste in the redirect URL you are given in ''Site administration > Plugins > Repositories > Microsoft OneDrive''  
*Click to save or cancel and then click the link 'API settings' .Paste in the redirect URL you are given in ''Site administration > Plugins > Repositories > Microsoft OneDrive''  
Line 42: Line 40:
[[File:OD6.png]]
[[File:OD6.png]]


# You will be shown ‘client ID’ and ‘client secret’. You need to paste these into the boxes in ''Site administration > Plugins > Repositories > Microsoft OneDrive''  
*You will be shown ‘client ID’ and ‘client secret’. You need to paste these into the boxes in ''Site administration > Plugins > Repositories > Microsoft OneDrive''  


*Once saved, users will be able to access their OneDrive files from the OneDrive repository.  
*Once saved, users will be able to access their OneDrive files from the OneDrive repository.


==Repository capabilities==
==Repository capabilities==

Latest revision as of 13:55, 5 June 2017


The Microsoft OneDrive repository (formerly known as Skydrive) allows you to access your documents from Microsoft OneDrive within Moodle.

Notes:

  1. This is the regular, free OneDrive account, NOT the OneDrive for Business, which will not work. If you are able to upgrade, then Business accounts will work with new OneDrive repository in 3.3.
  2. OneDrive requires that requests are delivered over SSL - this means that the OneDrive repository will not work if your site is not running over HTTPS

OD8.png

As well as adding basic files, the OneDrive repository link allows you to access your OneDrive live directly from the configuration icon.

The first time you access the OneDrive repository, you will be prompted to agree to connect:

OD7.png

Once you have agreed, you can then log in,view and use your files.

Enabling the repository

  • Enable the OneDrive repository from 'Manage repositories' in Site administration.
  • You must register your Moodle with Microsoft in order to allow Moodle to communicate with Microsoft. Click the link presented on the OneDrive configuration screen.
  • Sign in with your Microsoft account.
  • Click ‘Add an app:

livesdk.png

  • Fill in the form with a name for your Moodle, accept the terms and click 'Create application'.

onedriveappreg.png

  • If desired, add an organisation logo and link to your Terms of Service:

onedrivelogoterms.png

  • Click to save or cancel and then click the link 'API settings' .Paste in the redirect URL you are given in Site administration > Plugins > Repositories > Microsoft OneDrive

OD4a.png

  • Click the link App Setttings:

OD6.png

  • You will be shown ‘client ID’ and ‘client secret’. You need to paste these into the boxes in Site administration > Plugins > Repositories > Microsoft OneDrive
  • Once saved, users will be able to access their OneDrive files from the OneDrive repository.

Repository capabilities

There is just one capability associated with this repository: repository/skydrive:view: View Skydrive