Power BI .NET REST API Client (Microsoft.PowerBI.Api)
freeMicrosoft's official .NET client library for the Power BI REST APIs — typed access to workspaces, reports, datasets, dashboards, and embed tokens.
- Category
- platform-apis
- Type
- sdk
- Language
- C#
- Maintainer
- microsoft
- Author
- Microsoft
- Added
- Jun 1, 2026
What it does
Microsoft.PowerBI.Api is the official .NET client library for the Power BI public REST endpoints. It provides typed access to workspaces, reports, datasets, dashboards, imports, and embed-token generation, among others. It is commonly used alongside MSAL for authentication in service and Power BI Embedded scenarios, and targets .NET Standard 2.0 and .NET Framework 4.8+.
Why use it
Use it to call the Power BI REST APIs from .NET with strongly typed models instead of hand-built HTTP requests — especially for embedding and administrative automation.
Getting started
dotnet add package Microsoft.PowerBI.Api