On April 1, 2027, SharePoint Online and OneDrive will stop returning pre-authenticated URLs from Microsoft Graph, the REST API for Microsoft 365 data, for common file operations. Today those links carry a short-lived SharePoint credential in the
tempauth query string, so a follow-up download or upload works without a token in an
Authorization header. After the change, apps must send a Microsoft Entra ID access token in that header instead. Many flows then need two tokens: one for Graph and one for your SharePoint tenant host. A tenant setting can route some apps to Graph URLs so they stay on the Graph token only.
Source