Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/client/Microsoft.Identity.Client.Broker/WamAdapters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,8 @@ private static MsalException CreateExceptionFromWamError(
$" Error Code: {errorCode} \n" +
$" Error Message: {authResult.Error.Status} \n" +
$" WAM Error Message: {authResult.Error.Context} \n" +
$" Internal Error Code: {internalErrorCode} \n" +
$" Possible causes: \n" +
$"- Invalid redirect uri - ensure you have configured the following url in the application registration in Azure Portal: " +
$"{GetExpectedRedirectUri(authenticationRequestParameters.AppConfig.ClientId)} \n";
$" Internal Error Code: {internalErrorCode} \n" +
$" See troubleshooting: https://aka.ms/msal-net-wam \n";
logger.Error($"[RuntimeBroker] WAM_provider_error_{errorCode} {errorMessage}");
serviceException = new MsalServiceException($"WAM_provider_error_{errorCode}", errorMessage);
serviceException.IsRetryable = false;
Expand Down
Loading