Hi @Sriman Ilancheran ,
This seems to be a known issue with x-frame-options. To prevent clickjacking, login pages are prevented from being displayed inside frames.
A few things to try:
Please check if login.microsoftonline.com cookies are blocked. Recent Chrome releases on all platforms and Safari on macOS block or remove cookies.
Ensure that you have allowed "third party cookies" in the browsers.
Related threads which you may have seen:
https://blog.atwork.at/medium.aspx?id=c14c3ae3-3aba-429d-a748-b74283dbd463&date=/post/2020/09/13
Another resolution is to use popups/add-in communication via web sockets in your app to handle the login request: https://learn.microsoft.com/en-us/archive/blogs/richard_dizeregas_blog/connecting-to-office-365-from-an-office-add-in#mastering-the-popup
Let me know if this helps.
-
If the information helped you, please Mark the answer. This will help us and other members of the community as well.