Microsoft OneDrive document converter

Document converters ::: fileconverter_onedrive
Maintained by Neill Magill, University of NottinghamThe University of Nottingham
Converts files to pdf using Microsoft OneDrive.
Latest release:
723 sites
198 downloads
11 fans
Current versions available: 5

Converts files to pdf using Microsoft OneDrive.

You will need a Microsoft account to use this plugin.

Installation

The Microsoft OneDrive document converter follows the standard installation procedure.

  1.  Create folder <path to your moodle dir>/files/converter/onedrive.
  2. Extract files from folder inside archive to created folder.
  3. Visit page Site administration ► Notifications to complete installation.

Enabling the converter

Visit Site administration ► Plugins ► Document converters ► Manage document converters to enable the plugin

You will need to ensure that it is:

  1. Configured to use a Microsoft OAuth 2 service.
  2. Working by using the 'Test this converter is working properly' link on the settings page.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Neill Magill (Lead maintainer)
University of Nottingham
The University of Nottingham: Lead maintainer
Please login to view contributors details and/or to contact them

Comments RSS

הצגת הערות
  • Rodrigo Fabaro
    7/02/2024, 22:16
    Hi Neill, thank you for your answer.

    Conversion test failed: The Microsoft Graph conversion API did not send a URL to the converted document

    More information about this error

    that is the msg i m getting
  • Rodrigo Fabaro
    7/02/2024, 22:18
    When i search about Microsoft Graph, there is an aritcle date from 24/01/2024 (https://learn.microsoft.com/en-us/graph/api/driveitem-get-content-format?view=graph-rest-1.0&tabs=http)

    There is an update on the requires of TLS
  • remco koffijberg
    13/02/2024, 19:43
    Hi Neill, I just installed Moodle, so my version is 4.3 and this plugin does not work yet. Is there a planning to make it work...?
  • Mike Nodding
    19/02/2024, 12:06
    Hi Neil, i've also noticed a problem today, same issue as above, with message "Conversion test failed: The Microsoft Graph conversion API did not send a URL to the converted document" when i run the test function, but i'm now also seeing heaps of this message in the mdl_file_conversion table with -1 fail indicator. Any ideas? cheers
  • Mike Nodding
    21/02/2024, 20:31
    Hi, re the error mentioned above, the pull request fixes it - https://bitbucket.org/uonmoodle/moodle-fileconverter_onedrive/pull-requests/12/api-response-headers-should-be-searched - tested in our environment and it fixes the issue. cheers
  • Neill Magill
    22/02/2024, 21:38
    A change from Tony Butler that fixed the issue for him has been merged into the version of the plugin in the repository.
  • Mike Nodding
    23/02/2024, 11:59
    nice one, thanks. I don't suppose you know how to force a reprocess of the failed conversions in 4.x with the adhoc tasks?
  • Marius Larose
    28/03/2024, 22:33
    Hi Neill, I've just updated this plugin as I've been having the "Conversion test failed: The Microsoft Graph conversion API did not send a URL to the converted document" error message (and teachers telling us the documents are not converting properly). I understood from your February 22nd comment that Tony Butler's fix was merged with the latest version (2022050600). I downloaded that version and changed version.php locally to be able to overwrite our Moodle's plugin that had the same version number (and thus avoid deinstalling and reinstalling the plugin). I'm still getting the same error message when testing the converter.

    Would it be possible to confirm this repository's version contains the fix from Tony Butler and if so, change the lastest version's number so it's possible to update the plugin via Moodle's interface (Check for available updates)? Thank you! Cheers
  • Xabier Martín
    28/05/2024, 14:16
    Hi,

    It would be interesting to apply the latest fix in the Moodle repository. Is it planned to be added to the repository?

    Regards
  • Trent McNeeley
    5/06/2024, 20:24
    Hello, all. Can anyone confirm compatibility (or incompatibility) with Moodle 4.3 at this time?
  • Rodrigo Fabaro
    19/09/2024, 18:10
    Hi, i m still have the same issue: "The Microsoft Graph conversion API did not send a URL to the converted document"

    Can you please confirm if i reistall the plugin it will come back to work , also confirm when i config the Oauth 2 service it must be set as discorery. but somehow it does not show ether .
  • Devin Monroe
    29/10/2024, 22:58
    Does this work with Okta or do we need to have Microsoft as the OAUTH IDP?
  • Neill Magill
    29/10/2024, 23:23
    The plugin uses Moodle's OAuth2 service (https://docs.moodle.org/405/en/OAuth_2_services) to connect to Microsoft it will use the connected system account, which must have access to OneDrive, to do the document conversion.
  • Devin Monroe
    5/11/2024, 23:22
    Does this plugin store the converted document in Moodle or does it then load the document form OneDrive?

    Does the data auto clean up on OneDrive?
  • Neill Magill
    5/11/2024, 23:27
    The document that is being converted is uploaded into OneDrive, the converted document is then downloaded and stored in the Moodle file store, the document that was put into OneDrive is then deleted.

    So it will only temporarily store the files in OneDrive (unless something goes wrong and prevents the clean up)
1 2 3 4 5
Please login to post comments