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 / Saving file to Sharepo...
Power Automate
Unanswered

Saving file to Sharepoint from MS forms

(0) ShareShare
ReportReport
Posted on by 12

Hi All, 

 

I am trying to save attachments that I get from an MS form into a SharePoint library

 

sa_k_0-1711610241436.png

Create file action

sa_k_1-1711610313325.png

But the files are not being saved in their original format from the response. They are supposed to be pdf files. But currently being saved as an empty file with just the name I wanted. 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @sa_k ,

     

    I've made a test for your reference(edit in classic designer):

    vbofengmsft_0-1711611535932.png

    JSON Schema

    {
     "type": "array",
     "items": {
     "type": "object",
     "properties": {
     "name": {
     "type": "string"
     },
     "link": {
     "type": "string"
     },
     "id": {
     "type": "string"
     },
     "type": {},
     "size": {
     "type": "integer"
     },
     "referenceId": {
     "type": "string"
     },
     "driveId": {
     "type": "string"
     },
     "status": {
     "type": "integer"
     },
     "uploadSessionUrl": {}
     },
     "required": [
     "name",
     "link",
     "id",
     "type",
     "size",
     "referenceId",
     "driveId",
     "status",
     "uploadSessionUrl"
     ]
     }
    }

     

     Best Regards,
    Bof

  • sa_k Profile Picture
    12 on at

    Greatly appreciate your help. The test is now running successfully but the file that is uploaded is a pdf. But the file that is being saved in Sharepoint is a file I cannot open. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 862

#2
Valantis Profile Picture

Valantis 738

#3
Haque Profile Picture

Haque 553

Last 30 days Overall leaderboard