/ Recent不会返回LastAccessedDateTime

时间:2018-05-14 20:18:24

标签: json microsoft-graph onedrive

fileSystemInfo

仅返回响应中"fileSystemInfo": { "createdDateTime": "2018-05-14T10:15:21Z", "lastModifiedDateTime": "2018-05-14T10:15:00Z" } 的创建时间和上次修改时间,如下所示:

lastAccessedDateTime

但不是FileSystemInfo as documented

  1. Microsoft Graph Recent API是否会捕获并在其响应中包含只读文件打开事件?或者仅限于文件修改或上传的事件?

  2. 我可以看到LastAccessedDateTime类有一个名为Recent的属性。如果{{1}} API没有返回此信息,那么查询和检索它的替代方法是什么?

1 个答案:

答案 0 :(得分:0)

lastAccessedDateTime属性仅适用于消费者OneDrive,而不适用于SharePoint或OneDrive for Business。来自documentation

  

lastAccessedDateTime 不适用于SharePoint online或OneDrive for Business中的项目。