

Note that this workaround is not supported.ĭetermine the base URL. If you’re unable to migrate to Microsoft Graph, you can use the following workaround. We recommend that you migrate to the Microsoft Graph shares API if possible. The SharePoint REST API does not have a supported way to interact with user input links. For more information, see Accessing shared DriveItems. The following are some scenarios that are affected by this change:Īpplications that parse a URL input by an end user to get the site URL in order to construct SharePoint REST API requests such as GetFileByUrl or GetSharingLinkData.Īpplications that take URL input from an end user and use CSOM to attempt to query file information.Īpplications that parse a URL input by an end user to determine whether it is an anonymous or an internal-only sharing link.Īpps that use Microsoft Graph to interact with SharePoint links will continue to work.

The new short links are compatible with all APIs that work with guestaccess.aspx links.

The new link format might affect applications or services that inspect or take dependencies on OneDrive or SharePoint URL structures, especially if those applications or services parse the site URL or specific strings. Links that were shared before this change was introduced are not affected by the change and will continue to work.
