Hi AakVa-1147,
Thanks for reaching out to Microsoft Q&A.
Could you check and confirm below:
- Go to the API connection in the failing environment: Azure Portal => Resource Group => Connections =>
<servicebus> - Open Edit API connection
- Select any of the option: Client certificate Auth or Managed Identity
Check if you see "This connection uses Managed Identity" to make sure it is using managed identity.
Recreate the Connection in the Proper Mode to resolve the issue:
- Delete the existing API connection (
servicebus). - Recreate a new connection:
- Authentication: Managed Identity
- Ensure the Logic App’s System-Assigned or User-Assigned Identity is selected.
- Assign the following to the identity on the Service Bus namespace:
- Azure Service Bus Data Sender (or) Azure Service Bus Data Owner
- Save the connection.
- Reopen Logic App designer and reselect the connection.
Hope it helps!
Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.
If you have any other questions, let me know in the "comments" and I would be happy to help you.