Release notes for using Microsoft Graph with OneDrive for Business and SharePoint

Microsoft Graph provides a common API for accessing files from OneDrive personal, OneDrive for Business, and SharePoint. However, while the API surface is common, these services may have slight differences in how the API works that you need to account for. As much as possible the Microsoft Graph works to eliminate these differences, but this page calls out any that you may need to be aware of when working with Microsoft Graph.

Differences between OneDrive Personal, OneDrive for Business, and SharePoint

Differences between OneDrive, OneDrive for Business, and SharePoint are listed below:

CTag implementation

  • OneDrive for Business and SharePoint
    • The cTag property of an driveItem returns only files. This property is not available on folders.

Custom thumbnails

  • OneDrive for Business and SharePoint

Thumbnails collection

  • SharePoint Server 2016
    • Thumbnails for all driveItems are not available.

Item searching

  • OneDrive for Business and SharePoint
    • Search will not return the following properties:
      • createdBy
      • modifiedBy
      • parentReference

Filtering

  • OneDrive for Business and SharePoint
    • Filtering an item collection can only be done by the name and url properties only.

Sorting

  • OneDrive for Business and SharePoint
    • The orderby query string only works with name and url properties.

View deltas

  • OneDrive for Business and SharePoint
    • The delta action is only available on the root item of a drive e.g. /drive/root.
    • The following properties are not returned:
      • createdBy
      • cTag
      • fileSystemInfo
      • lastModifiedBy
  • SharePoint Server 2016
    • The delta function is not available.

Special folders

  • OneDrive for Business and SharePoint
    • Not all of the defined special folders are available. The following special folders are available:
      • approot
      • documents
      • photos

Uploading items

  • OneDrive for Business and SharePoint

File facet

  • OneDrive for Business and SharePoiint

    • The file facet does not include MIME type, SHA1 or CRC32 hash values.
  • OneDrive personal

    • The file facet does not include the QuickXOr hash value.

Image and photo facets

  • OneDrive for Business and SharePoint
    • A limited subset of properties for images and photos is available.
    • The photo facet only provides the takenDateTime property.
    • The image facet is returned on items that appear to be images, but has no properties.
  • SharePoint Server 2016

    • Sharing links are not available.
  • OneDrive for Business and SharePoint

    • The inheritedFrom property on the Permission resource is not returned.

Shared by me

  • OneDrive for Business and SharePoint

Send us feedback!

Please use the community links at the bottom of our website to send us feedback either through UserVoice or by posting issues in GitHub. We want to hear more from you about the OneDrive API for OneDrive for Business.