Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 408 Bytes

File metadata and controls

7 lines (5 loc) · 408 Bytes

.NET Web Api 2 Controller to generate Power BI Access Token

A .NET Web Api 2 Controller to generate AzureAD access token for Power BI integration

Usage

  • Directly copy this controller to Controllers directory of your project and get the dependencies.
  • Then fetch or harcode your credentials to generate AzureAD access token and get your detailed access token from /getToken endpoint of your web api.