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 / PA Desktop : Get newes...
Power Automate
Suggested Answer

PA Desktop : Get newest file in OneDrive folder and compose email

(0) ShareShare
ReportReport
Posted on by 2
Hello!

I'm creating s desktop flow to get the newest file from a OneDrive location and attach it to a new email. I'm getting stuck on the "get file" that my variable isn't initialized. Can someone please assist? 

Thank you! 

Categories:
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
    Hi,
     
    I did not see any action/set variable which initializes the SAPGUI variable - you have to do that to get the error resolved.
     
    Thanks & Regards,
    Nived N
     
     

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard