AzureAD / MSAL.PS

MIT License
159 stars 29 forks source link

Error getting token in Interactive mode: The server understood the request, but is refusing to fulfill it #25

Open DeyvLauzon opened 3 years ago

DeyvLauzon commented 3 years ago

Hi,

Thanks for the great module, it's going to be of great help for us.

I am able to get a token with the same app using DeviceCode and using Client Secret but I get the error above when trying to get a token in Interactive mode. I have MFA on the account and the browser actions seems to be working, I get the error after the successfull browser popup.

Here's my command: $myAccessTokenDel = Get-MsalToken -ClientId $AzureAPPid -TenantId $tenantID -RedirectUri "https://localhost" -Interactive

Thanks in advance.