activities
latest
false
UiPath logo, featuring letters U and I in white

IT Automation Activities

Last updated Mar 2, 2026

Azure Windows Virtual Desktop APIs

APIs allow you to access and interact with the services offered in the Manage Packages menu. You can use these APIs when you design coded automations. Visit Coded Automations to learn about coded automations and how to design them using APIs.
Note: Using Go to Definition (F12) allows you to access the definition of UiPath APIs for a certain service. We recommend relying only on the directly exposed APIs when you implement coded automations. Other APIs that are not directly exposed with a service are subject to change without prior notification.

Using APIs

To use the Azure Windows Virtual Desktop APIs, you must first create a connection in Integration Service, then use it in a coded workflow. Once this is done, download the activity package, and create a coded workflow.

Code example

public void Execute()
        {
            var azure_secret = new System.Net.NetworkCredential("", "YourPassword").SecurePassword;
            var azureWVDClientProvider = new AzureWVDClientProvider("subscription id", "tenant id", "client id", azure_secret, AzureWVDEnvironment.Global);
            var applicationGroupService = azureWVD.ApplicationGroupService(azureWVDClientProvider);
            var result = applicationGroupService.GetApplicationGroup("resource group name", "application group name").GetAwaiter().GetResult();public void Execute()
        {
            var azure_secret = new System.Net.NetworkCredential("", "YourPassword").SecurePassword;
            var azureWVDClientProvider = new AzureWVDClientProvider("subscription id", "tenant id", "client id", azure_secret, AzureWVDEnvironment.Global);
            var applicationGroupService = azureWVD.ApplicationGroupService(azureWVDClientProvider);
            var result = applicationGroupService.GetApplicationGroup("resource group name", "application group name").GetAwaiter().GetResult();
  • Using APIs
  • Code example

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated