Hi,
thank you for your answer. Here is the documentation: https://docs.wpo365.com/article/22-sso
” Please not that if your intention is to use the WPO365 plugin for your internet website (in other words, when you do not want to restrict access to all pages and posts of your WordPress website to users that signed in with Microsoft) you should change the proposed Redirect URI before you copy it and add wp-admin/ e.g. https://www.your-website.com/wp-admin/ (include the trailing slash).”
I will try your suggestion about using https://example.com/ as my Redirect URL.
Kind regards,