Enabling Remote Work

Power on and off your Personal WVD Desktops Using your mobile device

Table of Contents

Recently we started getting many requests from our WVD customer to provision new Windows Virtual Desktop Personal VMs which for sure will increase the cost, so it’s the time to do our homework and find a way you to provide our customer requirement with some added value.

To be honest, I didn’t search a lot because I know where to go , I found a very helpful article by Tom Hickling about powering of your Windows Virtual Desktop personal VM when it’s not in use with a simple click.

App Creation

  1. Download the App template from this GitHub Repo (WVDVMControlApp)
  2. Open Power Apps Portal
  3. Click on App Tab > Then Click on Import Canvas App
  4. Choose the package file to import (Refer to my GitHub repo to get the latest package)
  5. Upload the App Package that we downloaded from GitHub > Then Click on Import
  6. Once Importing Complete Click on Flows Tab.
  7. Select WVDPowerOn Flow > Then Click Edit
  8. Select HTTP Trigger to add your Trigger Attributes > Click Show advanced options.
  9. URI Modification:
    • resourceGroupName: The name of the resource group where the WVD vm located.
    • subscriptionId: The subscription ID where the WVD vm created.
    • vmName: The name of the virtual machine.
  10. Advanced Options:
    • Authentication: Select Active Directory OAuth
    • Tenant: Enter your Azure AD Tenant ID
    • The Audience: https://management.azure.com
    • Client ID: Enter the Client ID for your Service Principle
    • Credential Type: Select Secret
    • Secret: Service Principle Secret.
  11. Select WVDPowerOff Flow > Then Click Edit > Repeat Same Steps (7,8,9)
  12. Download Power App on your phone.
  13. Once PowerApps is installed, Open the App and follow the below GIF to Pin the app to Home.

App Creation Video

Testing and Demonstration

Resources:

This Solution Creation following tips by Tom Hickling and Dean Cefola

 

Check out my Udemy course for AZ-140 Azure Virtual Desktop
Use This link for 80% OFF : https://bit.ly/AVDCourseYT

Mahmoud A. ATALLAH

Microsoft MVP | Speaker | Azure Service Delivery Lead at Bespin Global MEA, helping customers build successful Azure practices. Talks about #AzureCloud and #AI

Recent Posts

Gitex – Ensuring a Secure & Scalable AI-powered Solution with Azure

In this session, we will explore the architecture and best practices for building secure and…

2 months ago

Part 4: Data Exfiltration Playbook – Azure WAF Security Lab

Introduction Welcome to our comprehensive series on Azure Web Application Firewall (WAF) security! In this…

4 months ago

Part 3: Vulnerability Exploitation Playbook – Azure WAF vs XSS

Introduction Welcome to the third installment of our Azure Web Application Firewall (WAF) Security Lab…

4 months ago

Part 2: Reconnaissance Playbook – Testing Azure WAF Protection

Introduction Welcome to the second installment of our Azure Web Application Firewall (WAF) Security Lab…

5 months ago

Part 1: Lab Setup – Building Your Azure WAF Testing Environment

Introduction Welcome to the first installment of our four-part Azure Web Application Firewall (WAF) Security…

5 months ago

Azure Web Application Firewall: A Hands-on Security Lab Series

Introduction In today's digital landscape, protecting web applications from sophisticated attacks is crucial. Azure Web…

5 months ago