[Python] Phyton script to access Azure Service Bus with Managed identity

Discussão em 'Python' iniciado por Stack, Setembro 23, 2024.

  1. Stack

    Stack Membro Participativo

    I want to send a message to a servicebus from Visual Studio Code, in a simple python script. I want to access the service bus using a managed identity (in this case my own user). From visual studio it would be fairly simple using the authentication part in options.

    As I understand it in Visual Studio Code you can use the Azure Account extension. So I installed the extension, logged in with success and can see all azure ressources.

    However when i run my python script I get following error: [​IMG]

    Its like VS Code does not pickup my credentials. Beside logging into the extention is other configurations needed?

    Continue reading...

Compartilhe esta Página