Lync Server Service Startup Pending Error

Event Log Error:

Lync Server Service Startup Pending as Backup Store BackEnd is not yet available.
Service Startup will be delayed until the Backup Store BackEnd becomes available.
Cause: Possible Issues with the Backup Store BackEnd.

Resolution:
Ensure that the Backup Store BackEnd SQL Server is running and connectivity is working. The Backup Store needs to be available for initial startup to complete.

__________________________________________________________________

If you are using Azure as you playground like I am or for production and you are trying to install the CS Database, here is a scenario that works.

Login to Azure and locate your SQL VM if you using remote SQL like I am or your Lync Front End if you have a standard installation.

Attach an empty disk and set the HOST CACHE PREFERENCE to NONE. Now in Windows go to Computer Management and bring in the disk and format it.

Now from the Lync Management Shell run the following to create the CS Database on the new drive:

  • Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn sqlserver.domain.com -DatabasePaths “F:\CSLog”,”F:\CSLog”,”F:\CSDB”

Give it a few minutes to install and after it has completed start the Lync Front-End Service.

Hope it helps.

Advertisements

Topology Builder encountered an issue and cannot publish this topology.

ERROR

“Topology Builder encountered an issue and cannot publish this topology.

SQL store is not defined in the topology. You must ensure that the SQL store that is used for the Central Management Store is part of the defined topology and that the SQL store is associated with a Front End Pool.”

SOLUTION

To fix the error and publish the topology:

  • Open Lync Management Shell on your Lync 2013 Server.
  • Run Get-CsConfigurationStoreLocation. This command reports back the location of the Active Directory service control point for the Central Management store.
  • Run Remove-CsConfigurationStoreLocation command.

Now try and publish your Topology and it should all be successful.

Hope it helps.

Lync Server 2013 – Prerequisite not satisfied: Windows Identity Foundation is required.

While running the Lync Setup you may come across the following error from Step 1: Install Local Configuration Store in the Lync Server 2013 – Deployment Wizard.

LyncError1

Fix: You can launch Server Manager and then add the feature: Windows Identity Foundation 3.5

After that run the wizard to “Install Local Configuration Store” and it should succeed.

lyncerror2

Hope it helps.

Lync 2013 Management Shell not giving a prompt

Today after starting with my Lync Server 2013 setup I needed to access the Lync Management Shell. After opening the shell i was presented with a black screen and solid cursor.

LyncManagementShell

Opening and closing the shell doesn’t make a difference. To fix this launch a normal PowerShell window as Administrator and run the following command:

  • powershell.exe -noexit -command “cd $env:UserProfile; Import-Module ‘C:\Program Files\Common Files\Microsoft Lync Server 2013\Modules\Lync\Lync.psd1′”

After that launch the Lync Server Management Shell and all should be working again.

Hope it helps.

New Exchange 2013 Certificate

This guide shows how to generate a new certificate for a 3rd party company like DigiCert, GoDaddy etc. and how to complete the request and assign services to the certificate.

Login to the Exchange Admin Center.

Cert1

  • Step 1 -> Click on Servers.
  • Step 2 -> Click on Certificates.
  • Step 3 -> Click the + button to start the process.

Cert2

  • Step 1 -> Leave the default option selected.
  • Step2 -> Click Next.

Cert3

  • Step 1 -> Type in the Friendly Name for the certificate.
  • Step 2 -> Click Next.

Cert4

  • Step 1 -> We are not requesting a wildcard cert so leave that option and click Next.

Cert5

  • Step 1 -> Click on the Browse button to select which server you want to store the request on.

Cert6

  • Select your server and then click the Ok button.

Cert7

  • The server you selected in the previous step will now show in the box above.
  • Step 1 -> Click Next.

Cert8

  • Here is where you need to make sure your names are correct. For this exercise I made mine mail.domain.com, internally and externally.
  • Click Next.

Cert9

  • Step 1 -> Once you have changed the names a list of names appears above, you can remove or add as you wish.
  • Step 2 -> Click Next.

Cert10

  • Step 1 -> Type in the Organization Name.
  • Step 2 -> Type in the Department Name.
  • Step 3 -> Type in your City Name.
  • Step 4 -> Type in your State/Province Name.
  • Step 5 -> Select your country.
  • Step 6 -> Click Next.

Cert11

  • Step 1 -> Specify the location where the Request will be saved as you will need to upload this file to the 3rd party company.
  • Step 2 -> Click Finish.

 

Completing the Certificate Request.

Cert12

  • Once the screen above has closed the Certificate page will refresh and then show the above.
  • You have a pending request, click on the Complete link (Step 1)

Cert13

  • Step 1 -> Input the location where you downloaded the certificate that you received from the company you chose like DigiCert, GoDaddy etc. and then click the okay button.
  • Once this has completed, double click the cert or click the pencil and then go and assign services to your certificate.
  • Lastly, perform an IISRESET or reboot the server.

Hope it helps.

Completing Certificate request Error Exchange 2013

Setting up my test lab I ran into a problem when trying to complete my certificate request.

I logged into OWA from my machine and pointed to a folder that had full permissions. Upon clicking okay the following error popped up:

Aetech Cert Error

I then logged into the server and followed the same process. The exact same error occurred.
I then re-downloaded the file from DigiCert and tried it again, this time it worked. Seems like a bad download.

Hope it helps.

Enable Lync 2013 On-Premise To Federate With Lync Online (Office 365)

Recently we needed to communicate with one of our federated partners on Lync 2013 and we added the SIP Federated Domain in the Lync control panel however if you opened up the Lync Client it would list the contact with an unknown presence.

Even though under SIP Federated Providers Microsoft is listed you need to add another hosted provider.

Lync 2013 doesn’t allow communication with Lync Online (Office 365) out of the box. You need to add a provider for Lync Online for the communication to work.

Let’s start. Launch Lync Control Panel and navigate to Federation and External Access. Click on SIP Federated Providers on the top. There are only three providers by default. (Below)

Lync1

Now we are going to add a new SIP Provider. Click on New -> Hosted Provider, Fill in the details as per below:

Provider Name: LyncOnline
Access Edge FQDN: sipfed.online.lync.com

Lync2

Select the last radio button -> Allow all communications with this provider

Once done click on the Commit button.

Lync

Now you can see the new provider (highlighted in black)

If you prefer using PowerShell then you can run the following command:

  • New-CSHostingProvider –identity LyncOnline –ProxyFqdn sipfed.online.lync.com –Enabled $True

Now if you try finding the contact in Lync again their status show become active.

Hope it helps.