Can't pass force_refresh
through get_token
to MSAL's acquire_token_silent_with_error
#17825
Labels
Azure.Identity
Client
This issue points to a problem in the data-plane of the library.
feature-request
This issue requires a new behavior in the product in order be resolved.
Symptom
Due to the removal of
kwargs
when callingacquire_token_silent_with_error
(#16323 (comment)), it is now impossible to passforce_refresh
throughget_token
to MSAL'sacquire_token_silent_with_error
.Impact
This makes the proposed solution for CAE of using
force_refresh=True
orexclude=old_at
impossible (Revoked ATs are returned after re-login AzureAD/microsoft-authentication-library-for-python#335 (comment)).This makes
az account get-access-token --force-refresh
impossible ([Feature Request] Support--force-refresh
inaz account get-access-token
azure-cli#17578).The text was updated successfully, but these errors were encountered: