如何使用电源查询语言过滤Microsoft Graph API JSON响应?

发布于 2025-01-28 11:07:30 字数 328 浏览 4 评论 0原文

我的请求是

GET https://graph.microsoft.com/v1.0/applications?$select=appRoles

“在此处输入图像描述”

因此,我在PowerApps中有问题,我无法显示对象。

My request is

GET https://graph.microsoft.com/v1.0/applications?$select=appRoles

enter image description here

Because of this I have a problem in PowerApps, I can't show the objects.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

﹂绝世的画 2025-02-04 11:07:30

假设您有...

  • ...一个工作的自定义连接器,名为mycustconn
  • ...使用Get方法称为Getroles

尝试此尝试:

在PowerApp中,插入按钮控件,然后将其OnSelect属性设置为:

  • clearCollect(colapproles,mycustconn.getroles()。value.approles)

然后插入画廊控制并将其项目设置为:

  • colapproles

然后将文本框控件插入图库模板并设置其默认>代码>属性为:

  • thisItem.Description(或thisitem.id等)

Assuming you have...

  • ... a working Custom Connector named myCustConn
  • ... with a GET method called GetRoles

try this:

In the PowerApp, insert a Button control and set its OnSelect property to:

  • ClearCollect(colAppRoles, myCustConn.GetRoles().value.AppRoles)

Then insert a Gallery control and set its Items property to:

  • colAppRoles

Then insert a TextBox control into the Gallery template and set its Default property to:

  • ThisItem.description (or ThisItem.id, etc.)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文