App can’t connect to microphone device on Azure VM

Andrew Tarulis 1 Reputation point
2022-12-19T13:19:05.303+00:00

Hello,
Our team is working on UI tests automation of UWP app in Azure DevOps and Azure VM infrastructure. We created agent pool and installed agent on Azure VM. Then pipeline uses that agent to run UI tests.
Our tested UWP app is tightly coupled with microphone access and, as expected, during tests run we are getting message that app can’t connect to microphone device.
We thought that we could solve it by using third party software to simulate sound card (like https://www.e2esoft.com/vsc/ or https://github.com/duncanthrax/scream) or virtual audio input/output devices (like https://vb-audio.com/Cable/index.htm or https://vac.muzychenko.net/en/ ). Unfortunately, no one worked out, sound IO devices are not being appeared in Windows 10.
Maybe you can provide instructions about ways to solve microphone access on Azure VM or explain why virtualization ways could not work.
Or, what Azure can suggest for the such case

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,243 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,382 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Madhusoodhan Gopal 50 Reputation points
    2024-05-03T11:53:54.4466667+00:00

    Hi,

    Can someone please provide solution for how to enable Mic inside Azure Virtual Machine. I am able to get audio output.

    0 comments No comments