Hi Naveen
The error message "AADSTS50196: The server terminated an operation because it encountered a loop while processing a request" indicates that there is a loop or circular reference in the request being processed by the Azure Active Directory (AAD) server. This error can occur due to various reasons.
Ill provide a few troubleshoots upon providing more info about the error
Accept the answer if its helpful