Weird issue - anyone seen this before? When conne...
# microsoft-365
m
Weird issue - anyone seen this before? When connecting to a 2022 server with the (latest) Teams, after launching, some users are getting “For the best experience on a virtual desktop, you need to restart Teams”. (this message continuously reappears) This only happens to users coming in from a Windows endpoint though. From thin clients (or my Mac), this message does not appear. The odd thing is - both show Citrix HDX Optimized. I would have expected the ones prompting for restarts would NOT be HDX Optimized and thus require some action. But they are. 🤔
r
This is teams tryin to switch you to slimcore
🙏 1
m
Update: Coming in from outside their network I tested my Win11 (vs. Mac) and it too does not pop up this message. They are testing from inside their network.
s
You follow the prereqs for teams in the vda and the endpoint reqs from https://learn.microsoft.com/en-us/microsoftteams/vdi-2 also here is a screencap for the restart dialogue
🙏 1
m
Thanks guys, I’ll have a look at this.
So far, I can’t find anything out of alignment. • Latest/Greatest Teams Installed on VDA • VDA is 2402 CU3 • Endpoint CWA is 2507 (two other users with 2508 report the same issue) • Citrix Policies - the three virtual channels are configured • On the VDA I don’t see any policies blocking MSIX installs • I installed the MS Citrix Teams Plugin separately, latest version install • Ran Get-AppxPackage Microsoft.Teams.SlimCore* and it showed Slimcore things present - I think this looked OK (?)
r
When slimcore is used it will switch to slimcore optimized. The advantage of slimcore once you start using it is that Microsoft updates both sides so you wont have a feature mismatch
m
I’ve read through this article numerous times, so far I just can’t find anything that is misaligned
I’m considering just turning off the Citrix policies at this point and ditching slimcore
I noticed if I disabled the virtual channels policy in Citrix Policies (with a reboot) that doesn’t stop the constant restarts trying to go from HDX to Slimcore. If I remove the Citrix/Teams/VDI plugin it does stop the restarts and it stays in HDX Optimized. What is everyone’s favorite way to install new teams on 2022. Maybe my method there was problematic. There’s been so many articles - special installs for 2019, 2022 etc. I’m worried perhaps I used the wrong one.
m
Thanks @Corey Tracey I just finished cracking open the image, ran the bootstrapper, installed fresh per Microsoft’s page, and am still experiencing the same issue. I’ll move on to studying this page next to see what I could possibly be missing.
I think I need to give up the dream of Slimcore - it’s just not working. I’ve tried pretty much everything.
s
have the Teams Admin check this...
if it's not 'global' there may be another policy or the restricted policy , https://learn.microsoft.com/en-us/microsoftteams/vdi-2#microsoft-teams-powershell-policy-for-optimization
m
Thanks Steve - yeah I just asked them about this. I’m 99% sure they wouldn’t have changed this but thanks for the screenshot
BTW I was looking through the support logs last night. I can see things trying to work and failing although no specific cause is stated. I ran some of the logs through ChatGPT for additional analysis and this was it’s line by line assessment.
Log Snippit: 2025-10-16T221044.306793-07:00 0x0000169c DBG SlimcoreModuleFactory: OnRemoteModuleCreated : Initializing host slimcore host services 2025-10-16T221044.306793-07:00 0x0000169c INFO native_modules:NativeModuleManager Creating native module VdiBridgeWV2 2025-10-16T221044.306793-07:00 0x0000169c INFO TeamsCloud(prod): TeamsCloud: window placement storage for Main window created. 2025-10-16T221044.306793-07:00 0x0000169c ERR TeamsCloudManager: GetCloudForHostName: No cloud for host name: teams.microsoft.com 2025-10-16T221044.306793-07:00 0x0000169c INFO ObjectCollection: (class msft:teams:TeamsCloud) Inserting 0x000001384d39a080 2025-10-16T221044.306793-07:00 0x0000169c DBG WebClientStateTracker: OnWebClientStateChange Registering highest new client state: Initializing 2025-10-16T221044.306793-07:00 0x0000169c DBG LogFileScavenger: Not in allowed state, waiting for next state change 2025-10-16T221044.306793-07:00 0x0000169c INFO SuspendEventInterceptor: UnblockEvent Attempting to unblock OS suspend 2025-10-16T221044.306793-07:00 0x0000169c INFO ScreenLockEventInterceptor: UnblockEvent Attempting to unblock OS screen lock 2025-10-16T221044.307794-07:00 0x0000169c INFO RestartManager: SaveHighestWebClientState highest web client state stored. state=Initializing 2025-10-16T221044.307794-07:00 0x0000169c INFO RestartManager: SaveLastChangedWebClientState last changed web client state stored. state=Initializing 2025-10-16T221044.307794-07:00 0x0000169c DBG ScenarioFactory: Scenario: ‘shell_crash_metadata’ doesn’t meet minimum privacy classification 2025-10-16T221044.307794-07:00 0x0000169c DBG ScenarioFactory: Scenario: ‘shell_cross_cloud_store_calling_store_teams_cloud_created’ doesn’t meet minimum privacy classification 2025-10-16T221044.307794-07:00 0x0000169c ERR native_modules:CallingCrossCloudModule BroadcastGlobalState: Pie bridge not set.
c
is edgewebview2 updated on the VDA and windows endpoint?
m
Yeah, it was there. I’ve uninstalled it fully and reinstalled - the full evergreen installer.
Also I just checked this - all clear on the Global policy
I wonder if there is something pooched with the Windows Store on this VDA image, or if it’s some permissions issue on the WindowsApps folder. I don’t know how to test the integrity/functionality of the Windows store and the Appx loading/functionality.
s
my logs look very similar, although i have a bunch of other 'noise' in there, and multiple mentions of slimcore.
if ur able ot launch teams, msix/appx is working
you can double check this though: Event Viewer: Applications and Services Logs > Microsoft > Windows > AppxDeployment-Server/Operational
m
Good to know.
Yeah I have looked at those events on both the endpoint and the VDA. Let me check the VDA side again….
s
and just to confirm, it asks to restart to optimize team in an endless loop...not twice and then it's good, correct?
m
Correct, it restarts >2x and always falls back to HDX Optimized
👍 1
On the VDA:
Also on the VDA (it looks like these times correlate with my restart attempts):
s
that error at 10:43 says it was successful if you highlight it, correct?
sounds very similar to your case, with the Teams Admin policy being the fix https://learn.microsoft.com/en-us/answers/questions/2240057/teams-with-vdi-optimiziation-is-optimized-wants-to
m
Good find Steve. What in the world…. am I and this guy the only two people on the planet using Teams on 2022? If this was broken on all on-prem RDS servers then you’d think it would be quite a common experience. Seems pretty odd!
s
i put my money on most folks having it on 2022 or win11
some customers are betting at breaking stuff though 🙂
m
That’s what I would have guessed too. Then I think there is still something amiss/broken elsewhere. This just enabled him to plow around the stump.
s
let me know if it's not the Admin policy... you double check you have all the new Teams exclusions in AV?
m
I haven’t checked AV exclusions yet but was wondering about that. I’ll resume work on this later today, over the weekend, or Monday and keep you posted. Thanks guys
👍 1
s
is there anyway to set it up so it auto restarts and doenst ask the user
j
Ivanti could probably handle that easily enough
s
@James Rankin Any idea how? I don't have avanti and what are replicate it
j
Ivanti has a trigger that runs on Process Start. Maybe WEM has something similar now?
If it does, the workflow you want is Teams process launches for first time --> Taskkill Teams process --> restart Teams process. It may need some pauses and whatnot. This "restart for optimization" wasn't a thing last time I addressed it