The plugin supports scenarios where you’d like your website visitor to sign into your website manually, e.g. when he or she is about to place an order and you’d like that user to create an account first. In this case you can offer the user – with the a simple shortcode – the option to Sign in with Microsoft by providing him or her with a simple button or link. When a user clicks the button or link he or she will be redirected to Microsoft, asked to authenticate and if successful, Microsoft will reply with an (Open Connect) ID token for that user.
In the following video tutorial the Private Pages feature of the WPO365 plugin is used to demonstrate how you can combine the Sign in with Microsoft shortcode and the Internet authentication mode to build a corporate website with a closed user group section.
For further technical details please refer to the Configuration documentation https://docs.wpo365.com/article/99-add-sign-in-with-microsoft-button-anywhere-shortcode.