Hi @Nivin George ,
The sometimes happens for users who have blocked 3rd party cookies in their web browsers.
How to enable 3rd-party cookies in Google Chrome:
In the Google Chrome browser, at the top right, click More and then Settings.
At the bottom, click on Advanced.
In the Privacy and Security section, click Site settings.
Select Cookies.
Uncheck the box next to Block third-party cookies and site data
Alternatively, you can leave “Block third-party cookies and site data” enabled and add the Microsoft URLs in the Allow list.
This may also be an issue with the login account you are using or the app settings for the login. You can try deleting the logout uris and redirect uris and running the program.
If these suggestions do not work, please share a screenshot of your audit logs for the application and I will gladly help troubleshoot. If you would prefer to do this over email my address is AzCommunity@microsoft.com.