Skip to content

Commit f3ddbdd

Browse files
PetarSDimovPetar Dimovgladjohn
authored
Remove confusing error text as it only applies to one of many possible causes (#5467)
* Remove confusing error text as it only applies to one of many possible cases. * Update src/client/Microsoft.Identity.Client.Broker/WamAdapters.cs Co-authored-by: Gladwin Johnson <[email protected]> --------- Co-authored-by: Petar Dimov <[email protected]> Co-authored-by: Gladwin Johnson <[email protected]>
1 parent 81c50aa commit f3ddbdd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/client/Microsoft.Identity.Client.Broker/WamAdapters.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,8 @@ private static MsalException CreateExceptionFromWamError(
9090
$" Error Code: {errorCode} \n" +
9191
$" Error Message: {authResult.Error.Status} \n" +
9292
$" WAM Error Message: {authResult.Error.Context} \n" +
93-
$" Internal Error Code: {internalErrorCode} \n" +
94-
$" Possible causes: \n" +
95-
$"- Invalid redirect uri - ensure you have configured the following url in the application registration in Azure Portal: " +
96-
$"{GetExpectedRedirectUri(authenticationRequestParameters.AppConfig.ClientId)} \n";
93+
$" Internal Error Code: {internalErrorCode} \n" +
94+
$" See troubleshooting: https://aka.ms/msal-net-wam \n";
9795
logger.Error($"[RuntimeBroker] WAM_provider_error_{errorCode} {errorMessage}");
9896
serviceException = new MsalServiceException($"WAM_provider_error_{errorCode}", errorMessage);
9997
serviceException.IsRetryable = false;

0 commit comments

Comments
 (0)