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
Power Automate Staff SameerCh
Power Automate 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".

View solution in original post

3 REPLIES 3
Power Automate Staff SameerCh
Power Automate 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".

View solution in original post

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

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate 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 Power Automate Community Video Gallery!

Users online (4,627)