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:
- 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
- Authenticate with a user who has admin privileges in the tenant: powershell Add-PowerAppsAccount
- Check for recoverable Power Apps by running: powershell Get-AdminDeletedPowerAppsList -EnvironmentName 'EnvironmentID' Replace 'EnvironmentID' with the actual Environment ID.
- If there are recoverable apps, restore the app using: powershell Get-AdminRecoverDeletedPowerApp -AppName 'AppName' -EnvironmentName 'EnvironmentName' Replace 'AppName' and 'EnvironmentName' with the appropriate values.
- 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.
- If the issue persists, consider reaching out to the SharePoint support team for further assistance.
- 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.
- 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.
