Skip to content

Commit ad0c92f

Browse files
authored
Merge pull request #42644 from naveedaz/patch-1
Update app-service-undelete.md
2 parents 40f3a77 + 63c1916 commit ad0c92f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

articles/app-service/app-service-undelete.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,21 @@ ms.service: app-service
1212

1313
If you happened to accidentally delete your app in Azure App Service, you can restore it using the commands from the [Az PowerShell module](https://docs.microsoft.com/powershell/azure/?view=azps-2.6.0&viewFallbackFrom=azps-2.2.0).
1414

15+
## Re-register App Service resource provider
16+
Some customers might encounter an issue where retrieving the list of deleted apps fails. To resolve the issue, run the following command:
17+
18+
```powershell
19+
Register-AzResourceProvider -ProviderNamespace "Microsoft.Web"
20+
```
21+
1522
## List deleted apps
1623

1724
To get the collection of deleted apps, you can use `Get-AzDeletedWebApp`.
1825

1926
For details on a specific deleted app you can use:
2027

2128
```powershell
22-
Get-AzDeletedWebApp -Name <your_deleted_app>
29+
Get-AzDeletedWebApp -Name <your_deleted_app> -Location <your_deleted_app_location>
2330
```
2431

2532
The detailed information includes:

0 commit comments

Comments
 (0)