Technical blog about Exchange, OCS and Lync by Ståle Hansen

  • TENA14

  • Proud contributor and fan of

  • wordpress visitors
    • 880,973 views since april 09

My Lync and BYOD in a WIFI infrastructure LyncCast is now Online

Posted by Ståle Hansen on 13/04/2014

Friday april 11th I did a talk over a Lync Cast arranged by Microsoft Norway about Lync and Bring Your Own Device (BYOD) in a wireless infrastructure in Norwegian.

Abstract: Bring Your Own Device (BYOD) er en trend IT avdelingen ikke alltid kan kontrollere. Tar man Lync med telefoni med i bildet så er det en del momenter man må tenke på, som hvilket nett skal «unmanaged devices» koble til, hvordan kan vi sikre tale kvaliteten og hvor enkelt er det å komme i gang for brukeren. Hvis du ønsker å lykkes med Lync i et trådløs nettverk, da er denne webcast for deg og din bedrift

View the video here:

Posted in Lync Server 2013 | Tagged: , , | Leave a Comment »

Finding the correct patch version of a Lync server

Posted by Ståle Hansen on 06/04/2014

adhesive_bandage-512Recently I have been troubleshooting and doing health checks on a couple of Lync systems. When troubleshooting it is good to know what patch level your servers are on, whether they are on the same patch level or the newest patch level.

I discovered at one client that the Edge servers in DMZ was being patched through Windows Update, but the internal Front End servers where not being patched, they where not part of the patch system the customer where enforcing. The result was that at one point, with the january 2014 cumulative update on the Edge server and the RTM patch level on the Front End servers, the gap became too large and the it ended up with the Front End servers not supporting and working with the Edge AV relay server. We saw the error occur with unsupported realy server in the diagnostics header before the Front End servers even tried setting up the media traffic on the Edge servers.  Quite a strange problem to troubleshoot, but best practice is that all servers should be on the same patch level. Patching the internal Lync servers solved the issue.

Here is some notes on finding what patch level your servers have

  • To find the patch level of your Lync server, the easiest way is looking at the installed components under control panel and programs and features
  • The cool way to do it using this OneLiner for finding the current patch level,
    • It is best to look at the core components, which is usually stamped with the correct patch level
    • Get-WmiObject -query ‘select * from win32_product’ | where {$ -like “Microsoft Lync Server*”} | ft Name, Version -AutoSize
  • You can also just output the core components using this oneliner
    • Get-WmiObject -query ‘select * from win32_product’ | where {$ -like “Microsoft Lync Server*core components*”} |ft Name, Version -AutoSize
  • A good way to check the patch number with what time it was deployed I check the list in this blogpost by Murat
  • Since all servers should be at the same patch level, it is a good practice to check installed version on all of the servers with core components installed, including trusted servers
    • To find what servers have core components installed, you can run this cmdlet
    • Get-CsComputer | ft fqdn
    • This will give you all involved servers, including gateways which you should ignore
    • Remember, all servers with UCMA installed, like Exchange, should be patched for Lync as well
  • When patching your servers it is a good thing to stop all Lync services first, patch the server and then restart the services
  • If you to have strange errors like not being able to forward calls, check for pending windows updates, install them and reboot the server

Posted in Lync Server 2013, Troubleshooting | Tagged: , , , | Leave a Comment »

Awarded Microsoft Most Valuable Professional (MVP) 2014

Posted by Ståle Hansen on 01/04/2014

Today I received the Microsoft MVP Award for my contributions in the Lync Community. This is the fourth time I have received this award, the first time was in 2011. This is huge and it is really inspiring to get recognition for my contributions. Here’s an excerpt from the email I got:


Congratulations! We are pleased to present you with the 2014 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in Lync technical communities during the past year.

I feel very honored to be part of this outstanding community and I want to mention the MVP Summit as a highlight of the experience. With all the cool things happening around Lync, Office 365 and Windows 8 I look forward to contribute to the community the coming year as well.

Microsoft takes good care of their MVP’s and we where featured at the keynote at LyncConf :)



About the MVP Award Program
Lync MVP Awardees community site
Microsoft MVP FAQ

Posted in UCC | Tagged: , , | 2 Comments »

Speaking at TechEd North America 2014

Posted by Ståle Hansen on 25/03/2014

I am proud to announce that I am speaking at TechEd North America 2014 in Houston! This is the second international talk I am doing this year and my previous talk was in Las Vegas at the Lync Conference 2014. Apparently the session I did on the Lync Conference had the correct content and I am excited to be  giving the same talk at TechEd. The topic was Phone Number Management in Lync Server 2013.


Title: Phone Number Management in Microsoft Lync Server 2013
Session Code: OFC-B416
Time Slot: Wednesday May 14, 8:30 AM – 9:45 AM
Abstract: Ståle Hansen, the creator of Get-UnusedNumbers PowerShell script, walks through how phone number management is done throughout different Lync deployments. The session will start with some of the basics and will quickly move over to more advanced scripting and tools that can be utilized in user creation workflows and user management scenarios. Be sure to attend this session if you want tips on phone number management in your environment or customer deployments.


I will try to work with the talk and do more demo’s around third party offerings and also evolve the script with the input I got during LyncConf so stay tuned for that.

Posted in Lync Server 2013 | Leave a Comment »

You see only a white screen when viewing Lync 2013 desktop sharing

Posted by Ståle Hansen on 11/03/2014

On a couple of Windows 8 computers I have seen the issue where I receive only white screen when someone shares their desktop with me in Lync 2013.

This applies to

  • Fresh installed Windows 8 computer
  • One year old Windows 8 computer
  • Lync Peer to Peer collaboration
    • The issue is consequent so it is not a specific deployment issue
  • Lync conference
    • All other attendees can see the screen fine so it is not an appsharing issue
  • The issue is client related so it will be present for Lync Online as well as Lync on-premises

The experience

Read the rest of this entry »

Posted in Lync Server 2013, Troubleshooting | Tagged: , , | Leave a Comment »

Some notes from #LyncConf14

Posted by Ståle Hansen on 25/02/2014


So the Lync Conference 2014 is over. And man did I have a blast attending :) The conference was held in Las Vegas and hosted at the Aria hotel and Casino. The venue suited the conference well where the expo area and breakout sessions where not far from each other. Here is some comments on my experience, it is really a small part of the entire conference and the expo floor was huge. These are my highlights

The Keynote

  • Watch the keynote here:
  • My main takeaway from the keynote is
    • Updates happens faster now and a lot of new features are released in Cumulative Updates
    • The product evolves more than having big revolutions like what you had between OCS and Lync
    • Lync for Enterprise Voice is now mainstream and Gurdeep stated its the #1 choice for voice deployments
    • There where no big news regarding future features, those that made an impression where
      • P2P Video with Skype, coming summer 2014
        • Will be available of existing Skype integrations, no need for a version next server
      • Lync Mobile for Android Tablets
        • Will be tested on a subset of tablets and made available for all tablets on Google Play
      • Third party video endpoints will be able to join Lync meetings
        • This will be possible due to a new role in Lync version next
        • Jamie disclosed on The UC Architect live recording we did that it will be like a mediation role
          • Can be collocated on FE or installed on a separate server
        • The capability is video, application sharing from Lync is not in the roadmap
        • I am looking forward to play with this role and I am excited to see how third parties like Pexip and Acano can work with this role and add their existing features like application sharing into a Lync meeting
      • jLync, web based Lync API to create full featured Lync clients for websites
        • Lots of customers are going to look into this
        • Will require the same plugin as the Lync Web App
        •  jLync Proper Name Should Be Universal Communication Javascript API or UCJA
    • Microsoft wants to take UC to the next level and renames it to Universal Communication where the phone knows who you are going to call next based on the people you have recently lynced, looking forward to how that will manifest in future iterations of UC

The UC Architects Live Recording

  • We did a live recording of the UC Architects Podcast where Jamie Stark and Lauren Husum from Microsoft attended
  • Great dialogue and a good take on the conference
  • Go check it out at

My Level 400 session on Lync Phone Number Management in Lync Server 2013

  • I had a great time talking phone number management in Lync
  • I took part in launching to collect phone number management tips and scripts in preparation for the talk
  • Got some great feedback from my talk and it is available to attendees for download today
  • All sessions will be available to the public around may
  • I really recommend watching all the level 400 sessions, the product has been around for over a year and it shows in the depth of these highly technical sessions
  • Below is some pictures from my experience of the conference
  • Thanks to all who attended my talk!

Cool Pictures


Posted in Lync | Tagged: , , | 1 Comment »


Posted by Ståle Hansen on 16/02/2014

LyncPSI have teamed up with Lync Professional Lasse Nordvik Wedø in order to help administrators all over the world get a solid grip on their numbering plans within a Lync deployment.

We have separately developed scripts and techniques to cope with ours (and our customers’) numbering plans in Lync deployments with Enterprise Voice Enabled.

Attacking the challenges from two different perspectives, we realized our scripts and thoughts were complementing each other.

To help others, we have decided to launch a dedicated site to the subject, called “”. Under this umbrella we will keep updating the scripts (posted on the Technet Gallery), sharing tips on how to use them, explaining the different parameters in use and other tips and techniques we come along in our deployments.

At launch, there will be three scripts in the “toolbox”: Get-UnusedNumbers, Get-assignedlineuri and Search-LineURI. But who knows what we will end up with.

I will demo these scripts on my level 400 talk at Lync Conference 2014 in Las Vegas. Check out and sign up for my session:

From here on, I will only post brief updates about these scripts on this blog, but post in-depth and practical information over at

So head on over to the new site, to get a grip on the possibilities and give feedback

Posted in Lync Server 2013 | Tagged: , , | 1 Comment »

Slides from my NICconf 2014 talks are online

