We have an app that needs to upload a file to a specific SharePoint folder.
We use the HTTP SEND REQUEST node in Power Automate to check if the user is authorized. If they have the correct permissions for the folder, the file is uploaded successfully.