PowerBI embed app - Server

This API App API (.NET Core V5.0) is used to obtain PowerBI Token and embedUrl.

Setting steps: - Register app and Add permissions in Power BI, - Update id, key in API app.

------------------

Add a app registeration in Auzre portal

https://portal.azure.com/

App registeration:

1. app name: [pwbiclient] --- the name that has create in PowerBI

   web, Redirect URLs: https://pwbiclient

2. Overview->Application (client) ID and Directory (tenant) ID

Location:
	 【application id】: ******
	 【tenant id】: ******

3. get [Secret Key]
   Manage->Certificates & secrets, New client secret, Expires (select 24 months) 

【applicationSecret】: (value/key): ******

Add Security Group in the AAD:

Update parameter in .NET Core (5.0) API App

Open appsettings.json, Update:

Last updated

Was this helpful?