An Azure service that provides streamlined full-stack web app development.
@Jovan Janevski Thank you for reaching out to Microsoft Q&A. Apologize for the inconvenience caused on this.
Based on the issue description, I understand that you are trying to delete the static web app using the Remove-AzureRmWebApp cmdlet. Post running the cmdlet also you are seeing the static web app still on the portal
- The cmdlet
Remove-AzWebAppwill deletes the web App. We have a separate PowerShell cmdlet under (Az.Website module) to delete static web app. Currently AzureRM modules are going to be retried and I would recommend you to switch to Az module and useRemove-AzStaticWebapp. - Alternatively, you can use either Azure CLI cmdlet
az staticwebapp delete --resource-group <resourcegroupname> --name <staticwebappName> --yesor this Rest API Static Sites-Delete Static Site to delete the static web app.
Try using any of the cmdlets that i have recommended above and see if the deletion succeeds.
Hope this helps. Please tag me in a comment if you need any further assistance on this.
----
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.