@Azure-search Thanks for your patience. I am able to fetch the queue name successfully could you please confirm if you have followed the below steps.
- Enable the managed identity for the logic app.
- Assign a role to the managed identity
- Go to the Azure portal and navigate to your Service Bus namespace.
- Select "Access control (IAM)" from the left-hand menu.
- Click "Add" to add a new role assignment.
- Select the role you want to assign to the managed identity, such as "Azure Service Bus Data Owner".
- Under "Assign access to", select "Managed identity" and then select the managed identity that you want to assign the role to.
- Click "Save" to save the role assignment.
- create connection as shown below
- once after creating a connection you will be able to see the queue name as shown below
Reference: https://learn.microsoft.com/en-us/azure/connectors/connectors-create-api-servicebus?tabs=consumption
https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-diagnosing-failures?tabs=consumption
The error "unresolvablehostname" typically indicates a problem with DNS resolution. could you please confirm if your servicebus is in VNet? If yes check the DNS configuration of your virtual network. Make sure that the DNS server is configured correctly and that it can resolve the hostname of the Service Bus.
Check the firewall rules of your virtual network. Make sure that the firewall rules allow traffic to and from the Service Bus queue.
If you still observe the errors, I suggest you open a support ticket to our Azure Support team. They will help you in configuring and they have best tools and resources to investigate the backend logs and find the cause. Do you have a support plan for this subscription? If not, I can have a one-time free support ticket created to have this specific issue investigated. I will share the details in a separate message after you confirm.
I hope this helps and let me know if any questions.