web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SharePoint Item to PDF...
Power Automate
Answered

SharePoint Item to PDF file on OneDrive - 401 Unauthorized error

(0) ShareShare
ReportReport
Posted on by 14

Hello,

 

I've created a flow to convert a SharePoint Online List item into a pdf file to be shared in a Online OneDrive location, however, I continue to get a 401 Unauthorized error.  Can someone help to get me past this last step in the flow.  Thanks

 

Body

{

"status": 401,

"message": "Unauthorized",

"source": "api.connectorp.svs.ms"

}

Categories:
I have the same question (0)
  • joeyburrows08 Profile Picture
    14 on at

    joeyburrows08_0-1613853030126.pngjoeyburrows08_1-1613853038872.png

     

     

  • Verified answer
    v-duann-msft Profile Picture
    Microsoft Employee on at

    Hi @joeyburrows08 

     

    Thank you for posting.

     

    According to your description, you would like to create PDF file from a SharePoint list and then copy to a OneDrive location. If I misunderstood, please kindly let me know.

     

    You would get such error if you using direct OneDrive URL because the only ‘/folderpath’ can be recognized by flow. Thus, you need to add another connection to connect to that OneDrive account and initial ‘create file 2’ action again.

     

    Please keep all your flow configuration and go to ‘create file 2’ action. Please click on ‘’ button and navigate to ‘My connection’. Please click on ‘add a connection‘ and input that OneDrive account to make it authenticated by flow. Then you will be able to select the folder path of that specific OneDrive account.

    v-duann-msft_0-1613965188508.png

     

    v-duann-msft_1-1613965188511.png

     

    Hope the content above may help you.

     

    Thanks

    Anna

  • joeyburrows08 Profile Picture
    14 on at

    Thank you, this helped and fixed the issue....I had the full path instead of just the root path.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 308 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 171 Super User 2026 Season 2

#3
Haque Profile Picture

Haque 137 Super User 2026 Season 2

Last 30 days Overall leaderboard