Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-76516

Major Bug - Moodle 4.1+ OneDrive Repository Does NOT Work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • 4.1
    • Repositories
    • None
    • MOODLE_401_STABLE

      We are on http://docs.moodle.org/401/en/admin/environment/moodle 4.1 (Build: 20221128)

      This looks to be a major bug/blocker which makes it unusable and have tried it NUMEROUS times and still now working unlike  previous version of 3.9.13, which worked.

      I selected a file on my OneDrive repository and selected the radio button

      "Create an access controlled link to the file" and clicked on Save but got thd error.

      Exception - notAllowed: The operation failed because sharing has been disabled on this site.

      File:  /lib/classes/oauth2/rest.php
      Line: 123

      Error code: generalexceptionmessage

       

      * line 123 of /lib/classes/oauth2/rest.php: core\oauth2\rest_exception thrown * line 748 of /repository/onedrive/lib.php: call to core\oauth2\rest->call() * line 960 of /repository/onedrive/lib.php: call to repository_onedrive->set_file_sharing_anyone_with_link_can_read() * line 1289 of /lib/filelib.php: call to repository_onedrive->reference_file_selected() * line 344 of /lib/filelib.php: call to file_save_draft_area_files() * line 159 of /user/classes/form/private_files.php: call to file_postupdate_standard_filemanager() * line 77 of /lib/form/classes/external/dynamic_form.php: call to core_user\form\private_files->process_dynamic_submission() * line 261 of /lib/externallib.php: call to core_form\external\dynamic_form::execute() * line 81 of /lib/ajax/service.php: call to external_api::call_external_function()

        1. authentication_ms.png
          authentication_ms.png
          261 kB
        2. azure_api_permission.png
          azure_api_permission.png
          117 kB
        3. oauth2_ms.png
          oauth2_ms.png
          81 kB
        4. overview_ms.png
          overview_ms.png
          37 kB
        5. secret_key_ms.png
          secret_key_ms.png
          26 kB

            Unassigned Unassigned
            moodlevcc Lawrence N
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.