Skip to content

Can't identify Personal Vault folder in the API so can't skip them reliably #1905

@ncw

Description

@ncw

It isn't possible to read the contents of "Personal Vault" folders via the API so I would like to skip them. However there isn't a unique identifier for these folders that I can see.

Ideas

  • Use the name: it might be localized.
  • Use absence of webUrl: might be OK but for all I know is missing for other content
  • Use siteURL == https://my.microsoftpersonalcontent.com/personal/XXX: that domain is not specific to personal vault it is used all over onedrive

Can we rely on one of these as a unique identifier?

If not can you add one please?

Here is how they appear at the moment

{
  "createdDateTime": "2025-07-01T03:58:19Z",
  "eTag": "XXX",
  "id": "XXX",
  "lastModifiedDateTime": "2025-07-01T03:58:19Z",
  "name": "Personal Vault",
  "cTag": "XXX",
  "size": 0,
  "createdBy": {
    "application": {
      "id": "XXX",
      "displayName": "XXX"
    },
    "user": {
      "displayName": "SharePoint App"
    }
  },
  "lastModifiedBy": {
    "user": {
      "displayName": "SharePoint App"
    }
  },
  "parentReference": {
    "driveType": "personal",
    "driveId": "XXX",
    "id": "XXX",
    "name": "Documents",
    "path": "/drives/XXX/root:",
    "siteId": "XXX"
  },
  "fileSystemInfo": {
    "createdDateTime": "2025-07-01T03:58:19Z",
    "lastModifiedDateTime": "2025-07-01T03:58:19Z"
  },
  "remoteItem": {
    "id": "XXX",
    "size": 814474,
    "folder": {
      "childCount": 4
    },
    "parentReference": {
      "driveType": "personal",
      "driveId": "XXX"
    },
    "sharepointIds": {
      "listId": "XXX",
      "listItemUniqueId": "XXX",
      "siteId": "XXX",
      "siteUrl": "https://my.microsoftpersonalcontent.com/personal/XXX",
      "webId": "XXX"
    }
  }
}

For more discussion see: rclone/rclone#8736

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions