Is it possible to upload a file on behalf of someone else ?

Divyansh Sultania 1 Reputation point

If the app is authenticated using root or admin user of an organization and then can we add the owner other than admin using the admin token for the file upload rather than setting admin user as the owner?.

Note: here the user can be anyone from the organisation.

Microsoft Graph Files API
Microsoft Graph Files API
A Microsoft API to create an app that connects with files across OneDrive, OneDrive for Business, and SharePoint document libraries.
349 questions
Microsoft Graph Site Lists API
Microsoft Graph Site Lists API
A Microsoft API that "supports access to SharePoint sites, lists, and drives; read-only support for site resources; read-write support for lists, listItems, and driveItems; and address resources by SharePoint ID, URL, or relative path.
326 questions
{count} votes