Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect #48

Closed
vsslasd opened this issue Dec 7, 2020 · 5 comments
Closed

Can't connect #48

vsslasd opened this issue Dec 7, 2020 · 5 comments
Assignees

Comments

@vsslasd
Copy link

vsslasd commented Dec 7, 2020

Great idea - this connector. It's something that is missing in PowerBI.
Unfortunately, we cannot utilize it yet... is there a newer version ?
We went through the steps a number of times with Microsoft and kept running into the same issue.
when trying to attach to any of the database objects, we get error messages. including: "We couldn't authenticate with the credentials provided. Please try again."

We have tried this using various credentials, without avail.

Any thoughts on how to resolve ?

@migueesc123
Copy link
Owner

Hey!
Could you provide a set of steps to reproduce the issue?

If the application says that you couldn’t authenticate, that might be sign that there are some missing scopes to be enabled at your application, but nothing that we can control at the custom connector level.

@migueesc123 migueesc123 self-assigned this Dec 7, 2020
@marcmahmoodivc
Copy link

Hi Miguel,

Great Custom Connector; thank you!

I am able to access details on Workspaces / reports etc. without any problems using the custom connector.

Unfortunately I too am unable to access the "Event Activity Log" due to permissions. I suspect my account would require Tenant Level Audit Log reads rather than my Power BI Service Admin permissions which (in theory) enable me to read Power BI specific Audit Log entries only...

Kind regards,

Marc
PBIDesktop_ecCLpCppWx
PBIDesktop_HTrIUhBjpf
PBIDesktop_mD5AOrocWY

@migueesc123
Copy link
Owner

Resolved outside of GitHub. Couldn't determine the root cause or repro the issue, but the current instructions of the repo worked perfectly.

@marcmahmoodivc
Copy link

Hi Miguel,

Thank you for your help on this; I managed to resolve it and learnt a lot along the way:

  • for those unable to see the Custom Connector in PBI desktop, make sure you add it to the correct folder if you have OneDrive redirection set up (for me I had to go to C:\Users<username>\OneDrive - \Documents\Power BI Desktop\Custom Connectors)
  • the API permission Tenant.Read.All (whose name scared the crap out of our Security team) has a very small grayed out button at the top titled "Grant admin consent for " which only a Tenant admin can click or see properly. As a Power BI Service Admin, I did not realise this!

It's all working now and is a great time saver and simplifier of the whole process.

Thanks again,

Marc

@peterkalk
Copy link

I've had the same problem after following the installation instructions: No access to the admin API's. Error message: "We couldn't authenticate with the credentials provided". After trying a lot of possible solutions I did the following and this solved the problem (I only had Application permission for Tenant.Read.All and no delegated permission):

  1. Go to Azure Active Directory -> App registrations and choose your Power BI API App.
  2. Go to the Api permissions tab
  3. Add Api permissions and choose Power BI Services
  4. Add delegated permissions for Tenant.Read.All
  5. Grant the permissions

This worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants