Skip to content

Want to filter, watch and bookmark items? Sign in to check out the full ChangePilot feature set.

Plan for change Admin Medium User Low Ask about this change Watch Bookmark Labels

MC1442608 Microsoft SharePoint Embedded: Update to driveItem.webUrl behavior

Primary service: SharePoint

ChangePilot summary

  • Microsoft is changing how the Microsoft Graph driveItem.webUrl property behaves for content stored in SharePoint Embedded.
  • After the change, driveItem.webUrl will return a browser launch URL that may vary by file type, viewer support, or redirect configuration, rather than a stable file location.
  • Applications that depend on driveItem.webUrl as a permanent link, identifier, or comparison value may need to be updated to use driveItemId instead.
  • Admins can temporarily retain the legacy behavior for a SharePoint Embedded container type by configuring UseLegacyItemWebUrl, but this is only a migration aid.
  • Organizations using SharePoint Embedded apps should review app dependencies and validate redirect behavior before the legacy option is no longer supported.

What it means for you

What admins need to do

Inventory any SharePoint Embedded solutions that read, store, compare, or pass driveItem.webUrl as a stable reference. Update code and integrations to use driveItemId for identity, and confirm any redirect or launch logic still works for unsupported file types. If you need more migration time, evaluate whether UseLegacyItemWebUrl should be temporarily enabled for the affected container type and plan to remove that dependency before the opt-out expires.

Impact on users

Most end users will not notice a change if their apps only use driveItem.webUrl to open files in a browser. If an app relied on the old behavior for links or file lookups, users may see different link destinations or broken app workflows until the application is updated.

If you miss it

If this is missed, SharePoint Embedded apps that treat driveItem.webUrl as a permanent identifier may break or start resolving to different URLs, causing failed links, lookup errors, or incorrect file handling. IT may lose the chance to transition cleanly before the legacy behavior is retired, increasing support tickets and the risk of unexpected application outages when the new behavior becomes mandatory.

Admin controls available
Yes

History

Recorded changes

No changes recorded since ChangePilot first saw this post.

Microsoft message

[What and why]

We are updating the behavior of the Microsoft Graph driveItem.webUrl property for content stored in SharePoint Embedded.

After this change, driveItem.webUrl will return the URL used to open a file in a browser rather than being treated as a stable file location or identifier. Depending on the file type and your SharePoint Embedded configuration, the returned URL may be:

  • A Microsoft 365 web viewer URL
  • A SharePoint Embedded PDF viewer URL
  • A redirect URL generated from your configured urlTemplate
  • A Microsoft help page URL

This update aligns driveItem.webUrl with its intended purpose as a browser launch URL. Applications that require a stable identifier for a file should use driveItemId, which remains the only unique and stable identifier for an item within a drive. The SharePoint Embedded documentation describes driveItem.webUrl as the URL used to launch supported files in Microsoft 365 experiences.

[Rollout schedule]

  • Targeted Release: Beginning in mid-August 2026
  • General Availability (Worldwide): Beginning in mid-February 2027
  • Temporary opt-out available until: August 17, 2026
  • Customers who opt out before August 17, 2026, will have an additional six months to transition to the new behavior.
  • Temporary opt-out support ends February 22, 2027
  • After February 22, 2027, all customers will receive the updated driveItem.webUrl behavior.

[Impact on your organization]

Who is affected

Organizations that develop, manage, or use SharePoint Embedded applications that rely on driveItem.webUrl as a permanent file location, stable URL, or file identifier

Platforms and services

  • SharePoint Embedded
  • Microsoft Graph
  • Microsoft 365 web viewers
  • SharePoint Embedded PDF viewer

What will happen

After this change:

  • Word, Excel, PowerPoint, and other supported Microsoft 365 file types will return a Microsoft 365 viewer URL.
  • PDF files will return a SharePoint Embedded PDF viewer URL.
  • Unsupported file types with a configured urlTemplate will return a redirect URL generated from that template.
  • Unsupported file types without a configured urlTemplate will return a Microsoft help page URL.

Applications are not expected to require changes if driveItem.webUrl is used only to open files in a browser.

Your application may require updates if it:

  • Stores driveItem.webUrl as a permanent file location.
  • Uses driveItem.webUrl as a file identifier.
  • Compares driveItem.webUrl values over time to determine file identity or location.
  • Passes driveItem.webUrl to services that require a stable storage URL.
  • Assumes driveItem.webUrl remains unchanged across file types, viewer support scenarios, or redirect configurations.

[Action required and recommendations]

Review how your SharePoint Embedded applications use driveItem.webUrl.

No action is required if driveItem.webUrl is used only to open files in a browser.

We recommend:

  • Identify any application dependencies on driveItem.webUrl as a stable identifier or permanent URL.
  • Update applications to use driveItemId when a stable item identifier is required.
  • Review redirect behavior for unsupported file types.
  • Configure urlTemplate if users should be redirected back to your application. Review: Configure redirect behavior
  • Validate application behavior against the updated driveItem.webUrl experience before enforcement begins.
  • Remove dependencies on the legacy driveItem.webUrl behavior before temporary opt-out support ends.

Use driveItem.webUrl​ when your application needs a URL that opens the file in a browser. Use the driveItemId​ when you need a stable, unique reference to an item.

Organizations that need additional migration time can temporarily retain the current behavior for a SharePoint Embedded container type by setting UseLegacyItemWebUrl to true. Review: Set-SPOContainerTypeConfiguration

The temporary opt-out is intended only as a migration aid and will no longer be honored after February 22, 2027.

Learn more

[Compliance considerations]

No compliance considerations identified. Review as appropriate for your organization.

More information

Details

Preview start
Preview end
Release start
Release end
Published by Microsoft

Services

  • Graph
  • SharePoint

Category

  • Plan for change

Microsoft tags

  • Admin Action
  • Feature Update
  • User Adoption
Open in the Microsoft 365 admin center