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 / Forms to Teams Post in...
Power Automate
Suggested Answer

Forms to Teams Post in a Channel Automation with Image

(0) ShareShare
ReportReport
Posted on by 2
I am trying to create a flow in Power Automate that starts with a Microsoft Form, the form details and image are then taken and posted in Microsoft Teams channel. I am having the biggest issue with the image showing up in Teams. I am not fluent in adaptive cards, so if that is the route you recommend, please provide very detailed steps. 
I have the same question (0)
  • Suggested answer
    MParikh Profile Picture
    510 Super User 2026 Season 1 on at

    When a Microsoft Form includes an image upload, the image is not returned as inline content. Forms stores the image as a file in OneDrive, and Microsoft Teams cannot render that file unless it is explicitly uploaded or exposed. Because of this, posting the image reference directly to Teams does not display the image.
    The most reliable approach is to retrieve the stored image file and post it to the Teams channel as a file.

    Step 1. Use the Forms trigger

    Start with the trigger
    When a new response is submitted

    Select the correct Form.

    Step 2. Retrieve the full response

    Get response details
    This step provides access to the image question output and all other form values.

    Step 3. Extract the image reference

    The image answer is returned as an array. To work with it, add a Compose action and extract the first item.
    Expression:
    first(outputs('Get_response_details')?['body/<ImageQuestionID>'])
    This gives you the image file metadata stored by Forms.

    Step 4. Get the image file content

    Forms saves uploaded images in the Form owner’s OneDrive.

    Get file content using path
    Point to the Forms storage location for the image. This step retrieves the actual file content rather than a reference.

    Step 5. Post the image to Teams

    Post a message in a channel (V3)
    Use the File Content option to upload the image to the channel. Teams renders uploaded images reliably and consistently.
    You can include the form text in the same message or post it as a separate message for clarity.

    Optional approach. Adaptive Card

    If you need a formatted layout, you can use an Adaptive Card with an Image element. This requires a URL that Teams users can access.
    In practice, OneDrive permissions often prevent images from rendering, which is why uploading the file is usually the better choice.
    • Microsoft Forms stores images as files, not inline data
    • Teams messages do not render private OneDrive image links
    • Uploading the image gives Teams a supported, accessible file

    For clarity and reliability, retrieve the image file from Forms storage and upload it to the Teams channel. This approach avoids permission issues and works without complex Adaptive Card configuration.
    If you want, I can also share a sample flow layout or the exact expressions using your image question ID.

    Thank you! 
    Proud to be a Super User!
    📩 Need more help?
    ✔️ Don’t forget to Accept as Solution if this guidance worked for you.
    💛 Your Like motivates me to keep helping
  • KS-04121912-0 Profile Picture
    2 on at
    I am trying this and am getting "Invalid Request" on the 'Get File Content Using Path' step. I made sure the proper access was given as well. 
    error.jpg
  • Suggested answer
    MParikh Profile Picture
    510 Super User 2026 Season 1 on at

    Step 1. Grab the uploaded file metadata from Forms

    After Get response details, add Compose named FileObject:

    Expression

    first(outputs('Get_response_details')?['body/<YourFileUploadQuestionId>'])
     

    Step 2. Build a correct SharePoint file path from the link

    Add Compose named SPFilePath:

    Expression

    concat(
    '/',
    last(split(outputs('FileObject')?['link'], '/sites/KennedysTestTeam/'))
    )

    What you get will look like:

    /Shared Documents/Apps/Microsoft Forms/FF Enrollment/Image/<filename>.jpg

    Step 3. Use SharePoint Get file content using path

    Site Address:

    https://festfoods0.sharepoint.com/sites/KennedysTestTeam

    File Path:

    outputs('SPFilePath')

    Now the action will find the exact file and return its bytes.

    Step 4. Post to Teams

    Use either:

    • Teams: Post message in a channel (V3) with file attachment, or

    • Create file in the channel folder, then post a message with the link

    If your Form allows multiple images

    Replace first(...) with an Apply to each over:

    outputs('Get_response_details')?['body/<YourFileUploadQuestionId>']

     

    Inside the loop, use item()?['link'] in the same SPFilePath expression.

    Quick check

    Open one real response in the run history and confirm FileObject has a link ending with a filename. If it ends with /Image only, you are not reading the upload field, you are pointing at a folder manually.

    Feel free to reply here.
    Good Luck.

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 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard