What it is
A README of short PowerShell snippets, run interactively with the MicrosoftTeams module, for common Teams Audio Conferencing configuration. They change the bridge number shown in users' meeting invites, disable or limit dial-out from Audio Conferencing meetings with Grant-CsDialOutPolicy, and disable toll-free dial-in for selected users, using a CSV of users.
Why use it
- Update meeting invite bridge numbers for many users after changing your default bridge or adding local numbers.
- Limit or disable call-me and dial-out destinations to control Communication Credits use.
- Disable toll-free dial-in for specific users while leaving it on for others.
How to use it
- Install the MicrosoftTeams PowerShell module (2.0.0 or later) and connect to Teams.
- Prepare a CSV with a
UserPrincipalNamecolumn for the bulk snippets. - Copy the snippet you need from the README and adjust the values, for example to change the bridge number in meeting invites:
Import-Module MicrosoftTeams
Connect-MicrosoftTeams
$newbridgenumber = "+15551234567"
$updatebridgeusers = Import-Csv "C:\path\to\updatebridgeusers.csv"
foreach ($user in $updatebridgeusers) {
Set-CsOnlineDialInConferencingUser -Identity $user.UserPrincipalName -ServiceNumber $newbridgenumber
}Prerequisites
- MicrosoftTeams PowerShell module, version 2.0.0 or later
- Users enabled for Teams Audio Conferencing
- CSV with a UserPrincipalName column for the bulk snippets