Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Has anyone created a C# web application that manages a Power BI environment? Sort of a CRUD app (create, read, update, and delete)? I need to make one and the less I have to start from scratch, the better.
Here is a Visual Studio project with C# and ASP.NET MVC that I have been developing on and off for several month now called Workspace Manager.
http://internalshare.blob.core.windows.net/public/WorkspaceManager.zip
It authenticates a user with Azure AD and then it calls the Power BI Service API as that user. The user needs to be an admin because of what he app does. To run this demo app, you must create an Azure AD application and configure it will all the available delegated permissions for the Power BI Service API. Then copy the application ID, the app secret and a registered reply URL into the web.configure file and you should be able to start her up.
Some of the code is still a bit rough but the app can do the folllowing.
There's lots more I want to add but this is where I have gotten so far. Let me know if you are able to get this C# ASP.NET MVC application up and running.
So far I'm getting this error:
Error NuGet Package restore failed for project WorkspaceManager: Unable to find version '2.0.121817003' of package 'Microsoft.PowerBI.Api'. C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Package 'Microsoft.PowerBI.Api.2.0.121817003' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'. https://api.nuget.org/v3/index.json: Package 'Microsoft.PowerBI.Api.2.0.121817003' is not found on source 'https://api.nuget.org/v3/index.json'. . Please see Error List window for detailed warnings and errors.
Cool! Should we put this on github and colloborate?
User | Count |
---|---|
14 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
16 | |
11 | |
5 | |
4 | |
3 |