Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Upload file from URL - SharePoint to One Drive for Business - 403 forbidden error

(0) ShareShare
ReportReport
Posted on by 353

Error:

{
"status": 403,
"message": "403 FORBIDDEN",
"source": "*****.sharepoint.com",
"errors": []
}
 
Objective:
Upload a file located in a SharePoint Online Document Library to my One Drive for Business
 
Access:
I uploaded the document to the SharePoint Library
I am the Flow Owner
The Flow Connections are using my Credentials
The OneDrive for Business Location is mine
 
Images:
Flow-Details.pngFlow-overview.png
 
 
 
 
 
 
 
I have review the other posts on this topic but find no explanation or fix.
Can anyone offer any insights into why I might be receiving this error?
 
Thanks
Matt
  • AnotherITperson Profile Picture
    6 on at
    Re: Upload file from URL - SharePoint to One Drive for Business - 403 forbidden error

    I also have a list with a column type of Hyperlink, which point to hundreds of different people's OneDrives. I am trying to make a flow that copies each of them to a specific SharePoint folder (and convert it to PDF). 

    I'm interested to know what route you ended up going on this.

  • schuess3 Profile Picture
    353 on at
    Re: Upload file from URL - SharePoint to One Drive for Business - 403 forbidden error

    @ChristianAbata - Thanks for the response, but in my real world situation, this would not work. The flow will not be executing on the document library where the file was added.

     

    @abm - File size is 18 KB, Type is .docx

     

    @v-litu-msft - The hyperlink column type is a SharePoint Hyperlink type column. Thanks for the link, but we need to discover whether or not there is a bug in the "Upload from Hyperlink" action, or if not, what are the requirements to use it.


    More Background...
    The flow runs on the creation or modification of a SharePoint List Item. That List item has a hyperlink column where we stored the link to the document of our choosing that is in a document library on the same site.

  • v-litu-msft Profile Picture
    on at
    Re: Upload file from URL - SharePoint to One Drive for Business - 403 forbidden error

    Hi @schuess3,

     

    What's the Hyperlink column type? Is it a custom column and stored by the other Flow?

     

    There is a similar post I found, hope it could help you something:

    https://powerusers.microsoft.com/t5/Power-Automate-Mobile-App/OneDrive-for-Business-upload-file-from-url-return-403-forbidden/m-p/164573

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • abm abm Profile Picture
    32,492 Most Valuable Professional on at
    Re: Upload file from URL - SharePoint to One Drive for Business - 403 forbidden error

    Hi @schuess3 

     

    What is the file size and extension you trying to upload?

     

    Thanks

  • ChristianAbata Profile Picture
    8,947 Most Valuable Professional on at
    Re: Upload file from URL - SharePoint to One Drive for Business - 403 forbidden error

    hi @schuess3  I see the trigger you are using is when a item is created, If is life you need to use when a file is created.

    See my example

    take.PNG

    last(split(triggerOutputs()['headers']['x-ms-file-id'],'%252f'))

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492