azure - 创建 Azure 函数以调用 Yammer API 并在 Flow 中使用它
问题描述
我知道在 Microsoft Flow 中,您可以使用现有的 Yammer 连接器登录到 Yammer 并发送消息。我知道目前不支持发送表扬,但可以通过调用 REST API 来实现。因此,我创建了一个 Azure 函数来执行此操作并设置了一个连接器,以便我可以从 Flow 中调用它。如果我为 Azure 函数提供不记名令牌,则此方法有效。但是是否有可能在创建流程期间登录到 Yammer、获取令牌并将其传递给函数?
解决方案
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.
推荐阅读
- flutter - 更新后 Flutter 无法识别它自己的小部件命名参数
- android - 您如何使用所需的背景颜色填充整个通知弹出窗口(类似于阿迪达斯跑步应用程序)?
- python - python脚本中意外标记'('附近的语法错误
- php - 我尝试将视频自己的网站上传到 youtube,但总是出现错误
- python - 如果语句条件被忽略并直接进入 else 无论您输入什么
- sql - 优化oracle sql
- python - Py:找不到命令pyinstaller
- javascript - 如何调整 JqGrid 列宽
- javascript - Javascript - 从循环返回值
- python - 在熊猫数据框中使用查询