The Microsoft Azure Service Bus operation defines what to do with messages: send to, receive from, or delete messages in a queue or topic subscription. The connector provides a Delete action — deletes messages from queues and from subscriptions to topics that are defined as the object type.
A successful delete operation returns a 200 status code.
The received delete token is the ID that is used in the operation to identify the message to delete.Community link to configure Microsoft Azure Service Bus delete : March 2017 Release Deep Dive: Microsoft Azure Service Bus Connector
Delete action seems to expect two parameters in the connector parameter, and the looking at the sample from the Process Library, it might not be clear sometimes how to configure the expected second parameter. It should be fine if the connector shows two parameters for delete however only one parameter is required which is the ID delete token from process properties. Delete token is auto generated. There are chances that you could receive null pointer exception.
MSAzure Service Bus connector throws Null Pointer Exception when SAS key/Key Name is not set. The connection component for delete might be missing the SAS key configuration which is throwing a null pointer exception during initialization. The SAS key is required may be not for a query but for a delete operation.
User guide: http://help.boomi.com/atomsphere/GUID-97AB2099-B78D-4058-B91D-E2DDDC1EA110.html
The connector might show two parameters but it is fine to setup only the delete token in the connector parameter to perform a delete operation.
SAS key configuration setup in the connector shall resolve the issue, Enter or paste the primary or secondary key from the Shard access policy into SAS key field in connector.