- Package Name: azure-servicebus
- Package Version: 7.14.3
- Operating System: Ubuntu
- Python Version: 3.13.11
Describe the bug
Async ServiceBusAdministrationClient (from azure.servicebus.aio.management import ServiceBusAdministrationClient) is not using connection_verify kwargs to build pipeline transport
To Reproduce
Steps to reproduce the behavior:
- Create an async
ServiceBusAdministrationClient object using the from_connection_string helper method
- Pass the
conn_str parameter and connection_verify as a .pem path as a kwarg into the helper method
- Perform any request
Expected behavior
The async ServiceBusAdministrationClient should use the provided certificate passed to connection_verify parameter to verify its connection
Screenshots
From connection string method:

Calls class init method

That calls _build_pipeline method (without passing received kwargs)

Additional context
Source code may also be found here
The sync client works properly, however, when using the Async client it raises this exception:
Cannot connect to host [...] ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1032)')]
I was able to perform a workaround and make this work properly by only re-building the pipeline and replacing it in the client.

Describe the bug
Async
ServiceBusAdministrationClient(from azure.servicebus.aio.management import ServiceBusAdministrationClient) is not using connection_verify kwargs to build pipeline transportTo Reproduce
Steps to reproduce the behavior:
ServiceBusAdministrationClientobject using thefrom_connection_stringhelper methodconn_strparameter andconnection_verifyas a .pem path as a kwarg into the helper methodExpected behavior
The async
ServiceBusAdministrationClientshould use the provided certificate passed toconnection_verifyparameter to verify its connectionScreenshots

From connection string method:
Calls class init method

That calls _build_pipeline method (without passing received kwargs)

Additional context
Source code may also be found here
The sync client works properly, however, when using the Async client it raises this exception:
Cannot connect to host [...] ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1032)')]I was able to perform a workaround and make this work properly by only re-building the pipeline and replacing it in the client.
