How to connect locally to service bus without connection string?
Hey there,
I am trying to disable local auth for my team's Service Bus in PME. We were able to migrate to passwordless connections to the service bus in prod, but when we develop locally we are hitting some obstacles. Improvements to our service requires a lot of local debugging and testing, so it is very important that this is working before we go ahead and disable local auth.
For local development, I went ahead and created a "dummy" service bus in the Microsoft tenant. I am now attempting to connect to this service bus by setting the "AzureWebJobsServiceBus:fullyQualifiedNamespace" value in my local.settings file. I have assigned myself the Service Bus Data Owner role in the test service bus. However, I am hitting an 'Azure.Identity.CredentialUnavailableException' exception at start up. After this initial exception, I am able to invoke my azure function successfully using an Http endpoint. All of the steps I have completed were the same for connecting to our prod service bus. Does anyone have any insight on why the Identity exception occurs at start up? Is there any solution to this?
Best, Megan Dymerski