This plugin adds the "Sign-in with Azure" button on the login page.
- add the plugin into /auth/azureoauth2/
- in the Moodle administration, enable the plugin (Admin block > Plugins > Authentication)
- in the plugin settings, follow the displayed instructions.
code forked from - http://mouneyrac.github.io/moodle-auth_googleoauth2/).