
This is a 5-day instructor-led training (ILT) course that targets the needs of IT professionals who take part in evaluating, planning, deploying, and operating Office 365 services, including its identities, dependencies, requirements, and supporting technologies. Get-CsAdUser -LDAPFilter "(&(userAccountControl:1.2.840.113556.1.4.803:=2)(msRTCSIP-UserEnabled=TRUE))" |Įxample #2: Remotely disabling Lync / Skype for Business from all users in Active Directory that are disabled. Course: 20347 Enabling and Managing Office 365 About This Course. Enabling Two-factor authentication on Office 365, Microsoft 365 Business and Microsoft Office 365 Business Premium is now a compulsory requirement being enforced by Microsoft. The following are some examples of automatically disabling users from Lync if their Active Directory account is disabled.Įxample #1: Disabling Lync / Skype for Business from all users in Active Directory that are disabled. Microsoft has now introduced Multi-Factor Authentication (MFA), which includes mandatory Two-factor authentication (2FA), in Exchange Server and Office 365. Grant-CsVoicePolicy -Identity $user.Identity -PolicyName $city.VoicePolicy -Confirm:$False Grant-CsLocationPolicy -Identity $user.Identity -PolicyName $city.LocationPolicy -Confirm:$False Grant-CsDialPlan -Identity $user.Identity -PolicyName $city.DialPlan -Confirm:$False Grant-CsConferencingPolicy -Identity $user.Identity $city.ConferencingPolicy -Confirm:$False Set-CsUser -Identity $user.Identity -EnterpriseVoiceEnabled $True -Confirm:$False Get-CsAdUser -Filter Įnable-CsUser -Identity $user.Identity -RegistrarPool $city.RegistrarPool -SipAddressType emailaddress One of the components is Skype for Business ('Basic' as it transpires).

when enabling users for Office 365 Multi-Factor Authentication. We have a user licensed with Office 365 Business Essentials. (All examples only search for Lync / Skype for Business users that are not currently enabled and assume that the Email Address would be the enabled SIP Address.)Įxample #1: Enable all users in the company with an e-mail account matching for normal Lync use. Skype for Business Server Users Client Prompts for Exchange Credentials when enabling Office 365 MFA. I will provide examples of different scenarios both enabling or disabling users. The first thing to determine is who should be enabled for Lync / Skype for Business and the required settings to be given to those users.

Simply copy the script examples and modify them with your infrastructure details and make a scheduled task on your Lync / Skype For Business Server or non Lync / Skype for Business server through remoting.

With just a few lines of PowerShell and a scheduled task you can have users enabled for Lync / Skype for Business automatically. When I see administrators manually enabling all of their Lync / Skype for Business users it makes me cringe.
