Hi @Sandeep Gaur,
Thank you for contacting Q&A Forum. I would like to provide my findings and proposed solution:
Please note: access via an iframe to Entra ID (login.microsoftonline.com) is not permitted. There are no exceptions to this rule. Entra ID does not allow our sign-in pages to render inside of an iFrame. This is not a configurable option and no exceptions are allowed.
Enra ID sets "x-frame-options: deny" in response header. And this tells browser not to display the site within iframe to protect accounts from hijacking. Our suggestion is engaging your app development team to use full page redirection when connecting to login.microsoftonline.com, instead of the loading the page within an iframe.
Kindly let me know if this work for you and please let me know if you have any further questions.
If I have answered your question, please accept this answer as a token of appreciation and don't forget to give a thumbs up for "Was it helpful"!
Best regards,
Eric