无法使用服务主体通过Power BI嵌入进行仅App身份验证

时间:2019-05-24 03:54:26

标签: powerbi-embedded

I am using app only authentication with power bi embedding and following below steps:

1. Registered an App in Azure Active Directory and capture an application ID,
 an application secret, and the service principal object ID.
2. Create a security group in Azure Active Directory (AAD).
3. In Power BI admin, enable service principal in the Developer settings 
add the security group
4. Add the service principal as an admin to the workspace
But I am getting error "Operation returned an invalid status code 'Unauthorized'"

请看图片我如何启用事物。

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:0)

您将需要创建新的工作区。如果您现有的,则必须将其迁移到新的。

https://powerbi.microsoft.com/en-us/blog/use-power-bi-api-with-service-principal-preview/

请参阅“如何迁移Power BI Embedded以与服务主体一起使用”部分