mssparkutils.credentials.getSecret not working

Ramachandraiah, Putta 5 Reputation points

when trying to fetch secrets from azure key-vault using mssparkutils in azure synapse getting below exception

Py4JJavaError: An error occurred while calling z:mssparkutils.credentials.getSecret. : com.twitter.finagle.NoBrokersAvailableException: No hosts are available for, Dtab.base=[], Dtab.local=[]. Remote Info: Not Available

It's working in other environments, but failing in UAT

here is the sample code I am using, in the linked service when I click on test connection it is showing successful (:, but not working with getSecret method.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,145 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,462 questions
{count} votes