Showing posts with label Microsoft Teams. Show all posts
Showing posts with label Microsoft Teams. Show all posts

Friday, February 14, 2025

Windows 365 - Fix Microsoft Teams error code 2000

 


Recently I started to see Microsoft Teams showing Not Optimised banner at the top of the Teams. When clicked on it, it showed to optimize and restart. But when clicked on it, it started to show Error Code 2000. 

Checked in settings and it shows AVD slimcore media Not connected.

The error code 2000 means optimization is not enabled.

Tried to follow the steps outlined in my previous blog https://app2pack.blogspot.com/2025/02/MicrosoftTeams-Performances-Windows.html but it didn’t help. 

Followed the steps mentioned in the official MS article but it also didn’t work. Tried to force quit Teams manually and launch and still it was showing the same error and not optimized banner.

Finally Tried to restart the Windows 365 cloud pc from Windows App and this time after the restart and when clicked on Not optimized banner, it automatically optimized and prompted me to restart the Teams twice. After restarting Teams twice, the banner disappeared. 

Tuesday, February 4, 2025

Windows 365: Fixing Microsoft Teams performance issue



Fixing Microsoft Teams Performance Issues in Windows 365

Microsoft Teams is a critical collaboration tool for many organizations. However, ensuring optimal performance on Windows 365 Cloud PCs or Azure Virtual Desktop (AVD) environments often requires specific configurations. This article provides a step-by-step guide to verify and enable Teams SlimCore Media Optimization for improved performance.

Step 1: Verify Teams Media Optimization Type

Before making any configuration changes, verify that your Teams client is using the new SlimCore Media Optimization architecture. Follow these steps:

  1. Open the Microsoft Teams client.
  2. Click on the ellipsis (...) on the top bar.
  3. Navigate to Settings > About.
  4. Check the optimization type listed under the Teams version:
    • AVD SlimCore Media Optimized: means it’s new optimization based on SlimCore.
    • AVD Media Optimized: means it’s  Legacy optimization based on WebRTC.

Step 2: Enable Teams Media Optimization

To enable media optimization for Teams in Windows 365 or AVD environments, configure a registry key on each session host if it’s not already present. This key will be present if it’s already optimised. If not, you need to configure.

Registry Configuration Steps:

  1. Open Registry Editor as an administrator.
  2. Navigate to the following path:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Teams
    
  3. If the Teams key doesn't exist, create it.
  4. Add the following value:
    • Name: IsWVDEnvironment
    • Type: DWORD
    • Value: 1


Alternatively, you can automate this process using a PowerShell script.

You can find the Powershell script in my GitHub Repository 

If Teams is not optimised, you can see a Not optimised banner at top of the Teams. You can click it and select optimise virtual desktop and restart and Teams should be automatically optimised for media audio and video quality inside windows 365.





https://learn.microsoft.com/en-us/azure/virtual-desktop/teams-on-avd#enable-media-optimization-for-teams

Friday, December 6, 2024

Linux Ubuntu: Microsoft Teams screen sharing issue in Edge browser

Recently after a Microsoft Edge browser update from 130.0.2849.80-1, users were facing issues when trying to share screen/window during their meetings in Microsoft Teams. However they were only able to share a tab from Edge.If they select screen/windows then they get this error message.

Your video isnt working

We couldnt access your camera.

It turns off their camera and nothing is shared.

This is also reported here - https://answers.microsoft.com/en-us/msteams/forum/all/mycrosoft-teams-stop-sharing-screen-in-new-version/53307f01-50fa-4827-97b3-9a188b3e2f5f

The simple solution was to revert to older version.

sudo apt install microsoft-edge-stable=130.0.2849.80-1

Update: This issue is fixed in latest version 131.0.2903.86-1. Users are able to  share their entire screen without Teams turning off webcam.