[BUG] Regional Authority is not used with latest version of ClientCertificateCredential
#29454
Labels
Azure.Identity
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.Identity 1.6.0
Describe the bug
The regional authority is not being used by the
ClientCertificateCredential
constructor even when it is passed in withoptions
since it no longer passes it onto theMsalConfidentialClient
ctor: linkWe're trying to use the regional endpoints and this was working fine in the older versions:
It accidentally got removed here during a refactor while the other credentials that support Regional Authority i.e
ClientSecretCredential
andOnBehalfOfCredential
still have support for RA.Our service can't rollback to the previous versions because we need to be on 1.6.0 which has the fix for #27679 (OBOCredentials not passing x5c)
Expected behavior
Regional Authority should work with
ClientCertificateCredential
just like it does withClientSecretCredential
andOnBehalfOfCredential
types.Actual behavior
Regional Authority doesn't work and calls are sent to global AAD authority instead.
Reproduction Steps
Environment
No response
The text was updated successfully, but these errors were encountered: