PowerBI / getting-started-for-dotnet

We moved this repo to https://github.com/Microsoft/PowerBI-CSharp/tree/master/samples/consoleapp/getting-started-for-dotnet
32 stars 36 forks source link

Getting Started Instructions Missing Key Step #1

Open sjkdev21 opened 9 years ago

sjkdev21 commented 9 years ago

Following the instructions through this project was my very first introduction to using the PowerBI API. I was very frustrated to find that by following your instructions I was unable to successfully authenticate with the PowerBI API. View this thread https://social.technet.microsoft.com/Forums/en-US/1f3746bf-4f46-43e5-9695-b77c0b59afdd/powerbi-authentication-not-working?forum=powerbiforoffice365 on the PowerBI forums for more specifics on the issue.

The solution was that your app needs to delegate permission to PowerBI so that PowerBI has read access to user profiles. In order to do this people need to merge their Office365 active directory accounts (with active PowerBI lisences) into their Azure AD. Then you can register your client app in the Azure AD and in the configure tab you can delegate permissions. The below link should help people once they've linked their Office365 account to Azure:

https://msdn.microsoft.com/en-US/library/dn877542.aspx

-Steve

jocaplan commented 9 years ago

Thank you for reporting. We have made some updates to the documentation. Please let me know if you run in to any further issues.