skip to Main Content

I am new to Azure so I decided to use Microsoft Learn Sandbox to fool around and find out.

After following this exercise, I managed to create a web app with a specific name.

After writing a simple GitHub workflow to build and deploy my application, I found out that my webapp is not accessible anymore. Of course it makes sense for a ressource to be deleted after the sandbox has expired and I should have thought about it before but I cannot create a new webapp using the same specific name in my personal Azure Pay-per-use subscription as I a greeted with an error explaining me that this name is not available.

After a bit of browsing I read various answers about the retention time of these resources, which can vary from a few minutes up to three months.

I understand that this retention system exists to allow users to restore deleted resources and that it can be configured by various policies but I could not find a specific response for the ones relative to Learn Sandbox.

When can I expect this resource to be deleted from the system so I can use my specific name again ?

New WebApp error message

2

Answers


  1. Chosen as BEST ANSWER

    24 Hours after sandbox expiration

    The previous answer did not answer my question, regarding the lifecycle of the ressources, and not the sandbox.

    A few days after I posted this question, I was able to create a new web app with the specific name I wanted but I felt frustrated not understanding the underlying rule.

    I tried again and created a web app with another specific name in a sandbox around 6 pm and let it expire. The next day I tried to create a web app with the same name in my personal subscription at regular intervals until the name was available again, around 10pm.

    This time gap being 28 hours, the sandbox lifecycle being 4 hours, we can suppose those resources are purged 24 hours after sandbox expiration.


  2. How long does the sandbox stay around?
    The sandbox environment created for a module is available for four consecutive hours to ensure that you can finish the module. The Microsoft Learn exercises are meant to be finished in one sitting, in an hour or less.

    You can actually verify this in the Sandbox FAQ – How long does the sandbox stay around?

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search