[What and Why]
We are updating the Microsoft Teams PowerShell module to use Web Account Manager (WAM) as the default authentication broker for sign-in. This change improves security and provides a more consistent authentication experience on Windows.
A new temporary parameter, -DisableWAM, is available in the Connect-MicrosoftTeams cmdlet, allowing admins to bypass WAM for a single connection if it is not supported in their environment.
This change is available starting with preview version 7.8.1 of the Teams PowerShell module.
[Rollout Schedule]
General Availability (Worldwide, GCC, GCCH, DoD): Rollout will begin in late June 2026 and is expected to complete in late June 2026.
[Impact on Your Organization]
Who is affected
- Admins using the Microsoft Teams PowerShell module on Windows
Platforms/Services
- Microsoft Teams PowerShell module
- Windows
What will happen
- Sign-in for the following scenarios will use WAM as the authentication broker:
- Interactive sign-in using Connect-MicrosoftTeams
- Connect-MicrosoftTeams with credential (-Credential)
- Connect-MicrosoftTeams with AccountId (-AccountId, Integrated Windows Authentication)
- The following sign-in methods are not affected:
- Service principal with certificate
- Managed identity
- Pre-acquired access tokens
- A temporary -DisableWAM parameter is available to bypass WAM for a single connection.
- The -DisableWAM parameter will be removed in a future release.
Known limitations:
- On macOS, Linux, and Windows versions earlier than Windows 10 or Windows Server 2019, existing authentication behavior remains unchanged.
- WAM requires an interactive Windows session with UI access.
- WAM will not work in non-interactive scenarios such as Windows services, scheduled tasks without a logged-in user, or scenarios that run under impersonation.
[Action Required / Recommendations]
- Review any scripts that use the Teams PowerShell module, especially those running in non-interactive environments.
- Update scripts if needed to support WAM authentication.
- Use the -DisableWAM parameter as a temporary workaround if required.
Learn more: Connect-MicrosoftTeams | Microsoft Teams | Microsoft Learn
[Compliance considerations]
No compliance considerations identified. Review as appropriate for your organization.
Source: Microsoft
Latest Posts
- (Updated) Microsoft Viva Engage: Flexible targeting of Storyline Announcements [MC1183013]
![(Updated) Microsoft Viva Engage: Flexible targeting of Storyline Announcements [MC1183013] 2 pexels pixabay 462162](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Viva: Agent flexible query in Analytics Workbench [MC1403410]
![Microsoft Viva: Agent flexible query in Analytics Workbench [MC1403410] 3 pexels ketut subiyanto 4350217](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Update to Microsoft Enterprise Content Delivery Network (eCDN) analytics data retention (360 days to 180 days) [MC1403404]
![Update to Microsoft Enterprise Content Delivery Network (eCDN) analytics data retention (360 days to 180 days) [MC1403404] 4 pexels eye4dtail 122308](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Purview compliance portal: View-only role management enhancements [MC1403403]
![Microsoft Purview compliance portal: View-only role management enhancements [MC1403403] 5 pexels pixabay 269063](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
![Microsoft Teams PowerShell: Web Account Manager (WAM) becomes the default authentication broker [MC1338817] 1 Microsoft Teams PowerShell: Web Account Manager (WAM) becomes the default authentication broker [MC1338817]](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-googledeepmind-25626593-1024x683.webp)
![(Updated) Microsoft Viva Engage: Flexible targeting of Storyline Announcements [MC1183013] 2 pexels pixabay 462162](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-462162-150x150.webp)
![Microsoft Viva: Agent flexible query in Analytics Workbench [MC1403410] 3 pexels ketut subiyanto 4350217](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-ketut-subiyanto-4350217-150x150.webp)
![Update to Microsoft Enterprise Content Delivery Network (eCDN) analytics data retention (360 days to 180 days) [MC1403404] 4 pexels eye4dtail 122308](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-eye4dtail-122308-150x150.webp)
![Microsoft Purview compliance portal: View-only role management enhancements [MC1403403] 5 pexels pixabay 269063](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-pixabay-269063-150x150.webp)
![Microsoft 365 Copilot: Self-service 30-day trial for eligible small and medium businesses [MC1338815] 7 Microsoft 365 Copilot: Self-service 30-day trial for eligible small and medium businesses [MC1338815]](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-googledeepmind-25630338-150x150.webp)