PowerBIRESTAPI icon indicating copy to clipboard operation
PowerBIRESTAPI copied to clipboard

"Unable to start OAuth login for this data source. PowerBINotAuthorizedException"

Open SamRockX opened this issue 1 year ago • 0 comments

Hi,

I am one of the Gateway Admins for my company. We have about 800 developers and only recently we introduced your connector to them. Obviously everyone loved it! :) Thank you for creating it!

We found two issues with the connector.

  1. When creating a Gateway connection, and making another developer the owner of the connection, they cannot seem to authenticate with their credentials. We get this error - "Unable to start OAuth login for this data source. PowerBINotAuthorizedException". As a remedy, we have to temporarily make them an Admin to pass the OAuth2 login.

  2. Secondly we found that we cannot share Gateway connections among developers (added as Users). Eg: Gateway connection is configured with credentials of user 1 with access to Workspace (X, Y, Z) ... we add another gateway user 2 with Workspace access to (A, B, Z). Now User 2 can only see common workspaces i.e., "Z".. but not A & B. Is there a way to user credentials of the Dataset owner to authenticate the current API calls instead of Gateway owner?

SamRockX avatar Jul 21 '22 12:07 SamRockX