I need to read list items from a sharepoint list, which if I am in sharepoint it works perfectly fine.
However I need from Moodle to read data from a sharepoint list, Moodle and Azure AD are connected already using this plugin: https://moodle.org/plugins/local_o365
Is this doable? or not possible with JS to get the authentication somehow before I can do the HTTP request?