Restore Deleted Azure Web App Cloud Exception











up vote
1
down vote

favorite












So someone I handed over an Azure web app to managed to delete the site and now wants it back.



I was running it as a small project on a free tier, so I don't have any active backups or anything. I tried using the new Webapp Undelete feature, but every time I ran Restore-AzureRmDeletedWebApp as detailed here, I get the following error:



Restore-AzureRmDeletedWebApp : An error has occurred.
At line:1 char:1
+ Restore-AzureRmDeletedWebApp -ResourceGroupName xxxx -Name xxxx -Tar ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Restore-AzureRmDeletedWebApp], CloudException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.WebApps.Cmdlets.BackupRestore.RestoreAzureDeletedWebApp


What does this even mean? Is there a way to fix it? Is there a way to access the backup that Azure has (running Get-AzureRmDeletedWebApp definitely still lists the deleted app) manually? Or is the site just gone?










share|improve this question


























    up vote
    1
    down vote

    favorite












    So someone I handed over an Azure web app to managed to delete the site and now wants it back.



    I was running it as a small project on a free tier, so I don't have any active backups or anything. I tried using the new Webapp Undelete feature, but every time I ran Restore-AzureRmDeletedWebApp as detailed here, I get the following error:



    Restore-AzureRmDeletedWebApp : An error has occurred.
    At line:1 char:1
    + Restore-AzureRmDeletedWebApp -ResourceGroupName xxxx -Name xxxx -Tar ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : CloseError: (:) [Restore-AzureRmDeletedWebApp], CloudException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.WebApps.Cmdlets.BackupRestore.RestoreAzureDeletedWebApp


    What does this even mean? Is there a way to fix it? Is there a way to access the backup that Azure has (running Get-AzureRmDeletedWebApp definitely still lists the deleted app) manually? Or is the site just gone?










    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      So someone I handed over an Azure web app to managed to delete the site and now wants it back.



      I was running it as a small project on a free tier, so I don't have any active backups or anything. I tried using the new Webapp Undelete feature, but every time I ran Restore-AzureRmDeletedWebApp as detailed here, I get the following error:



      Restore-AzureRmDeletedWebApp : An error has occurred.
      At line:1 char:1
      + Restore-AzureRmDeletedWebApp -ResourceGroupName xxxx -Name xxxx -Tar ...
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo : CloseError: (:) [Restore-AzureRmDeletedWebApp], CloudException
      + FullyQualifiedErrorId : Microsoft.Azure.Commands.WebApps.Cmdlets.BackupRestore.RestoreAzureDeletedWebApp


      What does this even mean? Is there a way to fix it? Is there a way to access the backup that Azure has (running Get-AzureRmDeletedWebApp definitely still lists the deleted app) manually? Or is the site just gone?










      share|improve this question













      So someone I handed over an Azure web app to managed to delete the site and now wants it back.



      I was running it as a small project on a free tier, so I don't have any active backups or anything. I tried using the new Webapp Undelete feature, but every time I ran Restore-AzureRmDeletedWebApp as detailed here, I get the following error:



      Restore-AzureRmDeletedWebApp : An error has occurred.
      At line:1 char:1
      + Restore-AzureRmDeletedWebApp -ResourceGroupName xxxx -Name xxxx -Tar ...
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo : CloseError: (:) [Restore-AzureRmDeletedWebApp], CloudException
      + FullyQualifiedErrorId : Microsoft.Azure.Commands.WebApps.Cmdlets.BackupRestore.RestoreAzureDeletedWebApp


      What does this even mean? Is there a way to fix it? Is there a way to access the backup that Azure has (running Get-AzureRmDeletedWebApp definitely still lists the deleted app) manually? Or is the site just gone?







      azure azure-web-app-service






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 5 at 3:28









      mt_xing

      313316




      313316
























          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          Per this doc, currently, Azure App Service Undelete is available for all App Service Plans, from Basic and up. Only sites deleted in the past 30 days can be restored. It works for me without errors on a basic plan. You can see the output below.



          enter image description here



          If I try to restore a web app on a free tier, I have the same error as you, also, I have a 404 Web Site not found error even the restored app service is created or displayed in the Azure portal. It seems that it's not supported to restore a web app on a free tier currently.



          If you have back up your web on Azure, you can restore your app with its linked databases on-demand to a previous state, or create a new app based on one of your original app's backups. Restoring from backups is available to apps running in Standard and Premium tier.






          share|improve this answer





















          • Thanks. There wouldn't happen to be a way to update my deleted site to Basic and then restore the app, would there?
            – mt_xing
            Nov 5 at 17:12






          • 1




            I don't think there is, If the web app service is deleted, the SCM site is also not found. Even you try to restore it to a target basic plan using that PowerShell. You will see a 404 Web Site not found error as my reply above mentioned when you access the website on the newly restored web app service
            – Nancy Xiong - MSFT
            Nov 6 at 5:14


















          up vote
          2
          down vote













          The WebApps Undelete is only available for Basic and Up tier for now.And I have tested it , It's successful in basic tier.



          If your web runs on free tier and you don't have any backups ,you couldn't recover it by yourself.But you could still check whether all resources including local and deployment resources like GitHub etc have been deleted.



          If so, you could contact the Microsoft Support ,maybe they could help you.



          And if you have any questions, please let me know.






          share|improve this answer








          New contributor




          George Chen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53147934%2frestore-deleted-azure-web-app-cloud-exception%23new-answer', 'question_page');
            }
            );

            Post as a guest
































            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote



            accepted










            Per this doc, currently, Azure App Service Undelete is available for all App Service Plans, from Basic and up. Only sites deleted in the past 30 days can be restored. It works for me without errors on a basic plan. You can see the output below.



            enter image description here



            If I try to restore a web app on a free tier, I have the same error as you, also, I have a 404 Web Site not found error even the restored app service is created or displayed in the Azure portal. It seems that it's not supported to restore a web app on a free tier currently.



            If you have back up your web on Azure, you can restore your app with its linked databases on-demand to a previous state, or create a new app based on one of your original app's backups. Restoring from backups is available to apps running in Standard and Premium tier.






            share|improve this answer





















            • Thanks. There wouldn't happen to be a way to update my deleted site to Basic and then restore the app, would there?
              – mt_xing
              Nov 5 at 17:12






            • 1




              I don't think there is, If the web app service is deleted, the SCM site is also not found. Even you try to restore it to a target basic plan using that PowerShell. You will see a 404 Web Site not found error as my reply above mentioned when you access the website on the newly restored web app service
              – Nancy Xiong - MSFT
              Nov 6 at 5:14















            up vote
            2
            down vote



            accepted










            Per this doc, currently, Azure App Service Undelete is available for all App Service Plans, from Basic and up. Only sites deleted in the past 30 days can be restored. It works for me without errors on a basic plan. You can see the output below.



            enter image description here



            If I try to restore a web app on a free tier, I have the same error as you, also, I have a 404 Web Site not found error even the restored app service is created or displayed in the Azure portal. It seems that it's not supported to restore a web app on a free tier currently.



            If you have back up your web on Azure, you can restore your app with its linked databases on-demand to a previous state, or create a new app based on one of your original app's backups. Restoring from backups is available to apps running in Standard and Premium tier.






            share|improve this answer





















            • Thanks. There wouldn't happen to be a way to update my deleted site to Basic and then restore the app, would there?
              – mt_xing
              Nov 5 at 17:12






            • 1




              I don't think there is, If the web app service is deleted, the SCM site is also not found. Even you try to restore it to a target basic plan using that PowerShell. You will see a 404 Web Site not found error as my reply above mentioned when you access the website on the newly restored web app service
              – Nancy Xiong - MSFT
              Nov 6 at 5:14













            up vote
            2
            down vote



            accepted







            up vote
            2
            down vote



            accepted






            Per this doc, currently, Azure App Service Undelete is available for all App Service Plans, from Basic and up. Only sites deleted in the past 30 days can be restored. It works for me without errors on a basic plan. You can see the output below.



            enter image description here



            If I try to restore a web app on a free tier, I have the same error as you, also, I have a 404 Web Site not found error even the restored app service is created or displayed in the Azure portal. It seems that it's not supported to restore a web app on a free tier currently.



            If you have back up your web on Azure, you can restore your app with its linked databases on-demand to a previous state, or create a new app based on one of your original app's backups. Restoring from backups is available to apps running in Standard and Premium tier.






            share|improve this answer












            Per this doc, currently, Azure App Service Undelete is available for all App Service Plans, from Basic and up. Only sites deleted in the past 30 days can be restored. It works for me without errors on a basic plan. You can see the output below.



            enter image description here



            If I try to restore a web app on a free tier, I have the same error as you, also, I have a 404 Web Site not found error even the restored app service is created or displayed in the Azure portal. It seems that it's not supported to restore a web app on a free tier currently.



            If you have back up your web on Azure, you can restore your app with its linked databases on-demand to a previous state, or create a new app based on one of your original app's backups. Restoring from backups is available to apps running in Standard and Premium tier.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 5 at 6:01









            Nancy Xiong - MSFT

            1,638116




            1,638116












            • Thanks. There wouldn't happen to be a way to update my deleted site to Basic and then restore the app, would there?
              – mt_xing
              Nov 5 at 17:12






            • 1




              I don't think there is, If the web app service is deleted, the SCM site is also not found. Even you try to restore it to a target basic plan using that PowerShell. You will see a 404 Web Site not found error as my reply above mentioned when you access the website on the newly restored web app service
              – Nancy Xiong - MSFT
              Nov 6 at 5:14


















            • Thanks. There wouldn't happen to be a way to update my deleted site to Basic and then restore the app, would there?
              – mt_xing
              Nov 5 at 17:12






            • 1




              I don't think there is, If the web app service is deleted, the SCM site is also not found. Even you try to restore it to a target basic plan using that PowerShell. You will see a 404 Web Site not found error as my reply above mentioned when you access the website on the newly restored web app service
              – Nancy Xiong - MSFT
              Nov 6 at 5:14
















            Thanks. There wouldn't happen to be a way to update my deleted site to Basic and then restore the app, would there?
            – mt_xing
            Nov 5 at 17:12




            Thanks. There wouldn't happen to be a way to update my deleted site to Basic and then restore the app, would there?
            – mt_xing
            Nov 5 at 17:12




            1




            1




            I don't think there is, If the web app service is deleted, the SCM site is also not found. Even you try to restore it to a target basic plan using that PowerShell. You will see a 404 Web Site not found error as my reply above mentioned when you access the website on the newly restored web app service
            – Nancy Xiong - MSFT
            Nov 6 at 5:14




            I don't think there is, If the web app service is deleted, the SCM site is also not found. Even you try to restore it to a target basic plan using that PowerShell. You will see a 404 Web Site not found error as my reply above mentioned when you access the website on the newly restored web app service
            – Nancy Xiong - MSFT
            Nov 6 at 5:14












            up vote
            2
            down vote













            The WebApps Undelete is only available for Basic and Up tier for now.And I have tested it , It's successful in basic tier.



            If your web runs on free tier and you don't have any backups ,you couldn't recover it by yourself.But you could still check whether all resources including local and deployment resources like GitHub etc have been deleted.



            If so, you could contact the Microsoft Support ,maybe they could help you.



            And if you have any questions, please let me know.






            share|improve this answer








            New contributor




            George Chen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






















              up vote
              2
              down vote













              The WebApps Undelete is only available for Basic and Up tier for now.And I have tested it , It's successful in basic tier.



              If your web runs on free tier and you don't have any backups ,you couldn't recover it by yourself.But you could still check whether all resources including local and deployment resources like GitHub etc have been deleted.



              If so, you could contact the Microsoft Support ,maybe they could help you.



              And if you have any questions, please let me know.






              share|improve this answer








              New contributor




              George Chen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.




















                up vote
                2
                down vote










                up vote
                2
                down vote









                The WebApps Undelete is only available for Basic and Up tier for now.And I have tested it , It's successful in basic tier.



                If your web runs on free tier and you don't have any backups ,you couldn't recover it by yourself.But you could still check whether all resources including local and deployment resources like GitHub etc have been deleted.



                If so, you could contact the Microsoft Support ,maybe they could help you.



                And if you have any questions, please let me know.






                share|improve this answer








                New contributor




                George Chen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                The WebApps Undelete is only available for Basic and Up tier for now.And I have tested it , It's successful in basic tier.



                If your web runs on free tier and you don't have any backups ,you couldn't recover it by yourself.But you could still check whether all resources including local and deployment resources like GitHub etc have been deleted.



                If so, you could contact the Microsoft Support ,maybe they could help you.



                And if you have any questions, please let me know.







                share|improve this answer








                New contributor




                George Chen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                George Chen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered Nov 5 at 6:05









                George Chen

                654




                654




                New contributor




                George Chen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                George Chen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                George Chen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53147934%2frestore-deleted-azure-web-app-cloud-exception%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest




















































































                    這個網誌中的熱門文章

                    Xamarin.form Move up view when keyboard appear

                    Post-Redirect-Get with Spring WebFlux and Thymeleaf

                    Anylogic : not able to use stopDelay()