Azure AD 和 Power BI Government 中的访问令牌范围

问题描述 投票:0回答:1

我目前嵌入了 SSO 的 Power BI,我使用 JavaScript 库(msal、power BI 客户端)通过在 Azure 中注册的应用程序来执行此操作。但是,现在我已经尝试了政府电力 BI 的这种实现,但它不起作用,在 Azure 中注册的应用程序中我只看到电力 BI 服务(公共)

我检查了文档,发现 Power BI 公众和 Power BI 政府之间的 API 范围是不同的。 current Api from Azure app registration Power BI 政府 URL:https://analysis.usgovcloudapi.net/powerbi/api/.defaul

如何在 Azure 中注册的应用程序中添加 Power BI Government 的范围?

powerbi azure-web-app-service single-sign-on powerbi-embedded
1个回答
0
投票

使用 msal 签名时,范围可以作为请求中的参数传递。请参阅此使用 msal 进行单点登录,并查看它们在 msalInstance 中传递的请求中的范围。

© www.soinside.com 2019 - 2024. All rights reserved.