{"id":26170,"date":"2026-10-08T06:10:46","date_gmt":"2026-10-08T13:10:46","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=26170"},"modified":"2026-10-08T06:10:46","modified_gmt":"2026-10-08T13:10:46","slug":"pre-authenticated-tempauth-urls-are-retiring-move-to-microsoft-entra-id-tokens-before-april-1-2027","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/pre-authenticated-tempauth-urls-are-retiring-move-to-microsoft-entra-id-tokens-before-april-1-2027\/","title":{"rendered":"Pre-authenticated (tempauth) URLs are retiring: move to Microsoft Entra ID tokens before April 1, 2027"},"content":{"rendered":"<p data-line=\"10\">On April 1, 2027, SharePoint Online and OneDrive will begin removing pre-authenticated URLs, the self-issued tokens SharePoint embeds directly in a URL, commonly seen as the <code>tempauth<\/code> query parameter. After that date, URLs returned by the affected Microsoft Graph file APIs will require Entra authentication. If your application downloads, uploads, previews, converts, or monitors file operations through Microsoft Graph, now is the time to plan your move to Microsoft Entra ID access tokens.<\/p>\n<h2 id=\"key-message\" data-line=\"12\">Key message<\/h2>\n<p data-line=\"14\">URLs returned by the affected Microsoft Graph file APIs will stop carrying embedded authorization. Any URL that previously worked without an <code>Authorization<\/code> header must now be called with a valid Microsoft Entra ID access token. Where a Microsoft Graph alternative exists, a new tenant setting lets administrators opt your app in to receiving Microsoft Graph URLs you redeem with the Graph token you already hold. Everywhere else, acquire a SharePoint Online token and present it.<\/p>\n<h2 id=\"background\" data-line=\"16\">Background<\/h2>\n<p data-line=\"18\">Pre-authenticated URLs were designed to support richer user experiences. SharePoint issues a short-lived, single-item token inside the URL so a client can fetch content without a separate authentication round trip. Those tokens are short-lived and scoped to one item.<\/p>\n<p data-line=\"20\">Standardizing on Microsoft Entra ID-issued OAuth tokens, and removing authentication material from URLs entirely, is the more secure and more predictable model. URLs get logged, cached, forwarded, and stored in ways that bearer tokens in headers do not.<\/p>\n<p data-line=\"22\">The principle to internalize is simple:<\/p>\n<blockquote data-line=\"24\">\n<p data-line=\"24\">If an API returns a URL that previously worked without authentication because it embedded a token in the URL, that URL must now be accessed by presenting a valid Microsoft Entra ID access token at request time.<\/p>\n<\/blockquote>\n<p data-line=\"26\">In practice, this means the URL itself no longer carries authorization, authorization is enforced through the <code>Authorization<\/code> header, and tokens are issued by Microsoft Entra ID and scoped to the right audience.<\/p>\n<h2 id=\"timeline\" data-line=\"28\">Timeline<\/h2>\n<ul data-line=\"30\">\n<li data-line=\"30\"><strong>Today<\/strong>: The opt-in tenant setting for Microsoft Graph URLs is available, so you can validate your app against the new behavior ahead of the change.<\/li>\n<li data-line=\"31\"><strong>April 1, 2027<\/strong>: Behavior changes begin. Affected APIs stop returning 302 redirects to pre-authenticated URLs, and SharePoint Online URLs returned in response bodies no longer carry a <code>tempauth<\/code> token.<\/li>\n<\/ul>\n<h2 id=\"does-this-affect-you\" data-line=\"33\">Does this affect you?<\/h2>\n<p data-line=\"35\">If your app calls any of the following Microsoft Graph APIs, you have pre-authenticated URL usage today, often without realizing it, because the URL worked without an <code>Authorization<\/code> header:<\/p>\n<ul data-line=\"37\">\n<li data-line=\"37\"><a href=\"https:\/\/learn.microsoft.com\/graph\/api\/driveitem-get-content\" target=\"_blank\" rel=\"noopener noreferrer\">Download a file<\/a><\/li>\n<li data-line=\"38\"><a href=\"https:\/\/learn.microsoft.com\/graph\/api\/driveitem-createuploadsession\" target=\"_blank\" rel=\"noopener noreferrer\">driveItem: createUploadSession<\/a><\/li>\n<li data-line=\"39\"><a href=\"https:\/\/learn.microsoft.com\/graph\/long-running-actions-overview\" target=\"_blank\" rel=\"noopener noreferrer\">Working with long running actions<\/a> (copy and monitor)<\/li>\n<li data-line=\"40\"><a href=\"https:\/\/learn.microsoft.com\/graph\/api\/driveitem-preview\" target=\"_blank\" rel=\"noopener noreferrer\">driveItem: preview<\/a><\/li>\n<li data-line=\"41\"><a href=\"https:\/\/learn.microsoft.com\/graph\/api\/driveitem-list-thumbnails\" target=\"_blank\" rel=\"noopener noreferrer\">Retrieve thumbnails for a file or folder<\/a><\/li>\n<li data-line=\"42\"><a href=\"https:\/\/learn.microsoft.com\/graph\/api\/driveitem-get-content-format\" target=\"_blank\" rel=\"noopener noreferrer\">Convert to other formats<\/a><\/li>\n<\/ul>\n<p data-line=\"44\">A typical pre-authenticated URL looks like this:<\/p>\n<div class=\"codeBlockWrapper_6955b268\" data-line=\"46\" data-markdown-viewer-block=\"code\">\n<pre data-markdown-viewer-slot=\"code-content\"><code class=\"language-text\">https:\/\/&lt;tenant&gt;.sharepoint.com\/sites\/samplesite\/_layouts\/15\/download.aspx?UniqueId=&lt;id&gt;&amp;tempauth=v1.ey...\r\n<\/code><\/pre>\n<\/div>\n<p data-line=\"50\">These APIs fall into two patterns today, and each changes differently.<\/p>\n<div class=\"tableWrapper_6955b268\" data-line=\"52\" data-markdown-viewer-block=\"table\">\n<div class=\"tableScroll_6955b268 tableScrollEndPadding_6955b268\" data-markdown-viewer-slot=\"table-scroll\">\n<table>\n<thead>\n<tr>\n<th>Pattern<\/th>\n<th>What happens now<\/th>\n<th>What changes<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Redirect<\/strong><\/td>\n<td>The API returns a 302 redirect to a short-lived pre-authenticated URL that needs no <code>Authorization<\/code> header.<\/td>\n<td>No 302 redirections are returned. Your app must not intercept or depend on the redirect; it receives the content directly.<\/td>\n<\/tr>\n<tr>\n<td><strong>URL in the response body<\/strong><\/td>\n<td>The API returns a short-lived pre-authenticated URL in the response body, callable with no <code>Authorization<\/code> header.<\/td>\n<td>The SharePoint URL in the body is no longer pre-authenticated. You must supply a valid <code>Authorization<\/code> header with a Microsoft Entra ID access token for SharePoint.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3 id=\"audit-checklist\" data-line=\"57\">Audit checklist<\/h3>\n<p data-line=\"59\">Go looking for these in your codebase:<\/p>\n<ul data-line=\"61\">\n<li data-line=\"61\">Code that reads <code>tempauth=<\/code>, <code>access_token=<\/code>, <code>uploadUrl<\/code>, <code>getUrl<\/code>, <code>@microsoft.graph.downloadUrl<\/code>, or a monitor URL out of a Graph response and then fetches it <em>without<\/em> an <code>Authorization<\/code> header.<\/li>\n<li data-line=\"62\">HTTP clients configured with <code>allowAutoRedirect = false<\/code> around these calls, or logic that inspects a <code>Location<\/code> header.<\/li>\n<li data-line=\"63\">Any place a returned URL is persisted (queued, stored in a database, emailed, passed to another service, or handed to a browser) as though it were a durable access artifact.<\/li>\n<\/ul>\n<h2 id=\"the-path-forward\" data-line=\"65\">The path forward<\/h2>\n<p data-line=\"67\">There is presently one supported destinations, and we are introducing another option soon, most apps will use both.<\/p>\n<h3 id=\"path-a-call-sharepoint-online-directly-with-a-microsoft-entra-id-token\" data-line=\"69\">Path A: Call SharePoint Online directly with a Microsoft Entra ID token<\/h3>\n<p data-line=\"71\">Where there is no Graph alternative, the URL you get back is a plain SharePoint Online URL with no embedded token. You acquire a Microsoft Entra ID access token for that host and present it in the <code>Authorization<\/code> header.<\/p>\n<p data-line=\"73\">Most flows now involve two tokens: a Microsoft Graph token to call the Graph API, which you already do, and a SharePoint token to access the returned SharePoint URL, which is the new part.<\/p>\n<div class=\"tableWrapper_6955b268\" data-line=\"75\" data-markdown-viewer-block=\"table\">\n<div class=\"tableScroll_6955b268 tableScrollEndPadding_6955b268\" data-markdown-viewer-slot=\"table-scroll\">\n<table>\n<thead>\n<tr>\n<th>Calling<\/th>\n<th>Audience<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Microsoft Graph APIs<\/td>\n<td><code>https:\/\/graph.microsoft.com<\/code><\/td>\n<\/tr>\n<tr>\n<td>SharePoint Online content URLs<\/td>\n<td><code>https:\/\/{tenant}.sharepoint.com<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p data-line=\"80\">Use delegated access tokens for user-initiated scenarios and app-only access tokens for background or service scenarios. Make sure your app registration in Microsoft Entra ID carries Microsoft Graph permissions such as <code>Files.Read<\/code> or <code>Files.ReadWrite<\/code>, plus the equivalent SharePoint Online permissions for the same operations.<\/p>\n<h3 id=\"path-b-keep-using-microsoft-graph-urls-coming-in-future-microsoft-sharepoint-online-powershell-versions\" data-line=\"82\">Path B: Keep using Microsoft Graph URLs (Coming in future Microsoft SharePoint Online PowerShell versions)<\/h3>\n<p data-line=\"84\">To make the shift easier, a new tenant setting will be available that lets a SharePoint administrator opt specific applications in to receiving Microsoft Graph URLs instead of SharePoint Online or media-service URLs. When it applies, your app keeps using the Microsoft Graph access token it already has: no second token and no new audience.<\/p>\n<p data-line=\"86\">The setting will be exposed through the existing pre-auth cmdlets in the SharePoint Online Management Shell, using the <code>-UseGraphUrl*<\/code> switch family:<\/p>\n<ul data-line=\"88\">\n<li data-line=\"88\"><strong>Review the current configuration.<\/strong> Run <a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/microsoft.online.sharepoint.powershell\/get-spotenantpreauthsettings#-usegraphurlsettings\" target=\"_blank\" rel=\"noopener noreferrer\"><code>Get-SPOTenantPreAuthSettings -UseGraphUrlSettings<\/code><\/a> to see whether the feature is on and which app IDs are included.<\/li>\n<li data-line=\"89\"><strong>Enable it for a targeted app list first.<\/strong> <a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/microsoft.online.sharepoint.powershell\/set-spotenantpreauthsettings\" target=\"_blank\" rel=\"noopener noreferrer\"><code>Set-SPOTenantPreAuthSettings<\/code><\/a> with <a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/microsoft.online.sharepoint.powershell\/set-spotenantpreauthsettings#-usegraphurlisenabled\" target=\"_blank\" rel=\"noopener noreferrer\"><code>-UseGraphUrlIsEnabled<\/code><\/a> and <a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/microsoft.online.sharepoint.powershell\/set-spotenantpreauthsettings#-usegraphurlappslist\" target=\"_blank\" rel=\"noopener noreferrer\"><code>-UseGraphUrlAppsList<\/code><\/a> opts in specific app IDs so you can validate compatibility before broadening. An empty app list applies to <em>all<\/em> third-party apps, so use that only after you have assessed your tenant.<\/li>\n<li data-line=\"90\"><strong>Turn it off.<\/strong> Set <code>-UseGraphUrlIsEnabled $false<\/code>.<\/li>\n<\/ul>\n<p data-line=\"92\">A few scope and precedence rules are worth knowing before you test:<\/p>\n<ul data-line=\"94\">\n<li data-line=\"94\">The setting applies only to third-party applications.<\/li>\n<li data-line=\"95\">For supported APIs <strong>with<\/strong> a Microsoft Graph URL alternative, the response includes a non-preauthenticated Microsoft Graph URL, and callers must use a Microsoft Graph access token to access it.<\/li>\n<li data-line=\"96\">For APIs <strong>without<\/strong> a Microsoft Graph URL alternative, the response continues to include a preauthenticated SharePoint Online URL until the broader deprecation removes the token. Plan for Path A on those.<\/li>\n<li data-line=\"97\">Requests that do not go through Microsoft Graph are unaffected. If you call SharePoint (Vroom) APIs directly, this tenant setting does nothing for you: Graph URLs are returned only when the request originally came through Graph.<\/li>\n<\/ul>\n<h2 id=\"worked-examples\" data-line=\"99\">Worked examples<\/h2>\n<h3 id=\"upload-session\" data-line=\"101\">Upload session<\/h3>\n<p data-line=\"103\">Previously, <code>createUploadSession<\/code> returned an <code>uploadUrl<\/code> carrying a <code>tempauth<\/code> token, and chunks were uploaded with no authorization header:<\/p>\n<div class=\"codeBlockWrapper_6955b268\" data-line=\"105\" data-markdown-viewer-block=\"code\">\n<pre data-markdown-viewer-slot=\"code-content\"><code class=\"language-http\">POST \/drives\/{drive-id}\/items\/{parent-id}:\/{filename}:\/createUploadSession<\/code><\/pre>\n<\/div>\n<div class=\"codeBlockWrapper_6955b268\" data-line=\"109\" data-markdown-viewer-block=\"code\">\n<pre data-markdown-viewer-slot=\"code-content\"><code class=\"language-json\">{ \"uploadUrl\": \"https:\/\/...&amp;tempauth=...\" }<\/code><\/pre>\n<\/div>\n<div class=\"codeBlockWrapper_6955b268\" data-line=\"113\" data-markdown-viewer-block=\"code\">\n<pre data-markdown-viewer-slot=\"code-content\"><code class=\"language-http\">PUT {uploadUrl}\r\n<\/code><\/pre>\n<\/div>\n<p data-line=\"117\">Now the same call returns a plain SharePoint Online URL. Acquire a token for the <code>uploadUrl<\/code> hostname (for example <code>https:\/\/{tenant}.sharepoint.com<\/code>) and present it on every chunk:<\/p>\n<div class=\"codeBlockWrapper_6955b268\" data-line=\"119\" data-markdown-viewer-block=\"code\">\n<pre data-markdown-viewer-slot=\"code-content\"><code class=\"language-json\">{ \"uploadUrl\": \"https:\/\/{tenant}.sharepoint.com\/...\" }<\/code><\/pre>\n<\/div>\n<div class=\"codeBlockWrapper_6955b268\" data-line=\"123\" data-markdown-viewer-block=\"code\">\n<pre data-markdown-viewer-slot=\"code-content\"><code class=\"language-http\">PUT {uploadUrl}\r\nAuthorization: Bearer {SharePoint Online access token}\r\n<\/code><\/pre>\n<\/div>\n<h3 id=\"thumbnails\" data-line=\"128\">Thumbnails<\/h3>\n<p data-line=\"130\">Previously, a thumbnail content request returned an HTTP 302 whose redirect URL contained <code>tempauth=...<\/code>, and the thumbnail was then fetched with no <code>Authorization<\/code> header.<\/p>\n<p data-line=\"132\">Now you get the thumbnail in a single request, with no redirect to follow and the same Graph token:<\/p>\n<div class=\"codeBlockWrapper_6955b268\" data-line=\"134\" data-markdown-viewer-block=\"code\">\n<pre data-markdown-viewer-slot=\"code-content\"><code class=\"language-http\">GET \/drives\/{drive-id}\/items\/{item-id}\/thumbnails\/0\/{size}\/content\r\nAuthorization: Bearer {Microsoft Graph access token}\r\n<\/code><\/pre>\n<\/div>\n<p data-line=\"139\">Continue to use Microsoft Graph endpoints, ensure requests use Microsoft Entra ID tokens, and avoid redirect-based access that assumes unauthenticated URLs.<\/p>\n<h3 id=\"previews\" data-line=\"141\">Previews<\/h3>\n<p data-line=\"143\">Previously, <code>preview<\/code> returned a <code>getUrl<\/code> that carried the pre-auth token, so it was called with no <code>Authorization<\/code> header:<\/p>\n<div class=\"codeBlockWrapper_6955b268\" data-line=\"145\" data-markdown-viewer-block=\"code\">\n<pre data-markdown-viewer-slot=\"code-content\"><code class=\"language-http\">POST \/drives\/{driveId}\/items\/{itemId}\/preview<\/code><\/pre>\n<\/div>\n<div class=\"codeBlockWrapper_6955b268\" data-line=\"149\" data-markdown-viewer-block=\"code\">\n<pre data-markdown-viewer-slot=\"code-content\"><code class=\"language-json\">{\r\n  \"getUrl\": \"https:\/\/www.onedrive.com\/embed?foo=bar&amp;bar=baz\",\r\n  \"postParameters\": \"param1=value&amp;param2=another%20value\",\r\n  \"postUrl\": \"https:\/\/www.onedrive.com\/embed_by_post\"\r\n}\r\n<\/code><\/pre>\n<\/div>\n<p data-line=\"157\">The call and the response shape are unchanged, but <code>getUrl<\/code> is now a plain SharePoint URL that must be called with an <code>Authorization<\/code> header:<\/p>\n<div class=\"codeBlockWrapper_6955b268\" data-line=\"159\" data-markdown-viewer-block=\"code\">\n<pre data-markdown-viewer-slot=\"code-content\"><code class=\"language-http\">GET {getUrl}\r\nAuthorization: Bearer {SharePoint Online access token}\r\n<\/code><\/pre>\n<\/div>\n<h3 id=\"driveitem-download-url\" data-line=\"164\">driveItem download URL<\/h3>\n<p data-line=\"166\">Previously, a <code>driveItem<\/code> response carried a pre-authenticated <code>@content.downloadUrl<\/code>:<\/p>\n<div class=\"codeBlockWrapper_6955b268\" data-line=\"168\" data-markdown-viewer-block=\"code\">\n<pre data-markdown-viewer-slot=\"code-content\"><code class=\"language-json\">{\r\n  \"@content.downloadUrl\": \"https:\/\/{tenant}.sharepoint.com\/...?tempauth=..\"\r\n}\r\n<\/code><\/pre>\n<\/div>\n<p data-line=\"174\">If the tenant SharePoint administrator opts in to the Microsoft Graph URLs capability in the future release of SharePoint Online PowerShell, <code>@content.downloadUrl<\/code> is now a Microsoft Graph <code>contentStream<\/code> URL, called with an <code>Authorization<\/code> header and a Microsoft Entra ID access token for Microsoft Graph:<\/p>\n<div class=\"codeBlockWrapper_6955b268\" data-line=\"176\" data-markdown-viewer-block=\"code\">\n<pre data-markdown-viewer-slot=\"code-content\"><code class=\"language-http\">GET {@content.downloadUrl}\r\nAuthorization: Bearer {Microsoft Graph access token}\r\n<\/code><\/pre>\n<\/div>\n<p data-line=\"181\">The full API-by-API behavior mapping (which Graph APIs return Graph URLs, which drop the tempauth token from the SharePoint URL, and which stop issuing 302 redirects) will be maintained in <a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/microsoft.online.sharepoint.powershell\/set-spotenantpreauthsettings\" target=\"_blank\" rel=\"noopener noreferrer\">Expected API behavior in Set-SPOTenantPreAuthSettings<\/a>.<\/p>\n<h2 id=\"the-broader-pre-authentication-controls\" data-line=\"183\">The broader pre-authentication controls<\/h2>\n<p data-line=\"185\">The Graph URL setting will sit alongside the existing pre-authentication controls in the same cmdlet family, which administrators use to disable pre-authentication tenant-wide and then carve out granular exceptions per app and per feature. Two things matter to you as a developer:<\/p>\n<ul data-line=\"187\">\n<li data-line=\"187\"><strong>Deny beats Allow.<\/strong> If an app is on both the allow and deny lists, it gets nothing. See the <a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/microsoft.online.sharepoint.powershell\/set-spotenantpreauthsettings#description\" target=\"_blank\" rel=\"noopener noreferrer\">order of precedence<\/a> (Deny, then Allow, then IsDisabled).<\/li>\n<li data-line=\"188\"><strong>Exceptions are feature-level.<\/strong> Pre-authentication can be allowed or denied per feature: <code>Download<\/code>, <code>UploadSession<\/code>, <code>Thumbnail<\/code>, and more. If your app breaks in a tenant, ask the administrator which features are currently allowed for your app ID; that is often the fastest diagnosis. See the <a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/microsoft.online.sharepoint.powershell\/set-spotenantpreauthsettings#notes\" target=\"_blank\" rel=\"noopener noreferrer\">full feature list<\/a>.<\/li>\n<\/ul>\n<h2 id=\"how-to-migrate\" data-line=\"190\">How to migrate<\/h2>\n<p data-line=\"192\">If you build applications or ship an ISV solution:<\/p>\n<ol data-line=\"194\">\n<li data-line=\"194\">Inventory every call site that touches the six API families listed above.<\/li>\n<li data-line=\"195\">Remove all assumptions about 302 redirects: stop intercepting them, and make sure your HTTP client can accept content directly.<\/li>\n<li data-line=\"196\">Add SharePoint Online token acquisition (audience <code>https:\/\/{tenant}.sharepoint.com<\/code>) alongside your existing Graph token acquisition, and add the SharePoint Online permissions to your app registration.<\/li>\n<li data-line=\"197\">Stop treating returned URLs as durable access artifacts. Do not store, forward, or queue them for later redemption, and cache Microsoft Entra ID tokens according to standard OAuth guidance instead.<\/li>\n<li data-line=\"198\">Prefer <code>driveItem\/contentStream<\/code> where you can. It already returns content directly, with no tempauth and no redirect, and is unchanged by any of this.<\/li>\n<li data-line=\"199\">Test against a test tenant with the setting enabled for your app ID only.<\/li>\n<li data-line=\"200\">Publish updated minimum-version guidance to your customers well ahead of April 1, 2027.<\/li>\n<\/ol>\n<p data-line=\"202\">If you administer a SharePoint Online tenant:<\/p>\n<ol data-line=\"204\">\n<li data-line=\"204\">Run <code>Get-SPOTenantPreAuthSettings<\/code> to see where you stand.<\/li>\n<li data-line=\"205\">Identify applications that obtain file, version, thumbnail, preview, upload-session, or copy-operation URLs through Microsoft Graph.<\/li>\n<li data-line=\"206\">Check whether those applications inspect, store, or independently redeem URLs containing temporary authentication information.<\/li>\n<li data-line=\"207\">Enable the setting for a limited set of application IDs first.<\/li>\n<li data-line=\"208\">Monitor application behavior and sign-in failures.<\/li>\n<li data-line=\"209\">Expand the configuration once validation is complete.<\/li>\n<\/ol>\n<p data-line=\"211\">Because these settings can disable functionality in a production tenant, evaluate every change in a test tenant first.<\/p>\n<p data-line=\"213\">No action is required if your organization does not use the affected APIs, or if your applications already use direct Microsoft Graph content endpoints with standard Microsoft Entra ID authentication.<\/p>\n<h2 id=\"learn-more\" data-line=\"215\">Learn more<\/h2>\n<ul data-line=\"217\">\n<li data-line=\"217\"><a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/microsoft.online.sharepoint.powershell\/set-spotenantpreauthsettings\" target=\"_blank\" rel=\"noopener noreferrer\">Set-SPOTenantPreAuthSettings<\/a><\/li>\n<li data-line=\"218\"><a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/microsoft.online.sharepoint.powershell\/get-spotenantpreauthsettings\" target=\"_blank\" rel=\"noopener noreferrer\">Get-SPOTenantPreAuthSettings<\/a><\/li>\n<li data-line=\"219\"><a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/microsoft.online.sharepoint.powershell\/clear-spotenantpreauthsettings\" target=\"_blank\" rel=\"noopener noreferrer\">Clear-SPOTenantPreAuthSettings<\/a><\/li>\n<li data-line=\"220\"><a href=\"https:\/\/learn.microsoft.com\/entra\/identity-platform\/v2-protocols\" target=\"_blank\" rel=\"noopener noreferrer\">OAuth 2.0 and OpenID Connect protocols on the Microsoft identity platform<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Starting April 1, 2027, affected Microsoft Graph file APIs will no longer return pre-authenticated URLs. Applications using these APIs must authenticate requests with Microsoft Entra ID access tokens.<\/p>\n","protected":false},"author":69078,"featured_media":26240,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,3,166],"tags":[233,162],"class_list":["post-26170","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-developer","category-microsoft-graph","category-sharepoint","tag-microsoft-graph","tag-sharepoint"],"acf":[],"blog_post_summary":"<p>Starting April 1, 2027, affected Microsoft Graph file APIs will no longer return pre-authenticated URLs. Applications using these APIs must authenticate requests with Microsoft Entra ID access tokens.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/26170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69078"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=26170"}],"version-history":[{"count":2,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/26170\/revisions"}],"predecessor-version":[{"id":26239,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/26170\/revisions\/26239"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/26240"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=26170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=26170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=26170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}