I have an issue sharing a PowerApp with users within our Environment and hopefully someone else has come across this and has found a resolution.
List resides in SP2013, I have a Gateway installed and the site which houses this list is a Datasource.
I have checked:
Gateway/DataSource permissions - person shared with has "Can use" permissions.
Can edit on sp2013 list.
These are the scenarios I have run:
I have proceeded with the following scenarios:
User A: Given rights to Gateway “Can Use” Added rights (Edit) to Target SharePoint list. Waited 15miuntes (for possible timer jobs etc) App shared with the user.
User A got link, opened it and was prompted to log in … used email address and Password. Error: PowerBINotAuthorizedException
User b: Given rights to Gateway “Can Use” Added rights (Edit) to Target SharePoint list. Waited 15miuntes (for possible timer jobs etc) Got user to connect to data source (on prem SharePoint list) by creating an application (not saving and closing) App shared with the user. User opened app, got notification of rights required (this is the screen where others would have to log in), clicked allow and worked perfectly
Creator of App has Can Use / share rights for the gateway/datasource
Could you please share a bit more about the error message within your app?
Based on the error message that you mentioned, it seems to tell that the User A do not have enough permission to access your On-premises Data Gateway.
Please check if you have shared proper permission of your On-premises Data Gateway to your User A. In addition, please also check if the User A has owned PowerApps Plan 1 license at least for his account.
Currently, within PowerApps/Power Automate, if you want to create a connection to On-premises Connector, you must own PowerApps Plan 1 license at least.
Note: Currently, On-premises Data Gateway is not avaiable for Office 365 license.
Community Support Team _ Kris Dai If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
the app is basically as explained. Gateway is shared directly to the user with “Can Use” permissions.
The error message only contains “PowerBINotAuthorizedException” and the session ID.
If it is licensing how come I can get another user to set up an app to the same SharePoint on prem list (using the same gateway) and then they can open the application (and only get prompted for permissions not login)?
Just so you know the user that could open it has a E3 license and I have an E5 ..... (I really hope that this is not licensing)