The New Microsoft Teams Client throw an error in AVD - The parameter is incorrect

After deploying new Azure Virtual Desktop (AVD) session hosts with the new Teams Client installed, users getting the following error after the login:

C:\Program Files\WindowsApp\MSTeams_24004.1307.2669.7070_x64_8wekyb..\msteams_autostarter.exe

The parameter is incorrect

newsletter

In the picture the error The parameter is incorrect is displayed as de parameter is onjuist because the AVD host has a Dutch language pack installed.

To solve this issue I performed the following steps:

I created a new image and deployed new AVD Session hosts from the image. After performing these steps the error disappeared.