We tried to do it at our end and we didn't face any issue on Teams desktop application.

Following are the repro steps from our end - 

  1. We hope that your app manifest's context for configurableTabs includes the following: 
    Please refer the following doc for further details about specific context : 
  2. Make sure that microphone is in Allowed state. (you can find the microphone icon at top-right corner of address bar as in below screenshot) HunaidHanfeeMSFT_0-1626245697071.png
  3. Once you allow the permission to use microphone, the app instance remembers it until you are logged in the same session. To check if the microphone permission is granted you can use this: 
    navigator.permissions.query({name:'microphone'}).then(function(result) {
  4. We have used the following method for testing microphone functionality at our end: 
    navigator.mediaDevices.getUserMedia({ audio: true, video: true })​


Hunaid Hanfee


If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.