首页 > 解决方案 > 创建 Azure 函数以调用 Yammer API 并在 Flow 中使用它

问题描述

我知道在 Microsoft Flow 中,您可以使用现有的 Yammer 连接器登录到 Yammer 并发送消息。我知道目前不支持发送表扬,但可以通过调用 REST API 来实现。因此,我创建了一个 Azure 函数来执行此操作并设置了一个连接器,以便我可以从 Flow 中调用它。如果我为 Azure 函数提供不记名令牌,则此方法有效。但是是否有可能在创建流程期间登录到 Yammer、获取令牌并将其传递给函数?

标签: azureyammerflow

解决方案


I don't know enough about Microsoft Azure functions to answer that part of the question. However, I know that if you have the access token for a verified admin user in a Yammer network, you can use obtain the access token of any other user in the Yammer network and impersonate them (https://developer.yammer.com/docs/impersonation). Perhaps this will help.


推荐阅读