Skip to content
EOL Watch
Search itemsOpen menu

Microsoft 365Retirement

SharePoint Online: pre-authenticated (tempauth) URLs of the Microsoft Graph file APIs are retiring

Start date for the removal of pre-authenticated (tempauth) URLs in SharePoint Online and OneDrive: 1 Apr 2027. In a post on the Microsoft 365 Developer Blog, Microsoft says SharePoint Online and OneDrive will begin removing pre-authenticated URLs on 1 Apr 2027.

Retirement:

What breaks

In a post on the Microsoft 365 Developer Blog, Microsoft says SharePoint Online and OneDrive will begin removing pre-authenticated URLs on 1 Apr 2027. The post describes those URLs as self-issued tokens SharePoint embeds directly in a URL, commonly seen as the tempauth query parameter. Microsoft says behavior changes begin on that date: affected APIs stop returning 302 redirects to pre-authenticated URLs, and SharePoint Online URLs returned in response bodies no longer carry a tempauth token. Microsoft says URLs returned by the affected Microsoft Graph file APIs will require Entra authentication after that date. The post names affected Microsoft Graph APIs: download a file, driveItem: createUploadSession, working with long running actions (copy and monitor), driveItem: preview, retrieve thumbnails for a file or folder, and convert to other formats. Microsoft says no action is required if an organization does not use the affected APIs, or if its applications already use direct Microsoft Graph content endpoints with standard Microsoft Entra ID authentication.

What to do

Microsoft says to acquire a Microsoft Entra ID access token for the SharePoint Online host of a returned URL and present it in the Authorization header. The post describes a tenant setting that, where a Microsoft Graph alternative exists, lets a SharePoint administrator opt specific applications in to receiving Microsoft Graph URLs instead of SharePoint Online or media-service URLs. Microsoft says the app then uses the Microsoft Graph access token it already has. The post says the setting applies only to third-party applications. Microsoft also says to stop treating returned URLs as durable access artifacts. Because the pre-authentication tenant settings can disable functionality in a production tenant, Microsoft says to evaluate every change in a test tenant first.

Replacement

Microsoft Entra ID access tokens

Sources

Last checked against this source on .

Found an error? Report it

The text on this page is drafted with AI assistance from the vendor's text, checked against the official source and approved by a person before it is published. How items are written

Last checked · Added · Changelog for this item