NHSDigital/integration-adaptor-mhs

Error for Azure service Bus (amqp:unauthorized-access’, “Unauthorized access. ‘Send’ claim(s) are required to perform this operation.)in inbound logs

Opened this issue · 0 comments

Description:
For the MHS request execution we are getting expected response code but inbound logs shows error for azure service bus.
When using azure service bus: error in sending message to azure service bus queue.
This error is seen for below two request execution.
Async Reliable Pattern message - Asynchronous Response
Async Express Pattern message - Asynchronous Response

Error:

  • When setup queue url as amqps://md-dev-kainos-asb.servicebus.windows.net/;SharedAccessKeyName=;SharedAccessKey=
    SAS policy ( manage, listen and read) is enabled for this user but still getting below error:
    amqp:unauthorized-access’, “Unauthorized access. ‘Send’ claim(s) are required to perform this operation.

  • When setup queue url as amqps://md-dev-kainos-asb.servicebus.windows.net:5672 with passing username and password for respective variables got below error:
    Failed to send message to any of ’[’amqps://md-dev-kainos-asb.servicebus.windows.net:5672’]

Test data -
ASB_AccessPolicy
Env_variables
inbound_06_07_final.txt
outbound_06_07_final.txt
image
image
image

Priority - Medium

@michael-kainos