cmty_blog_detail (2024)

cmty_blog_detail (4)

If the user mistakenly deleted the Power Automate Flow / Power Apps or as an admin you deleted and want to restore the deleted Power Automate Flow / Power Apps then follow the below steps to easily restore.

Prerequisites

  1. You should be the Power Platform Environment Admin
  2. Should have the latest version of PowerShell cmdlets for Power Apps
  3. There must be anExecution policyset on your device to run PowerShell scripts

How to set up/install PowerShell cmdlets on your machine?

  • Search for PowerShell in your machine & “Run as Administrator”
cmty_blog_detail (5)

Latest version when writing this blog:

Install-Module -Name Microsoft.PowerApps.Administration.PowerShell -RequiredVersion 2.0.147
cmty_blog_detail (6)

Steps to Restore the Flow(s)

  • Sign in to Power Platform Environment using the below code
  • Login screen pops-up
  • Provide user name and password to connect to the Power Platform environment where Flow/App needs to be restored
Add-PowerAppsAccount
cmty_blog_detail (7)
  • Run the below code to get the list of deleted Flows within the last 28 days
//Get-AdminFlow -EnvironmentName 'Environment Name' -IncludeDeleted $trueGet-AdminFlow -EnvironmentName Default-31fd69b3-0535-4506-8d24-6674fc42002b -IncludeDeleted $true
  • You can get the Environment name from the Power Automate Flow URL
cmty_blog_detail (8)
cmty_blog_detail (9)
  • It lists out all the deleted Flow(s)
cmty_blog_detail (10)
  • Select the FlowName which you want to restore
  • Run the below code to restore the deleted Flow
//Restore-AdminFlow -EnvironmentName 'Environment Name' -FlowName 'Flow Name which you want to restore'Restore-AdminFlow -EnvironmentName Default-31fd69b3-0535-4506-8d24-6674fc42002b -FlowName 43e8eda9-bd55-47e0-8bc8-9ecdf864f55c
cmty_blog_detail (11)
  • Navigate to the Power Automate Portal Page & Check the Flow
  • Flow might have been restored and it will be in disabled mode
  • Turn on the Flow to run
cmty_blog_detail (12)

Restore Deleted Power Apps

  • Signin to Power Platform Environment : Add-PowerAppsAccount
  • Run the code to list out all the deleted Power apps
  • Get the Power App Name from the listing which you want to restore
  • Run the code to restore the Power app
  • Check the Power App Portal
  • App might have been restored with the name appended with “_RestoredYYYYMMDDHHMM”
cmty_blog_detail (13)
cmty_blog_detail (14)
cmty_blog_detail (15)

Points to remember

  • The above steps will work only to restore non-solution flows/apps. If you deleted a flow/app that was part of a solution, you need to create a support ticket with Microsoft for assistance.
  • Flows that have been deleted more than 28 days ago can’t be recovered, neither with PowerShell script nor Microsoft support

Conclution

Improvment Idea

I personally feel, this option can be improved like the option which we have in SharePoint application (Recylce Bin). If you agree, feel free to Vote my submitted Idea in Power Platform Community just by hitting “vote” button form the below URL:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Option-to-Restore-the-deleted-Flows-Apps-from-Portal/idi-p/1676994#M36574

This was originally posted here.

Comments

*This post is locked for comments

cmty_blog_detail (2024)
Top Articles
Cosmos: The Internet of Blockchains
Credit analyst salary ‐ CareerExplorer
This website is unavailable in your location. – WSB-TV Channel 2 - Atlanta
Public Opinion Obituaries Chambersburg Pa
Lengua With A Tilde Crossword
Libiyi Sawsharpener
Goodbye Horses: The Many Lives of Q Lazzarus
Goteach11
Tanger Outlets Sevierville Directory Map
R Tiktoksweets
Oscar Nominated Brings Winning Profile to the Kentucky Turf Cup
Scholarships | New Mexico State University
Directions To O'reilly's Near Me
Labor Gigs On Craigslist
Viha Email Login
Apne Tv Co Com
Aldi Süd Prospekt ᐅ Aktuelle Angebote online blättern
Average Salary in Philippines in 2024 - Timeular
Bridge.trihealth
Exterior insulation details for a laminated timber gothic arch cabin - GreenBuildingAdvisor
north jersey garage & moving sales - craigslist
Contracts for May 28, 2020
Yog-Sothoth
Soulstone Survivors Igg
Gran Turismo Showtimes Near Marcus Renaissance Cinema
How Long After Dayquil Can I Take Benadryl
25 Best Things to Do in Palermo, Sicily (Italy)
Netwerk van %naam%, analyse van %nb_relaties% relaties
Kabob-House-Spokane Photos
Keyn Car Shows
Vht Shortener
Gunsmoke Tv Series Wiki
Shauna's Art Studio Laurel Mississippi
Dentist That Accept Horizon Nj Health
Chattanooga Booking Report
How to Destroy Rule 34
October 31St Weather
Whitehall Preparatory And Fitness Academy Calendar
Myql Loan Login
Boone County Sheriff 700 Report
Orion Nebula: Facts about Earth’s nearest stellar nursery
Fifty Shades Of Gray 123Movies
Fetus Munchers 1 & 2
Improving curriculum alignment and achieving learning goals by making the curriculum visible | Semantic Scholar
Isabella Duan Ahn Stanford
Sand Castle Parents Guide
Wgu Admissions Login
Dineren en overnachten in Boutique Hotel The Church in Arnhem - Priya Loves Food & Travel
Guy Ritchie's The Covenant Showtimes Near Look Cinemas Redlands
Autozone Battery Hold Down
Latest Posts
Article information

Author: Greg Kuvalis

Last Updated:

Views: 6340

Rating: 4.4 / 5 (75 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Greg Kuvalis

Birthday: 1996-12-20

Address: 53157 Trantow Inlet, Townemouth, FL 92564-0267

Phone: +68218650356656

Job: IT Representative

Hobby: Knitting, Amateur radio, Skiing, Running, Mountain biking, Slacklining, Electronics

Introduction: My name is Greg Kuvalis, I am a witty, spotless, beautiful, charming, delightful, thankful, beautiful person who loves writing and wants to share my knowledge and understanding with you.