OneDrive repository: Difference between revisions
Helen Foster (talk | contribs) (→Repository capabilities: updated cap) |
Helen Foster (talk | contribs) (The OneDrive (legacy) repository) |
||
Line 20: | Line 20: | ||
# Go to 'Manage repositories' in Site administration and enable the OneDrive repository. | # Go to 'Manage repositories' in Site administration and enable the OneDrive repository. | ||
# On the OneDrive configuration page, make sure that Microsoft is selected as the OAuth 2 service then save changes. | # On the OneDrive configuration page, make sure that Microsoft is selected as the OAuth 2 service then save changes. | ||
==The OneDrive (legacy) repository== | |||
In Moodle 3.3, the OneDrive repository used in earlier versions of Moodle has been renamed to 'OneDrive (legacy)'. The API used by this repository plugin has been deprecated by Microsoft and will stop working eventually. Users are encouraged to migrate to the new OneDrive repository right away. | |||
Note: You need to enable the new OneDrive repository (as above) ''before'' migrating from the OneDrive (legacy) repository. | |||
==Repository capabilities== | ==Repository capabilities== | ||
There is just one capability associated with this repository: [[Capabilities/repository/onedrive:view|View OneDrive repository]] | There is just one capability associated with this repository: [[Capabilities/repository/onedrive:view|View OneDrive repository]]. | ||
[[de:Skydrive Repository]] | [[de:Skydrive Repository]] | ||
[[es:Repositorio Skydrive]] | [[es:Repositorio Skydrive]] |
Revision as of 16:01, 4 May 2017
The Microsoft OneDrive repository allows you to access your documents from Microsoft OneDrive within Moodle. 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. Once you have agreed, you can then log in,view and use your files.
Notes:
- This is the regular, free OneDrive account, NOT the OneDrive for Business, which will not work.
- 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.
Enabling the OneDrive repository
To use the OneDrive repository, an administrator must first create a Microsoft OAuth 2 service (a new requirement in Moodle 3.3 onwards).
- Go to 'OAuth 2 services' in Site administration and click the button to create a new Microsoft service.
- Follow the instructions in OAuth 2 Microsoft service and obtain a client ID and secret.
- Enter the client ID and secret and save changes.
- Go to 'Manage repositories' in Site administration and enable the OneDrive repository.
- On the OneDrive configuration page, make sure that Microsoft is selected as the OAuth 2 service then save changes.
The OneDrive (legacy) repository
In Moodle 3.3, the OneDrive repository used in earlier versions of Moodle has been renamed to 'OneDrive (legacy)'. The API used by this repository plugin has been deprecated by Microsoft and will stop working eventually. Users are encouraged to migrate to the new OneDrive repository right away.
Note: You need to enable the new OneDrive repository (as above) before migrating from the OneDrive (legacy) repository.
Repository capabilities
There is just one capability associated with this repository: View OneDrive repository.