Forum Discussion

Jonwik_jr's avatar
Jonwik_jr
New Member
7 years ago

Embedding power ib report using client secret key

Hi,

 

i have successfully developed solution for embedding power bi report using native concept ( uanme, upwd, application/client ID) with the help powerbi.api.v2 sdk

 

now i want to solution for the same using server side concept (application/clientid, client secret key),

From this link embed pbi using service principal, i have tried that Access token with service principal concept, after creating powerbi client i am facing Operation returned an invalid status code 'Unauthorized'  error while getting workspaces using clientPowerBI.Groups.GetGroups();

 

Could anyone guide me in correct path ?, Thanks in advance :)

2 Replies