cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

Service Bus Connection String

Hi,

 

Can anyone help me form a connection string for a Service Bus connection in Flow?  If I enter the connection string that the Azure portal gives me: (obviously i have snipped my actual details here)

Endpoint=sb://<snip>.servicebus.windows.net/;SharedAccessKeyName=<snip>;SharedAccessKey=<snip snip>=;EntityPath=newsletter

  

Body
{ "status": 400, "message": "ConnectionString should not include EntityPath.", "source": "127.0.0.1" }
 
Fair enough.  I remove the Entity Path element:
Endpoint=sb://<snip>.servicebus.windows.net/;SharedAccessKeyName=<snip>;SharedAccessKey=<snip snip>=;
Body
{
  "status": 401,
  "message": "40103: Invalid authorization token signature, Resource:sb://<snip>.servicebus.windows.net/newsletter. TrackingId:bf7ec8af-c29b-417d-b1bd-846074dad7aa_G9, SystemTracker:<snip>.servicebus.windows.net:newsletter, Timestamp:7/1/2016 4:47:13 PM",
  "source": "127.0.0.1"
}
So, does anyone know how I should format my connection string?
 
Thanks
1 ACCEPTED SOLUTION

Accepted Solutions
Flow Staff SameerCh
Flow Staff

Re: Service Bus Connection String

Snipping off the Entity path will not work, unfortunately.  You can get the Connection string for the root namespace.  For this, just navigate to the screen which list the namespace, select the namespace and click on "Connection Information".

3 REPLIES 3
Flow Staff SameerCh
Flow Staff

Re: Service Bus Connection String

Snipping off the Entity path will not work, unfortunately.  You can get the Connection string for the root namespace.  For this, just navigate to the screen which list the namespace, select the namespace and click on "Connection Information".

Super User
Super User

Re: Service Bus Connection String

Thanks, that sorted it.

 

It didn't occur to me that the Connection String at teh root of the namespace would be different to the one in the Queue page.

 

 

jonathan2
Level: Power Up

Re: Service Bus Connection String

When i pull the connection string from teh root namepace I still get the error when I run the flow. Adding the connection works fine.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 119 members 4,172 guests
Please welcome our newest community members: