@Avinash Mukund Are you referring to Azure VM am I correct? If so refer to the suggestion and let me know if that helps
https://techcommunity.microsoft.com/t5/compute/audio-device-not-available-on-ms-azure-vm/m-p/67770
It's bit old thread but provides more information on your scenario: Enabling Audio on Azure VM
How do I get a camera to work on an Azure Virtual Machine
If you want to access your local machine/laptop camera in azure VM: Open MSTSC->Go to show options-> Go to local resources and then go to more option in local drives and resources and select video capture devices and then login to the vm and access camera inside azure
Please let us know if you have any further queries. I’m happy to assist you further.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Please do not forget to
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.