cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TheAnker
Advocate II
Advocate II

How to restore all of the desktop flows in PAD? Please help

    Hello everyone! So, I was reinstalling Windows 11 a few days ago and foolishly messed up with the OneDrive folder and lost all my flows in PAD. Previously that folder was on my D drive and the data needed for the Power Automate Desktop were there. After a fresh install of OneDrive, it placed its folder on the C drive (C:\Users\MyName\OneDrive), so I moved it to my D drive not knowing how to do it properly (I should have done it by selecting "Unlink this PC" and then move the folder). Then the OneDrive app said something about two copies of the same file. I copied the contents of the OneDrive folder (which is on the D drive) to another place (just to save it), precisely the \Apps\Power Automate Desktop For Windows folder, which is about 74 MB.

    While I was reinstalling all the other apps I went to onedrive.live.com and saw all the junk files (as I thought) in the Recycle Bin and deleted them. At that moment I didn't know that was a big mistake. I thought I'd place a copy of an Apps folder (previously copied) back to the OneDrive folder on my D drive and it will sync again. Sometime later I reinstalled Power Automate Desktop and realized that all of my flows were gone (there were 5 flows).

    I decided to reinstall OneDrive and PAD apps; I tried deleting the Power Automate Desktop For Windows folder and placing the copy back. No results. Therefore, I went to this forum and stumbled upon this thread https://powerusers.microsoft.com/t5/Power-Automate-Desktop/PAD-Flow-Disappeared/m-p/1687349 with the solution to a problem similar to mine. But the link there is unavailable for me. It is said something about "Access token is empty".

    I've installed the Wireshark Portable version for this purpose, but don't know where to look for the cTag and name values. So all I did was open my PAD console -> press Refresh in My flows tab -> capture the packets in the Wireshark. I see the packets and all that info for each packet, but, as I said, don't know where to find those values. I would really appreciate all your help. Thank you in advance.

    PS: Power Automate Desktop For Windows folder in OneDrive consists of 10 files (2 for each of my flows as I can understand, one with no extension and one with .meta) and .cnt file.

1 ACCEPTED SOLUTION

Accepted Solutions
TheAnker
Advocate II
Advocate II

    I'd like to report that I've managed to regain access/restore all of my flows (dozens of hours of work). This solution helped in my case. Big thank you to @kostasc . I was trying to find those cTag and name values and couldn't get the place I should be searching for them; I was using Wireshark (never used it before). But in that solution author used another network tracing tool called Fiddler (it is not free as I can understand, but you get a free trial for 10 days and you need to create an account after the installation; maybe there is a free version, idk).

    And luckily after installing it, I immediately found the cTag and name values. Don't forget to open your Power Automate Desktop console, then navigate to My flows and click refresh, so the Fiddler can capture the packets. I should mention I was recommended by the Fiddler to check "Capture HTTPS traffic" (you'll see it in the settings). This link I was talking about previously (https://graph.microsoft.com//v1.0/me/drive/special/approot/children) is actually a URL you should be looking at in the URL column in Fiddler (left window). After clicking it you will see the Request and Response windows to the right. Go to the Body tab in the Response window at the bottom and there will be all your cTags and flow names. Other steps you can find in that post I linked here.

    Hope that these details will help someone else who finds themselves alone with this problem. Good luck.

View solution in original post

7 REPLIES 7

Hi @TheAnker ,

 

Here's a post marked as a solution for desktop flows too: Solved: Re: How to restore deleted desktop flow? - Power Platform Community (microsoft.com)

 

Please see this article on how to recover:  Restore deleted flows in Power Automate - Power Automate | Microsoft Learn

 

If this was helpful: Please mark as a solution Give me a thumbs up Always glad to help, Tom! Connect on LinkedIn

    Yes, I saw those posts. If I go to https://make.powerautomate.com/ (according to this link Solved: Re: How to restore deleted desktop flow? - Power Platform Community (microsoft.com) ) I can't select the Sandbox/Restore environment, because I only have Default environment on that page, and if I click Admin Center in the Settings there it asks me to enter credentials for work or school account because I can't log in with my personal account. As for the second post, I am getting an error while I create a flow as the article suggests (see the screenshot). 

    PS: Could you try opening that link (in the solution  I found) or is it broken for you too? Maybe it is a screenshot of where I should look for those values in the network trace tool. Nevertheless, thank you for your efforts.

TheAnker
Advocate II
Advocate II

    I'd like to report that I've managed to regain access/restore all of my flows (dozens of hours of work). This solution helped in my case. Big thank you to @kostasc . I was trying to find those cTag and name values and couldn't get the place I should be searching for them; I was using Wireshark (never used it before). But in that solution author used another network tracing tool called Fiddler (it is not free as I can understand, but you get a free trial for 10 days and you need to create an account after the installation; maybe there is a free version, idk).

    And luckily after installing it, I immediately found the cTag and name values. Don't forget to open your Power Automate Desktop console, then navigate to My flows and click refresh, so the Fiddler can capture the packets. I should mention I was recommended by the Fiddler to check "Capture HTTPS traffic" (you'll see it in the settings). This link I was talking about previously (https://graph.microsoft.com//v1.0/me/drive/special/approot/children) is actually a URL you should be looking at in the URL column in Fiddler (left window). After clicking it you will see the Request and Response windows to the right. Go to the Body tab in the Response window at the bottom and there will be all your cTags and flow names. Other steps you can find in that post I linked here.

    Hope that these details will help someone else who finds themselves alone with this problem. Good luck.

hosino
Advocate I
Advocate I

I can’t belive that I can recover all my flow with this method, big thanks.

Dear @TheAnker

I replaced the cTag in the .meta file with a cTag of the same name but without the extension

But still no flow appears in PAD.
Did I go wrong in any step?
Do I need to replace cTag for all files in the Apps folder?

 

Hello, @hdhanh ! Sorry for the long reply. Yes, I replaced the cTag for all the files in the Apps folder.

MABL
Frequent Visitor

Hi @TheAnker,

Thanks to you and @kostasc, between the two posts, I managed to recover 100% of my flows. In my case, I "negligently" deleted the flows from my OneDrive folder, and a few seconds later, the nightmare began. Although I restored them from the recycle bin, it didn't help me much because Power Automate Desktop lost all reference to the flows (I think this happened because I logged out and logged back in during the initial moments, but I'm not sure now).

Fortunately, after several hours and with your help from these posts, I managed to recover all my flows by adapting to my circumstances. Refreshing in Power Automate Desktop was no longer triggering any flow calls. Consequently, I had to create a flow to generate new IDs and replace them with the old ones. I had so many flows that I ended up writing a Python script to automate the process. If I find the time, I'll create a more detailed manual and share the script.

Best regards and thank you so much.

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (732)