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 / Unable to get attachme...
Power Automate
Answered

Unable to get attachment from Forms into Sharepoint List

(0) ShareShare
ReportReport
Posted on by

I'm simply trying to get an attachment from Microsoft Form into a Sharepoint List.

 

Using Schema in JSON

{
"@odata.etag": "\"1\"",
"ItemInternalId": "14",
"ID": 14,
"Title": "1",
"Requester": "2",
"DetailsoftheSpecialExercise": "3",
"RequiredCompletionDate": "2022-03-10",
"InstructionsforSpecialExercise": "saf",
"{Identifier}": "Lists%252fSpecial%2bExercises%252f14_.000",
"{IsFolder}": false,
"{Thumbnail}": {
"Large": null,
"Medium": null,
"Small": null
},
"{Link}": "https://xxxxx.sharepoint.com/sites/",
"{Name}": "1",
"{FilenameWithExtension}": "1",
"{Path}": "Lists/Special Exercises/",
"{FullPath}": "Lists/Special Exercises/14_.000",
"{HasAttachments}": false,
"{VersionNumber}": "1.0"
}

 

But getting an error; 

 

[
  {
    "message""Invalid type. Expected Object but got Array.",
    "lineNumber"0,
    "linePosition"0,
    "path""",
    "schemaId""#",
    "errorType""type",
    "childErrors": []
  }
]
 
 
Categories:
I have the same question (0)
  • v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @steveaford 

    Do you want to save the file uploaded by Forms to SharePoint list item attachment?

    I set up a flow, you can refer to below steps to see if it helps.

    vLilyWmsft_0-1646967777104.png

    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"
            ]
        }
    }
    vLilyWmsft_1-1646967812830.png
    vLilyWmsft_2-1646967873168.png

    When a new response is submitted like below, a new item with attachment will be created.

    vLilyWmsft_3-1646968217753.pngvLilyWmsft_4-1646968407744.png

     

    Hope the content above may help you.

    Best Regards

    If my reply helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

  • Verified answer
    RezaDorrani Profile Picture
    12,145 on at

    Hi @steveaford 

     

    Check How to save Microsoft Forms Responses & Attachments to SharePoint Lists or Libraries & Send Email - YouTube

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

    Thanks,
    Reza Dorrani, MVP
    YouTube
    Twitter

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard