I ran into an issue where Azure Lab Services did not work as expected.
The publication takes between 5 and 6 hours and has no result – the lab is not published afterwards. Normally publishing lasts less than 1 hour. If you look into the log, you only see the entry that the publication has started. The only message visible is “Veröffentlichung aufgehoben” (English: “Unpublished”).
Workaround
At first we thought the behavior might depend on the user, but it turned out to be related to the order of creating the lab. It simply does not work when you create the lab with the idle settings already set. It seems like it works best with this order:
- Create the lab
- Publish the lab
- Then set the idle/shutdown settings
The first two steps complete within the expected timeframe, but the last one takes very long and throws:
An error occurred while updating shutdown policy settings. Please refresh the page and try again.
Update: We are using an image that joins a domain – next step is to try one with domain join disabled.