Views:

Applies to Product – Power Apps


What’s happening?
Customers are experiencing difficulties in restoring deleted Power Apps and Integrated PowerApps Forms associated with SharePoint Lists.


Reason:
The underlying cause for the inability to restore deleted Power Apps may include missing necessary modules, incorrect proxy settings, or the deletion of the SharePoint site without a backup, which may prevent the recovery of customized forms.


Resolution:
For Restoring Deleted Power Apps:

  1. Ensure that the necessary PowerShell modules are installed. Run the following commands in PowerShell as an administrator: powershell Install-Module -Name Microsoft.PowerApps.Administration.PowerShell Install-Module -Name Microsoft.PowerApps.PowerShell -AllowClobber
  2. Authenticate with a user who has admin privileges in the tenant: powershell Add-PowerAppsAccount
  3. Check for recoverable Power Apps by running: powershell Get-AdminDeletedPowerAppsList -EnvironmentName 'EnvironmentID' Replace 'EnvironmentID' with the actual Environment ID.
  4. If there are recoverable apps, restore the app using: powershell Get-AdminRecoverDeletedPowerApp -AppName 'AppName' -EnvironmentName 'EnvironmentName' Replace 'AppName' and 'EnvironmentName' with the appropriate values.
For Integrated PowerApps Forms Missing from SharePoint:
  1. If the SharePoint site was deleted without a backup, it is possible that the customized form cannot be restored. In such cases, it is recommended to create a new customized form from the restored SharePoint list.
  2. If the issue persists, consider reaching out to the SharePoint support team for further assistance.
Proxy Settings:
  1. If encountering errors related to proxy settings, it is suggested to proceed without the proxy. Adjust the proxy settings accordingly and retry the restoration process.
Follow-Up:
  1. After performing the above steps, if issues continue, follow up with the customer to confirm if they were able to install the necessary modules and execute the restore commands successfully.