I'm able to authenticate to the service bus connector using managed identity, however, my use case involves authenticating via service principal and certificate from key vault. The service principal has service bus data receiver role added to the service bus.
I downloaded the certificate from the keyvault in pfx format. There is no password associated with the cert. When I upload it, the api connection is in error state. Below is the connection config and the connection state json after creation, It seems like it;s expecting CLIENT_SECRET which shouldn't be the case when authenticating via cert.
Connection Error:
"statuses": [ { "status": "Error", "target": "token", "error": { "code": "Unauthorized", "message": "Failed to acquire access token for service using client credentials flow: IdentityProvider=aadcertificate. Correlation Id=41de39d2-18a7-4fd2-856c-1sffddgg8d, UTC TimeStamp=12/9/2025 11:09:21 PM, Error: No key 'clientsecret' for grant_type={GrantType}&client_id={ClientId}&client_secret={ClientSecret}&resource={ResourceUri}" } } ]