CustomTokenCredential(TokenCredential)
: Enables using Microsoft Entra ID authentication such as managed identities for Azure resources instead of the shared secret in the connection string.
Note
Microsoft Entra ID authentication requires a fully-qualified namespace usage (e.g. <asb-namespace-name>.servicebus.windows.net
) instead of a connection string (e.g. Endpoint=sb://<asb-namespace-name>.servicebus.windows.net>;[...]
).