[英]Connecting a Logic App to a resource calendar
我有一个资源(一个房间),我希望能够获取有关它的信息并进行报告。
系统从日历中提取事件,将列表发送到函数应用程序进行处理,然后发送电子邮件。 使用我自己的日历可以很好地工作。 我的努力是让它做到这一点,但要使用房间的日历。
使用图形资源管理器,我可以获得所需的信息:
https://graph.microsoft.com/v1.0/users/roomName@bvn.com.au/events
我也可以使用图形资源管理器来获取日历的 ID: https://graph.microsoft.com/v1.0/users/roomName@bvn.com.au/calendars
: https://graph.microsoft.com/v1.0/users/roomName@bvn.com.au/calendars
返回:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('roomname%40bvn.com.au')/calendars",
"value": [
{
"id": "A very very long string",
"name": "Calendar",
"color": "auto",
"changeKey": "something/somethingElse==",
"canShare": true,
"canViewPrivateItems": true,
"canEdit": true,
"owner": {
"name": "RoomName",
"address": "roomname@bvn.com.au"
}
}
]
}
但是,当我将该 ID 放入逻辑应用连接器时:
我收到一个错误:
{
"status": 404,
"message": "The specified object was not found in the store.\r\nclientRequestId: anID\r\nserviceRequestId: anotherID",
"error": {
"message": "The specified object was not found in the store."
},
"source": "office365-ae.azconn-ae.p.azurewebsites.net"
}
我曾尝试使用资源的电子邮件地址,也尝试过其他一些 ID,但都无济于事。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.