【问题标题】:How to get MyTeams of CurrentUser in Office 365(Dynamics 365) Environment from Powerapps?如何从 Powerapps 获取 Office 365(Dynamics 365) 环境中 CurrentUser 的 MyTeams?
【发布时间】:2019-04-15 07:54:02
【问题描述】:

如何从 Powerapps 获取 Office 365(Dynamics 365) 环境中 CurrentUser 的 MyTeams

我们正在尝试检查 CurrentUser 是否是特定团队的成员。团队是从 Dynamics 365 环境中添加的。

我们可以通过将“团队”实体添加到数据源中来获取所有现有团队。但我们需要 currentUser 的团队。 Powerapps 在实体页面中显示“MyTeams”选项。但是代码中没有这样的选项。

Teams in Dynamics 365 enviroment

Myteams Option in Powerapps

【问题讨论】:

  • 您有任何后续问题吗?

标签: security dynamics-crm office365 powerapps


【解决方案1】:

就像我在您的another question 中回答的那样,我们将在客户端表单脚本中使用 Web api 进行此类查询。

TeamMembership 实体未在 PowerApps D365 连接器中列出,因此替代解决方案是自定义连接器以使用所需的 crm Web api 调用。 Read more

【讨论】:

    猜你喜欢
    • 2019-04-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-10-13
    • 1970-01-01
    相关资源
    最近更新 更多