SharedWithMeResources
Lists files and folders that have been shared with the signed-in user by others, including metadata such as the owner, sharing permissions, and access details.
Table Specific Information
Due to API limitations, all operators on this view are executed client-side.
SharedWithMeResources listing is done recursively via the DirectoryRetrievalDepth property. This property's default value is 5, which means it will get data only for the first 6 levels of the 'Drive' you've chosen (because the first level is located in DirectoryRetrievalDepth=0).
You can specify the value -1 to get all the shared resources in the 'Drive' no matter the depth they're located in.
Columns
| Name | Type | References | Description |
| id [KEY] | String | Unique identifier of the shared file or folder. | |
| Etag | String | Entity tag used to detect changes to the shared item. | |
| createdBy_user_id | String | ID of the user who originally created the shared item. | |
| createdBy_user_displayName | String | Display name of the user who created the shared item. | |
| lastModifiedBy_user_id | String | ID of the user who last modified the item. | |
| lastModifiedBy_user_displayName | String | Display name of the user who last modified the item. | |
| createdBy_application_displayName | String | Display name of the user who created the shared item. | |
| createdBy_application_id | String | ID of the application that created the item. | |
| createdDateTime | Datetime | Date and time when the item was created. | |
| description | String | Optional description provided by the item owner. | |
| lastModifiedBy_application_displayName | String | Name of the application that last modified the item. | |
| lastModifiedBy_application_id | String | ID of the application that last modified the item. | |
| lastModifiedDateTime | Datetime | Date and time of the last modification. | |
| name | String | Name of the shared file or folder. | |
| parentReference_driveId | String | ID of the drive where the shared item resides. | |
| parentReference_driveType | String | Type of drive the item is shared from (for example, business or personal). | |
| parentReference_id | String | ID of the parent folder that contains the shared item. | |
| parentReference_name | String | Name of the parent folder containing the item. | |
| parentReference_path | String | Path of the shared item within its source drive. | |
| parentReference_shareId | String | Identifier used to access the shared resource. | |
| parentReference_sharepointIds_listId | String | SharePoint list ID if the item is part of a list. | |
| parentReference_sharepointIds_listItemId | String | SharePoint list item ID for the shared item. | |
| parentReference_sharepointIds_listItemUniqueId | String | Unique SharePoint list item ID across the site. | |
| parentReference_sharepointIds_siteId | String | ID of the SharePoint site that owns the item. | |
| parentReference_sharepointIds_siteUrl | String | URL of the SharePoint site where the item is hosted. | |
| parentReference_sharepointIds_tenantId | String | Tenant ID of the organization that shared the item. | |
| parentReference_sharepointIds_webId | String | Web ID of the SharePoint subsite. | |
| parentReference_siteId | String | ID of the overall site the item was shared from. | |
| webUrl | String | Direct link to open the shared item in OneDrive. | |
| LinkedcreatedByUser | String | Indicates whether the item is linked to its original creator. | |
| LinkedlastModifiedByUser | String | Indicates whether the item is linked to the user who last modified it. | |
| audio_album | String | Title of the album the audio file belongs to. | |
| audio_albumArtist | String | Name of the album's primary artist. | |
| audio_artist | String | Artist credited with the audio track. | |
| audio_bitrate | Long | Bitrate of the audio file, measured in kilobits per second. | |
| audio_composers | String | List of composers credited for the track. | |
| audio_copyright | String | Copyright notice associated with the audio file. | |
| audio_disc | Int | Disc number of the audio album, if part of a multi-disc set. | |
| audio_discCount | Int | Total number of discs in the audio album. | |
| audio_duration | Long | Duration of the audio file in milliseconds. | |
| audio_genre | String | Genre classification of the audio content. | |
| audio_hasDrm | Bool | Indicates whether the audio file is protected by Digital Rights Management (DRM). | |
| audio_isVariableBitrate | Bool | Indicates whether the audio file uses variable bitrate encoding. | |
| audio_title | String | Title of the audio track. | |
| audio_track | Int | Track number of the audio file within its album. | |
| audio_trackCount | Int | Total number of tracks in the album. | |
| audio_year | Int | Year the audio track was released. | |
| bundle_album_coverImageItemId | String | ID of the item used as the album's cover image. | |
| bundle_childCount | Int | Number of child items (files or folders) in a bundled collection. | |
| content | String | Binary content stream of the shared file. This field cannot be updated directly. | |
| cTag | String | Tag used to represent the current state of the item's content. | |
| deleted_state | String | Indicates whether the item is in a deleted or recycled state. | |
| file_hashes_crc32Hash | String | CRC32 checksum of the file for basic integrity verification. | |
| file_hashes_quickXorHash | String | QuickXor hash used for efficient file integrity checks. | |
| file_hashes_sha1Hash | String | SHA-1 hash of the file used for content validation. | |
| file_hashes_sha256Hash | String | SHA-256 hash of the file for secure content validation. | |
| file_mimeType | String | MIME type describing the format of the file. | |
| file_processingMetadata | Bool | Indicates whether the file includes metadata related to processing. | |
| fileSystemInfo_createdDateTime | Datetime | Timestamp when the file was originally created. | |
| fileSystemInfo_lastAccessedDateTime | Datetime | Timestamp of the most recent access to the file. | |
| fileSystemInfo_lastModifiedDateTime | Datetime | Timestamp of the last modification to the file. | |
| folder_childCount | Int | Number of items (files and subfolders) in the folder. | |
| folder_view_sortBy | String | Field used to sort the folder's contents. | |
| folder_view_sortOrder | String | Sort direction used (ascending or descending). | |
| folder_view_viewType | String | Preferred display layout for the folder (for example, thumbnails or list). | |
| image_height | Int | Height of the image in pixels. | |
| image_width | Int | Width of the image in pixels. | |
| location_altitude | Double | Altitude where the item, (such as a photo) was captured. | |
| location_latitude | Double | Latitude where the item was captured. | |
| location_longitude | Double | Longitude where the item was captured. | |
| malware_description | String | Description of any malware detected in the file. | |
| package_type | String | Type of package represented by the item (for example, notebook or folder). | |
| pendingOperations_pendingContentUpdate_queuedDateTime | Datetime | Timestamp when a pending content update was queued. | |
| photo_cameraMake | String | Camera manufacturer used to capture the photo. | |
| photo_cameraModel | String | Camera model used to capture the photo. | |
| photo_exposureDenominator | Double | Denominator of the exposure setting used (for example, 60 for 1/60 sec). | |
| photo_exposureNumerator | Double | Numerator of the exposure setting used. | |
| photo_fNumber | Double | F-number (aperture value) used to capture the photo. | |
| photo_focalLength | Double | Focal length of the camera lens in millimeters. | |
| photo_iso | Int | ISO sensitivity setting used when the photo was taken. | |
| photo_orientation | Int | Orientation flag indicating how the image should be rotated or displayed. | |
| photo_takenDateTime | Datetime | Timestamp when the photo was taken. | |
| publication_checkedOutBy_application_displayName | String | Display name of the application that checked out the item. | |
| publication_checkedOutBy_application_id | String | ID of the application that checked out the item. | |
| publication_level | String | Publication level of the item (for example, draft or published). | |
| publication_versionId | String | Version identifier of the published item. | |
| remoteItem_createdBy_application_displayName | String | Name of the app that created the original file on a different drive. | |
| remoteItem_createdBy_application_id | String | ID of the app that created the original file on a different drive. | |
| remoteItem_createdDateTime | Datetime | Timestamp when the remote item was created. | |
| remoteItem_file_hashes_crc32Hash | String | CRC32 checksum of the remote file for integrity validation. | |
| remoteItem_file_hashes_quickXorHash | String | QuickXor hash used for fast integrity checks on the remote file. | |
| remoteItem_file_hashes_sha1Hash | String | SHA-1 hash of the remote file content for validation. | |
| remoteItem_file_hashes_sha256Hash | String | SHA-256 hash of the remote file content for secure verification. | |
| remoteItem_file_mimeType | String | MIME type indicating the content format of the remote file. | |
| remoteItem_file_processingMetadata | Bool | Indicates whether the remote file includes metadata used during processing. | |
| remoteItem_fileSystemInfo_createdDateTime | Datetime | Timestamp indicating when the remote file was originally created. | |
| remoteItem_fileSystemInfo_lastAccessedDateTime | Datetime | Timestamp of the most recent access to the remote file. | |
| remoteItem_fileSystemInfo_lastModifiedDateTime | Datetime | Timestamp of the last modification made to the remote file. | |
| remoteItem_folder_childCount | Int | Number of child items (files or subfolders) contained in the remote folder | |
| remoteItem_folder_view_sortBy | String | Field used to sort the remote folder's contents (for example, name or date). | |
| remoteItem_folder_view_sortOrder | String | Direction in which the remote folder’s contents are sorted (ascending or descending). | |
| remoteItem_folder_view_viewType | String | Preferred display layout for viewing the contents of the remote folder (for example, list or thumbnails). | |
| remoteItem_id | String | Unique identifier of the remote item that was shared. | |
| remoteItem_image_height | Int | Height of the remote image file in pixels. | |
| remoteItem_image_width | Int | Width of the remote image file in pixels. | |
| remoteItem_lastModifiedDateTime | Datetime | Timestamp when the remote item was last modified. | |
| remoteItem_name | String | Name of the remote file or folder. | |
| remoteItem_package_type | String | Type of package the item represents (for example, notebook or folder). | |
| remoteItem_parentReference_driveId | String | ID of the drive that hosts the shared remote item. | |
| remoteItem_parentReference_driveType | String | Type of drive the remote item resides in (for example, personal or business). | |
| remoteItem_parentReference_id | String | ID of the parent item or folder containing the remote item. | |
| remoteItem_parentReference_name | String | Name of the parent item or folder. | |
| remoteItem_parentReference_path | String | Full path to the remote item within the drive. | |
| remoteItem_parentReference_shareId | String | Share ID that identifies the shared reference for the remote item. | |
| remoteItem_parentReference_sharepointIds_listId | String | SharePoint list ID associated with the remote item. | |
| remoteItem_parentReference_sharepointIds_listItemId | String | ID of the item within a SharePoint list. | |
| remoteItem_parentReference_sharepointIds_listItemUniqueId | String | Globally Unique ID (GUID) of the SharePoint list item. | |
| remoteItem_parentReference_sharepointIds_siteId | String | ID of the SharePoint site that contains the item. | |
| remoteItem_parentReference_sharepointIds_siteUrl | String | URL of the SharePoint site hosting the remote item. | |
| remoteItem_parentReference_sharepointIds_tenantId | String | ID of the Microsoft 365 tenant that owns the SharePoint content. | |
| remoteItem_parentReference_sharepointIds_webId | String | Web ID of the SharePoint site collection. | |
| remoteItem_parentReference_siteId | String | ID of the overall site associated with the remote item. | |
| remoteItem_shared_scope | String | Scope of the remote item's sharing (for example, organization or users). | |
| remoteItem_shared_sharedDateTime | Datetime | Timestamp of when the remote item was shared. | |
| remoteItem_size | Long | Size of the remote item in bytes. | |
| remoteItem_specialFolder_name | String | Name of the special folder type (for example, Documents or Photos) the remote item belongs to. | |
| remoteItem_video_audioBitsPerSample | Int | Bit depth of the audio track, indicating the number of bits used to represent each audio sample. | |
| remoteItem_video_audioChannels | Int | Number of audio channels in the video file, such as 2 for stereo or 6 for surround sound. | |
| remoteItem_video_audioFormat | String | Format of the audio track in the video. For example, AAC or MP3. | |
| remoteItem_video_audioSamplesPerSecond | Int | Audio sample rate, showing how many audio samples are captured per second (measured in hertz). | |
| remoteItem_video_bitrate | Int | Bitrate of the video file, representing how much data is processed per second. | |
| remoteItem_video_duration | Long | Length of the video in milliseconds. | |
| remoteItem_video_fourCC | String | Four-character code (FourCC) identifying the video codec used. | |
| remoteItem_video_frameRate | Double | Frame rate of the video, indicating how many frames are displayed per second. | |
| remoteItem_video_height | Int | Height of the video resolution in pixels. | |
| remoteItem_video_width | Int | Width of the video resolution in pixels. | |
| remoteItem_webDavUrl | String | URL used to access the remote item via Web Distributed Authoring and Versioning (WebDAV). | |
| remoteItem_webUrl | String | Web link to view the remote item in a browser. | |
| searchResult_onClickTelemetryUrl | String | URL used for tracking clicks on search results, primarily for telemetry purposes. | |
| shared_owner_application_displayName | String | Display name of the application that originally shared the item. | |
| shared_owner_application_id | String | Unique ID of the application that originally shared the item. | |
| shared_scope | String | Scope of sharing, such as whether the item is shared with specific users or more broadly across an organization. | |
| shared_sharedDateTime | Datetime | Date and time the item was shared with the signed-in user. | |
| sharepointIds_listId | String | ID of the SharePoint list containing the item. | |
| sharepointIds_listItemId | String | ID of the specific item within the SharePoint list. | |
| sharepointIds_listItemUniqueId | String | GUID for the list item across the SharePoint environment. | |
| sharepointIds_siteId | String | ID of the SharePoint site that owns the item. | |
| sharepointIds_siteUrl | String | URL of the SharePoint site where the item resides. | |
| sharepointIds_tenantId | String | ID of the Microsoft 365 tenant associated with the SharePoint content. | |
| sharepointIds_webId | String | ID of the web within the SharePoint site collection. | |
| size | Long | Size of the shared item in bytes. | |
| specialFolder_name | String | Name of the special folder category the item belongs to, such as Documents or Photos. | |
| video_audioBitsPerSample | Int | Bit depth of the video's audio track. | |
| video_audioChannels | Int | Number of audio channels in the video (for example, mono or stereo). | |
| video_audioFormat | String | Audio codec used in the video file. | |
| video_audioSamplesPerSecond | Int | Audio sampling rate of the video, measured in hertz. | |
| video_bitrate | Int | Total bitrate of the video file. | |
| video_duration | Long | Total duration of the video in milliseconds. | |
| video_fourCC | String | FourCC identifying the video codec. | |
| video_frameRate | Double | Number of frames per second in the video. | |
| video_height | Int | Height of the video resolution in pixels. | |
| video_width | Int | Width of the video resolution in pixels. | |
| webDavUrl | String | WebDAV URL for accessing the item. | |
| Linkedanalytics | String | Provides access to usage analytics for the shared item, such as views and interactions. | |
| Linkedchildren | String | Lists child items contained within a folder. | |
| LinkedlistItem | String | References the list item associated with the file if it is part of a SharePoint list. | |
| Linkedpermissions | String | Lists the permissions granted on the shared item. | |
| LinkedretentionLabel | String | Provides information about the retention label applied to the item for compliance. | |
| Linkedsubscriptions | String | References any subscriptions related to the item, such as webhook notifications. | |
| Linkedthumbnails | String | Provides access to image thumbnails associated with the item. | |
| Linkedversions | String | Lists previous versions of the file for version history tracking. | |
| Linkedworkbook | String | Reference to the Excel workbook object if the file is an Excel document. |