I have an App that uses Service Bus queue connection. Everything works fine for me and data is send to queue.
I've shared the app for a few people as user and when they try to use the app it asks for connection string to Service Bus. I can't find a way to share Service Bus connection to users.
It seems very odd that the app user should have the connection string.
Has anyone had the same problem?
Some types of connections, such as SQL Server, are shared automatically, but others require users to create their own connections to the data source or sources in the app.
So your shared users need to create their own connections to Service Bus with their own credentials.
Please check this documentation for more details:
So you are saying we cannot use single Service Bus Queue per one PowerApps application but every end user need to connect to Service Bus Queue with exact connection string? It seems very odd that every end user needs to enter something like
Endpoint=sb://[your namespace].servicebus.windows.net;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=[your secret]
before he can use the application. This kind a renders whole Service Bus Queue functionality unusable for every situation where one would like to use queue based communication.
Some connections can be automatically shared when the app is shared, while some connections cannot be automatically shared. You can see if your connection can be shared or not by doing the following:
From https://docs.microsoft.com/en-us/powerapps/share-app-resources (slightly modified by me):
On web.powerapps.com, you can determine whether a connection will be shared automatically, and you can update sharing permissions. In the left navigation bar, click or tap Connections, and then click or tap the connection. If the Share tab appears, the connection will be shared automatically
If you are seeing that a connection can be automatically shared but it is not automatically shared when an app is shared, then that is another issue that would need further investigation.
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights