Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

O365 file share using Embed code fails to work in Moodle #2634

Open
PriyankaZEN opened this issue Sep 23, 2024 · 4 comments
Open

O365 file share using Embed code fails to work in Moodle #2634

PriyankaZEN opened this issue Sep 23, 2024 · 4 comments
Assignees
Labels
Issue type - enhancement request New feature being requested outside of original scope. Status - need more info Further information requested to triage the issue. Triaging status - triaged A ticket has been created accordingly in the maintainers' ticket system.

Comments

@PriyankaZEN
Copy link

Hello Team,

I work for Microsoft EDU Support, and I have a customer who is trying to add Embed code to Moodle page using "Source Code" addition option within Moodle. Added file just does not load. We do not have OD or SP LI integration officially supported. However, I stumbled upon a few articles that might help.
Uploading image (46).png…

There are about 5K users in customers org who are using Moodle, and they want to use O365 SP as file storage location instead of local storage.

Is Embed code usage a possibility right now? Should it ideally work? I was referring below. It seems pretty old article. Hence the question on support matrix
https://docs.moodle.org/22/en/Embedding_content

My customer also raised this with Moodle. and we did get an answer that its not yet available. However, we are looking for any workarounds possible to make this work. Any alternative which helps customer to use SP (SharePoint) as a storage location for the files would do.
#2595

I also had a look at below article which is mentions steps on how to integrate OD (OneDrive) with Moodle and usage of embed code. However, This is not officially supported by MS. Is this something User can try? If yes, In future, If there are any issues with Integration, Would Moodle be right POC to help my customer?
https://docs.moodle.org/35/en/Office365

@weilai-irl
Copy link
Collaborator

weilai-irl commented Oct 2, 2024

Hi @PriyankaZEN

It looks like the first image that you tried to upload didn't finish correctly.

The embedded content link in your note is for Moodle 2.2 released on 5th December, 2011. On the top of that page there's a link to the up-to-date version of the document, at https://docs.moodle.org/404/en/Media_embedding. The latest version only mentions embedding media files (audio/video), so I believe embedding other files are not supported.

The existing Moodle and Microsoft integration provided by the plugins this github repo is about doesn't contain any specific logic for SharePoint. Specifically, the repository_office365 plugin only calls some endpoints in the "Files" section (https://learn.microsoft.com/en-us/graph/api/resources/onedrive?view=graph-rest-1.0) to interact with Microsoft. Adding SharePoint support will require calling endpoints in the "Site and lists" section (https://learn.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0), which is a completely different set. There may be a lot of work involved in adding SharePoint support, and it's probably impractical to carry out the work in the current support contract.

I hope it clarifies things.

Regards,
Lai

@weilai-irl weilai-irl self-assigned this Oct 2, 2024
@weilai-irl weilai-irl added Issue type - enhancement request New feature being requested outside of original scope. Status - need more info Further information requested to triage the issue. Triaging status - triaged A ticket has been created accordingly in the maintainers' ticket system. labels Oct 2, 2024
@PriyankaZEN
Copy link
Author

PriyankaZEN commented Oct 4, 2024 via email

@PriyankaZEN
Copy link
Author

PriyankaZEN commented Oct 8, 2024 via email

@PriyankaZEN
Copy link
Author

PriyankaZEN commented Oct 8, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue type - enhancement request New feature being requested outside of original scope. Status - need more info Further information requested to triage the issue. Triaging status - triaged A ticket has been created accordingly in the maintainers' ticket system.
Projects
None yet
Development

No branches or pull requests

2 participants