MsalError.ForceRefreshNotCompatibleWithTokenHash Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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