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 / Power Automate: File n...
Power Automate
Suggested Answer

Power Automate: File not moving after Teams Adaptive Card response in SharePoint

(0) ShareShare
ReportReport
Posted on by
Hi everyone,
I’m building a workflow using Microsoft Power Automate, SharePoint, and Microsoft Teams, and I’m facing an issue in the final step of the process.
 
Scenario:
 
A meeting recording file is generated from a Teams meeting and initially stored in OneDrive/SharePoint.
The file is then moved into a designated SharePoint folder (central repository).
A flow is triggered when the file is created in this location.
The flow sends a Teams Adaptive Card requesting multiple inputs (e.g., Name, Date, Project, etc.).
After the user submits the response:
A subfolder is created dynamically (based on input, e.g., Name/Project).
The file should then be moved into that subfolder and renamed (e.g., Name_Date).
 
Current Status:
 
✅ Trigger is working correctly
✅ Adaptive Card is sent and response is captured
✅ Folder is being created successfully
❌ File is NOT moving to the destination folder after this step
 
Issue:
 
Even though all prior steps are working, the file move action either:
Fails silently, or
Does not move the file to the newly created folder
Test works perfectly
17745239022012666497882319887982.jpg
17745235540907513...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • Suggested answer
    Sunil Kumar Pashikanti Profile Picture
    1,994 Moderator on at
     
    Your flow completes all logic steps (trigger, adaptive card, folder creation), but the file fails to move after the Teams Adaptive Card response. This is a known Power Automate pattern issue, typically caused by using incorrect file identifiers, timing/locking issues, or moving the file while still referencing the original trigger context. Because the test run works but live runs fail, this is not a permissions issue, it’s a file reference and timing problem.
     
    Why the file doesn’t move
    1) The “Move file” action is using the original trigger file ID, but after the adaptive card wait and folder creation, that ID may be stale or locked.
    2) Teams meeting recordings are often still finalized or indexed when the flow attempts to move them.
    3) “Get file content” is unnecessary and can break the reference chain.
     
    How to fix it
          Remove “Get file content”, it’s not needed to move files.
          After folder creation, add “Get file metadata using path” (or “Get file metadata using ID”).
          Use the returned Identifier from that step in Move file.
          Add a Delay (30–90 seconds) after the adaptive card response (Teams recordings are often locked).
          Ensure the Destination Folder Path exactly matches the newly created folder path.
     
    Best‑practice move pattern
    Trigger
    → Adaptive Card
    → Create Folder
    → Delay (optional but recommended)
    → Get file metadata using path
    → Move file (use Identifier from metadata step)
     
     
    The flow logic is correct, the failure is due to file ID reuse + timing. Refresh the file reference after the adaptive card and add a short delay, and the move will work reliably.
     
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.
     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard