PowerShell: Enable or disable tollFreeDialin for User in Bulk
Steps
First Connect with Skype for Business online Module
Import the CSV file Which have the list of User Name on which you want to enable to disable tollFreeDialin
If You want to enable than use $True if you want to disable than $False
Set-ExecutionPolicy RemoteSigned
Import-Module SkypeOnlineConnector
$session = New-CsOnlineSession
Import-PSSession $session
x $abc = Import-Csv "C:\Users\Administrator\Desktop\user.csv"
$abc | ForEach-Object{Set-CsOnlineDialInConferencingUser -Identity $_.UPN -AllowTollFreeDialIn $false}
**Step One **
https://gallery.technet.microsoft.com/lync/site/view/file/224391/1/Step1.jpg
** **
** **
Step Two
https://gallery.technet.microsoft.com/lync/site/view/file/224392/1/Step2.jpg
** **
** **
Step three
https://gallery.technet.microsoft.com/lync/site/view/file/224393/1/Step3.jpg
**Step four **
https://gallery.technet.microsoft.com/lync/site/view/file/224394/1/Step4a.jpg
https://gallery.technet.microsoft.com/lync/site/view/file/224395/1/Step4b.jpg
Reference