


This certificate is published to the RTC database and the personal store on the client PC along with the private key.Step 1: Stop Skype for Business from starting automatically If a user logs in to the Skype for Business and ticks the “Save my password” check box (see below) the server will generate a certificate for the user to use for certificate based authentication. What’s more, the user will still be able to log in to Skype for Business for up to 180 days even after the account has been disabled. You can of course just disable the user account in AD, but the user will still be enabled in Skype for Business. Now your user has left the company you need to do some cleanup. Once all of this is done you will have added an AD user account, mail enabled, Skype for Business enabled and Exchange UM enabled. Exchange Server Management Shell as AdministratorĮnable-UMMailbox -Identity -UMMailboxPolicy UMMailboxPolicy -Extensions 9092 Skype for Business Server Management Shell As AdministratorĮnable-CsUser -Identity “ Mike Rowsoft” -RegistrarPool “” -SipAddress | Set-CsUser -EnterpriseVoiceEnabled $True -lineURI “TEL:+44123549092 ext=9092”Īnd finally, UM enable the Users. If you need to add additional attributes you can do that with PowerShell too. New-Mailbox -UserPrincipalName -Alias Mike.Rowsoft -Database “Mailbox Database 1” -Name Mike.Rowsoft -OrganizationalUnit Users -Password $password -FirstName Mike -LastName Rowsoft -DisplayName “Mike Rowsoft” -ResetPasswordOnNextLogon $true $password = Read-Host “Enter password” -AsSecureString (Enter the password when prompted) To create the user open Exchange Server Management Shell as Administrator NOTE: New-Mailbox cmdlet can be used to create a user in Active Directory and mailbox-enable this new user. New-ADUser will work, but we will kill two birds with one stone. I could show you the steps for adding a user account in Active Directory Users and Computers, but where’s the fun in that? I like PowerShell and so should you ).įirst Create and Mail enable the Users – for this example I am creating a user called Mike Rowsoft.

The first requirement is that the user has an account in Active Directory. Just a quick post today to discuss enabling and disabling user accounts in Lync and Skype for Business.Įnabling an account in Skype for Business is pretty straightforward.
