Microsoft Flow整合 [英] Microsoft Flow Integration

查看:78
本文介绍了Microsoft Flow整合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,请帮我.

我正在尝试使用Microsoft Flow从Microsoft Bookings获取信息.

I'm trying to use Microsoft flow to get information from Microsoft Bookings.

所以我要做的是从http POST连接器获取令牌,我使用的参数是:

So what I done is get the token from an http POST conector, the parameters that I use are:

方法:POST

Uri:https://login.microsoftonline.com/tenant/oauth2/token

Uri: https://login.microsoftonline.com/tenant/oauth2/token

标题:内容类型:application/x-www-form-urlencoded

Headers: Content-Type: application/x-www-form-urlencoded

正文:  grant_type = client_credentials& client_id = client_id'& client_secret = client_secret& resource = https://graph.microsoft.com/

Body: grant_type=client_credentials&client_id=client_id'&client_secret=client_secret&resource=https://graph.microsoft.com/

然后我得到了一个令牌,该令牌映射为我使用的参数解析为新的HTTP:

And I get a Token that I map to parse into a new HTTP the parameters that I use are:

方法:GET

URI:https://graph.microsoft.com/beta/bookingBusinesses/ID/appointments/

URI: https://graph.microsoft.com/beta/bookingBusinesses/ID/appointments/

标头:授权:载体access_token(无空格)

Headers: Authorization: Bearer access_token (with no space)

因此,当我运行该流程时,我会收到:. CompactToken解析失败,错误代码:80049217

So when I run the flow I recive: Unauthorized. CompactToken parsing failed with error code: 80049217

我是全局管理员用户,并且我授予了所有权限.

当我解码令牌时,我看到我拥有权限,如您所见:

When I decode de token I saw that I've the permissions as you can see:

为了安全起见,我更改了{value}
的代码
.....

请问有人可以帮我吗?

just for security I change the codes for {value}

.....

Please could enyone help me? What I'm doing wrong?

推荐答案

https://powerusers.microsoft.com/t5/Microsoft-Flow-Community/ct-p/FlowCommunity  获取有关Microsoft Flow查询的更好的见解.

I suggest you to post your query on  https://powerusers.microsoft.com/t5/Microsoft-Flow-Community/ct-p/FlowCommunity  for better insights related to Microsoft Flow queries.

--------------- -------------------------------------------------- ------------------------------

如果此答案有帮助,请单击标记为答案"或投票.要提供有关您的论坛体验的其他反馈,请单击

If this answer was helpful, click "Mark as Answer" or Up-Vote. To provide additional feedback on your forum experience, click here.


这篇关于Microsoft Flow整合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