[英]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.