Microsoft Graph Files API
A Microsoft API to create an app that connects with files across OneDrive, OneDrive for Business, and SharePoint document libraries.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
Adding right tags/teams to assist
Files permissions listed at the documentation. If you're trying to use Application permissions then you need to use Files.ReadWrite.All, Sites.ReadWrite.All permissions and make sure the users has necessary permission to access the resources.