Home

Tuesday, November 24, 2015

 

Issue

While running ‘Enable-CsTopology’ you get an error stating that you dont have permission, refer below error.

Error: An error occurred: "Microsoft.Rtc.Management.ADConnect.ADOperationException" "Active Directory operation failed on "server.domain.com". You cannot retry this operation: "Access is denied
00000005: SecErr: DSID-031521D0, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0

image

Solution

Found that its because the account which is running Enable-cstopology doesn’t have permission to run this command fist time as the account should have AD permission to run it fist time. So, run the command with an account which has Domain Admin permission and the issue got fixed.

Tuesday, August 4, 2015

In place upgrade from Lync 2013 to Skype for Business 2015

Prerequisites :- Please note that, this article is based on Lync 2013 Enterprise version upgrade on Windows 2008 R2 SP1. If you are using Lync 2013 on Windows 2012 then steps may be different.
1. Make sure that you have the latest CU installed on Lync 2013
2. Update SQL Express edition on all FE servers to SQL 2012 SP2, you can follow the article http://ucserver.blogspot.in/2015/07/update-sql-express-2012-with-service.html
3. Download and install 'KB2533623' https://support.microsoft.com/en-us/kb/2533623
4. Make sure you are using PowerShell version 6.2.9200.0 or later – if not then please download and install latest one.

Publish Topology
1. Install Skype for business Binaries and admin tools on a member server
2. Download corrupt topology from the the member server by using S4B topology builder
3. Right click on the pool which you want to do in place upgrade and choose ‘Upgrade to Skype for Business Server 2015..”
clip_image002
4. Click on ‘yes’
clip_image004
5. You can se the pool is been disappeared from Lync 2013 section
clip_image006
6. Make sure that the pool is visible under Skype section
clip_image008
7. Click on next
clip_image010.
8. Next to continue..
clip_image012
9. Wait..
clip_image014
10. Review the log and click on ‘Finish’ once done.
clip_image016
Run upgrade on servers
1. Make sure that Lync services are in stopped state on FE servers in the pool where you are going do the update Run ‘Stop-CswindowsService’ all servers in the pool to stop the service
clip_image002[5]
2. Mount the media and launch installation
clip_image004[5]
3. You can see C++ 2013 is getting installed..
clip_image006[5]
4. Select ‘Don’t check for updates right now’ [if you are running offline] and click on next
clip_image008[5]
5. Accept the agreement and click on OK
clip_image010[5]
6. You case the installation started, sit back and wait J it may take lot of time..
clip_image012[5]
7. It may prompt for restarts, if it prompts then reboot by clicking on OK
clip_image014[5]
8. Once the installation is done you can see green tick marks J. Click on OK to finish
clip_image016[5]
9. It will remind you that you have to start the pool after installation, click on OK
clip_image018
10. Execute the installation on all other servers in the pool
11. Once the update is done on all servers then run ‘Start-CsPool –PoolFqdn <pool name>’ command on a FE server and make sure that the services are up on all servers.
clip_image002[7]
clip_image004[7]
Please note that ‘Start-CsPool’ new command introduced in S4B 2015 and by running this command you can start services on all servers in this pool.
 

Tuesday, July 28, 2015

Update SQL Express 2012 with service pack on Lync 2013 server

I have recently come across a situation where I had to upgrade Lync server to Skype for business 2015 and as part of preparing I had to update SQL 2012 express with service pack. Below are the steps for the same.

1. Before starting the update you have to make sure the service is down on the server.
Go to ‘Lync server Management Shell’ and run ‘Stop-Cswindowsservice’
clip_image002

2. Change the location to the install souce location and run caommand ‘.\SQLEXPR_x64_ENU.exe /ACTION=Patch /allinstances /IAcceptSQLServerLicenseTerms’
clip_image003

3. You can see extract is going on...
clip_image005

4. Check ‘I accept the licence terms.’ And click on next to continue.
clip_image007

5. Make sure that all instaces are selected and click on next
clip_image009

6. Click on next to continue
clip_image011

7. Make sure you can see all “success” and click on close
clip_image013

8. Start Lync services and make sure that everything works
clip_image015