Summary
When attempting to spin up a new Azure VM using a Power management-enabled template, the provisioning failed with the following error:
Error: “Long running operation is Failed or Cancelled.”
.png?sv=2022-11-02&spr=https&st=2025-10-31T17%3A08%3A00Z&se=2025-10-31T17%3A19%3A00Z&sr=c&sp=r&sig=MA3ZAVc3c5jor%2FtHq4P6zDYWuErFYf3kAPzcJMzKQ%2BQ%3D)
Control Error
.png?sv=2022-11-02&spr=https&st=2025-10-31T17%3A08%3A00Z&se=2025-10-31T17%3A19%3A00Z&sr=c&sp=r&sig=MA3ZAVc3c5jor%2FtHq4P6zDYWuErFYf3kAPzcJMzKQ%2BQ%3D)
Azure Error
Root Cause:
The failure occurred due to an incorrect page file configuration on the template VM. When Power Management (Hibernation) is enabled for an Azure template, certain prerequisites must be met; specifically, the page file must be configured on the C: drive rather than the D: drive. This misconfiguration prevented Azure from successfully completing the VM build process.
Resolution Steps
Step 1: Review Template Settings, Check if the affected template has Power Management enabled:
- Log in to the Workspot Control. 
- Navigate to Templates → [Your Template Name]. 
- Confirm that Power Management is set to Enabled. 
(If Power Management is not required, disable it and rebuild the template.)
Step 2: Correct Page File Configuration
- Launch the template VM in Azure. (If the Template is published, Clone the Template, and if the Template is in Preview, move to Draft) 
- Right-click on This PC → Properties → Advanced System Settings. 
- Under the Performance section, click Settings → Advanced → Virtual Memory. 
- Verify the drive configurations: - C: Drive → System managed (recommended) 
- D: Drive → No paging file 
 
Before
After Correction
- Apply changes and reboot the template VM. 
Step 3: Validate Pool Creation
- Move the updated template to the Preview state. 
- Create a new pool using the corrected template. 
- Verify that the VM deployment status transitions to “Ready.”