I am getting the below error when trying to get refresh token using Microsoft Graph API:
AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access
API --> https://login.microsoftonline.com/<tenantId>/oauth2/v2.0/token (POST METHOD)
(We are using a paid version of container for Microsoft Embedded SharePoint with active azure subscription.)
This API was working earlier not all of a sudden it stopped working. I am not sure if MFA is enabled or any other settings change somewhere by mistake. Can someone enlighten me on what steps I can do to debug this issue. ( PS: I did see similar issues in the community, but the solutions that are provided doesnt match with my scenario, they were mentioning something related to MFA being enabled but when I checked it was disabled in my case)