Posted by Ståle Hansen on 22/01/2014

nic2013This year I had the honour to talk at the Nordic Infrastructure Conference (NIC) 2014 in Oslo, Norway. This is a great conference getting more traction in the market with A list speakers like John Craddock, Johan Arwidmark and Wally Mead. MVP Justin Morris and I had two Lync talks each. Below you can download my slides and read the key takeaways from my sessions. Sadly there where no recording this year, hope they will have the capaticy to record sessions next year.

The crowd at NIC really loved Lync :)


Understand how Lync integrates with Exchange

  • Session Objectives:
    • How Lync access Exchange
    • Why Integrate
    • Lync and Exchange in Hybrid scenarios
  • Key Takeaways
    • Exchange autodisover needs to be configures with Lync in mind
      • Lync use DNS-based discovery method, not SCP record as Outlook does
      • Use DNS A Record for
        • SRV is supported, but not recommended
        • Multidomain? Use HTTP redirect
      • Publish using NTLM, no pre-authentication
        • For EWS and autodiscover
        • This avoids authentication pop-up for EWS
    • Some features are not available with Exchange Online
      • UCS and book meetings in Exchange Online OWA is not available when you have Lync on-premises with Exchange Online

View and download the slides from SlideShare

Understand Lync Video and Interop

  • Session Objectives:
    • What’s new in Lync 2013 Video
    • Lessons learned with Lync Room System (LRS)
    • Latest news in Lync video interoperability
  • Key Takeaways
    • SVC is the new video codec, RTV is legacy
    • Pexip and Acano solves desktopsharing in interop scenarios
      • RDP to Pexip and Acano, presentation video codec to VC

View and download the slides from SlideShare

Posted in Lync Server 2013 | Tagged: , , , | 2 Comments »

Dial-in Conferencing in Lync now just requires Enterpreise CAL

Posted by Ståle Hansen on 20/12/2013

Some time ago the CAL licensing for dial-in conferencing was changed. The change is that for users to be able to invite to a Lync meeting where users are able to dial in from a phone or a mobile now just require that this user has an enterprise CAL. Earlier the users that could invite to such meetings needed to have plus CAL in order to do this. The scenario is that users now can invite to a phone conference without being enabled for Enterprise Voice which requires Plus CAL. This is ofcourse policy controlled on the Lync server and has always been possible, but not from a licensing perspective.

Figure 1: Dial-in Conferencing in Lync


New or Improved

Standard CAL

Enterprise CAL

Plus CAL

Initiate an   impromptu (ad-hoc) multiparty (3+ users) meeting with audio and video   (including dial-out to PSTN or PBX users) Improved  

Initiate an   impromptu (ad-hoc) multiparty (3+ users) meeting with audio (including   dial-out to PSTN or PBX users) Improved    

Schedule and   invite attendees to meetings with audio (including dial-out to PSTN or PBX   users and hosted audio conferencing features), video, web conferencing and   content sharing Improved  

Automatically   join meeting audio from PBX or other phone number Improved  

Enable use of   Lync Room Systems New

Posted in Lync Server 2013 | Tagged: , , | 5 Comments »

Speaking at Lync Conference 2014 about Phone Number Management in Lync Server 2013

Posted by Ståle Hansen on 18/12/2013

I’m happy to announce that I will be speaking at the Lync Conference 2014 in Las Vegas 18-20 February. The topic is Phone Number Management in Lync Server 2013 and I will share my experience from the many Lync Enterprise Voice projects I have been involved in, both for Norwegian and global companies. The session will be level 400 (technical session) starting with an in-depth insight into how to manage Phone Numbers, then a walkthrough on how you can use Get-UnusedNumbers PowerShell script that I have developed and look at other tools that you can benefit from in your administration workflows.

There is one thing to deploy numbers for users, but there is a whole other process needed for maintaining available numbers in a day-to-day administration process. This will be the main focus for the this session. So if you want learn more about Phone Number Management in Lync Server 2013 I hope to see you in Vegas.



Level: 400
Abstract: Ståle Hansen, the creator of Get-UnusedNumbers PowerShell script, walks through how phone number management is done throughout different Lync deployments. The session will start with some of the basics and will quickly move over to more advanced scripting and tools that can be utilized in user creation workflows and user management scenarios. Be sure to attend this session if you want tips on phone number management in your environment or customer deployments.

I want your input on the subject

The goal for the session is to give the audience the best view, and the most complete, overview on how to handle phone numbers in a Microsoft Lync 2013 environment.

I want to hear from the community how you handle phone numbers in your Lync environment, in your organization and/or in your customer’s deployments. Is it through Excel spreadsheets, manually, PowerShell scripts? I would love to use your feedback to improve the session. Please reply to this post, contact me directly or send me a tweet about how you resolve this scenario. I hope for good response and thank you in advance :)

Posted in Lync Server 2013 | Tagged: , , | 1 Comment »


Get every new post delivered to your Inbox.

Join 58 other followers

%d bloggers like this: