Publish PowerBI files with Visual Studio Team Services

1 minute read

Today I published an extension for Visual Studio Team Services (VSTS) that gives you the ability to deploy PowerBI files (pbix) to PowerBI.com. It uses the PowerBI API that has the following operations (at the time of writing this article):

All other information about the API can found on MSDN: https://msdn.microsoft.com/en-us/library/mt147898.aspx

VSTS PowerBI Extension

Start using the extension in VSTS

To start with the extension you will need to meet the prerequisites:

  • Account with access to PowerBI
  • Azure Active Directory application with access to the PowerBI API

This means you will have to register an application within Azure Active Directory to be able to use the PowerBI API. The user that publishes the dashboards from VSTS should have access to the application created in Azure Active Directory.

The below figure gives an example for an Azure Active Directory application.

Azure Active Directory Application

 

The application itself needs to be configured with the following permissions.

Application Permissions

Future Releases

This is the first release, if you have any suggestions or remarks please let me know. I will try to add those within a new release.

Other information about the extension: