-1

I want to send a message to a ServiceBus queue from ADO PR policy status menu extension.

I thought of below options:

  • Get user token from ADO, then get user impersonation token for ServiceBus and send message. Is this possible?

  • Create a service endpoint for ServiceBus connection string, but can't get connection string as this is a secret.

Any suggestions?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Suresh Tadisetty
  • 300
  • 1
  • 2
  • 8

1 Answers1

1

Unfortunately, there is no default way to invoke external service APIs from an extension. As alternative, you can queue a build/release from the extension, and use Publish To Azure Service Bus task to send a message to an Azure Service Bus using a service connection.

Cece Dong - MSFT
  • 29,631
  • 1
  • 24
  • 39