Hi @Ahsan Habib ,
I added this to my git: https://github.com/blucas2016/TestVaultRefOnAZFunctionV4Isolated
try to clone and modify the value for "Hub1ConnString" to your vault's secret path
I've added that httptrigger just because makes it easier to debug and demo the parsing of the vault reference . as you see in the debug window the value is the conn string, not the vault ref
I'm running my vs 2022 as admin:
Sometimes it can be the firewall. But usually, firewall throws a specific error: https://brunolucas.blog/2022/02/27/code-and-test-azure-service-bus-and-azure-event-hub-triggers-locally/
Let me know if that works. if Doesn't, I'm happy to expand on what I've done with more details.