This is a blog about a new WVD DevOps build triggered by Flow. This Pipeline creates a new Windows 10 Immutable image which I use for my WVD deployment. To trigger this build you can use Microsoft Flow (PowerAutomate).
Prerequisites
You need the Flow premium license, more information about the licensing.
Install the mobile Microsoft Flow app.
Furthermore, you need to have permissions in the DevOps project. More information about permissions in Azure DevOps.
Build the flow
Go the Microsoft Flow Panel.
Click on create and after that click on “Automated Flow”:
Fill in the name and click on skip. In addition, we pick a trigger later on.
Select the trigger; “Flow button for mobile”:
After that, click on “new step”:
Search for “Build” and select the option “Queue a new build”:
You now need to select the pipeline that you want to be triggered by Flow. (in the red rectangle) In addition, you can also select a “Source Branch and Parameters”. (In the blue rectangle):
Lastly, click on “New Step”:
Search for “mobile” and select “Send me a mobile notification”:
Enter a name for the notification. Furthermore, you can add dynamic content if you want to. Shown in the blue rectangle:
Click on save to save the flow.
Example for the flow
Open up the Power Automate/Microsoft Flow app on your phone. Your newly created Flow should be available. It looks like this, press the button to queue a new build:
This is the notification shown that a new build has been created:
After that, the DevOps Pipeline will start:
This is the Win 10 Image Builder:
And that’s how you create a WVD DevOps build triggered by Flow. Furthemore, I choose to use a mobile app to trigger the build. For example, another possiblity is to use a bot in teams to trigger a new build.
References
Flow Pricing
Other posts about WVD:
Logoff WVD users via Powershell
Set Drain mode WVD hostpool
3 thoughts on “Flow Triggered WVD DevOps Build”