Share via


MsalError.ForceRefreshNotCompatibleWithTokenHash Field

Definition

What happened?

The operation attempted to force a token refresh while also using a token hash. These two options are incompatible because forcing a refresh bypasses token caching, which conflicts with token hash validation.

Mitigation:

- Ensure that `force_refresh` is not set to `true` when using a token hash. - Review the request parameters to ensure they are not conflicting. - If token hashing is required, allow the cached token to be used instead of forcing a refresh.
public const string ForceRefreshNotCompatibleWithTokenHash;
val mutable ForceRefreshNotCompatibleWithTokenHash : string
Public Const ForceRefreshNotCompatibleWithTokenHash As String 

Field Value

Applies to