Back to script samples page
Skype for Business setting - deny automatic guest access to meetings

Deny anonymous Skype for Business users entrance to meetings and removes the ‘lobby’ function from meetings.

This is one of the settings which can only be configured by using Windows PowerShell.

#Skype for Business setting  - deny automatic guest access to meetings

#This first command will import the Skype for Business module into your PowerShell session.
Import-Module LyncOnlineConnector

#Capture administrative credential for future connections.
$credential = get-credential

#This command will prompt you for your username and password, remotely connect to Skype for Business and then allow you to manage your settings.
$lyncSession = New-CsOnlineSession -Credential $credential

#This imports commands from your PowerShell session.
Import-PSSession $lyncSession

#Skype for Business setting  - deny automatic guest access to meetings
Set-CsMeetingConfiguration -AdmitAnonymousUsersByDefault $False
Downloaded 0 times
* - - - - (1)
Comments