-
Bug
-
Resolution: Fixed
-
Minor
-
4.2.1, 4.3.1, 4.4
-
6
-
Team Hedgehogs 2025 Sprint 2.2
MDL-61921 added support for XOAUTH2 for outgoing/incoming mail. However, this seems to not completely work work with O365.
Based on initial investigation we found:
We were to register a Business account of o365 and test it with Moodle.
However, we are encountering an issue with our core_oauth2 codebase. When the admin attempts to connect the Micosoft OAuth2 to a system account, we encounter a problem. Our core_oauth2 currently only supports one entry point: https://graph.microsoft.com. Unfortunately, Microsoft is using https://outlook.office.com to grant the permission for the token.
Additionally, when requesting the token and refresh-token, Outlook's entry point requires a "scope" parameter that is not needed in the Graph entry point.
This tracker is to address this issue.