我正在尝试在我的数据管道中构建一个可以刷新 Power bi 报表的步骤。
到目前为止,我的 AAD 客户端 ID 触发了刷新,但它总是询问我的个人密码以及 mfa。
有没有办法使用服务主体或不需要个人密码的东西?
我使用以下链接进行测试:
https://github.com/Azure-Samples/powerbi-powershell/blob/master/manageRefresh.ps1
可以使用服务主体帐户进行身份验证,它目前处于预览状态。
https://powerbi.microsoft.com/en-us/blog/use-power-bi-api-with-service-principal-preview/