Logo
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
PREGNANCY
 
 
Windows Server

Microsoft Lync Server 2010 Front End : Administration & Troubleshooting

8/17/2011 5:52:54 PM

Administration

This section reviews common administration tasks for Lync Server. The focus is primarily on the use of the PowerShell-based Management Shell. The most common administrative function is enabling a user for Lync Server. For example, to enable the user Rand Morimoto with the SIP address of rand@companyabc.com, you use the following command:

Enable-csUser –Identity "Rand Morimoto" –RegistrarPool
"cspool.companyabc.com" –SIPAddress "sip:rand@companyabc.com"

This example explicitly specifies the SIP address to be used. Lync Server can also automatically generate the address using the SIPAddressType parameter based on a number of options including first.last name (firstLastName), email address (emailaddress), UPN (userPrincipalName), and SAM account name (SAMAccountName). This is helpful when enabling a large number of users and when specifying the actual SIP address isn’t practical. To enable a user with a SIP address that is his email address, use the following cmdlet syntax:

Enable-csuser –Identity <user Identity> -RegistrarPool <front end
pool FQDN> -SIPAddressType EmailAddress

Obviously, enabling a user can also be done in the Lync Server Control Panel. However, it’s often faster to simply use the management shell.

Let’s look at a more traditional PowerShell concept applied to Lync Server: the Get-CsUser and Get-CsAdUser cmdlets. On the surface, you might think these cmdlets are almost identical; however, that is not the case. They are actually different. The biggest difference is that Get-CsUser returns results only for Lync Server–enabled users. So, if users are currently enabled or the Identity parameter is specified to be a nonenabled user, the cmdlet won’t return any data. Get-CsAdUser returns data for both enabled and nonenabled users.

That leads to the question, “Why not use Get-CsAdUser all the time?” The answer is the cmdlets return different information when used appropriately. Table 1 displays the attributes returned by each. As you can see, Get-CsAdUser returns general Active Directory information, whereas Get-CsUser returns Lync Server-specific information. There is a small bit of overlap, but only where Lync Server references a generic Active Directory field.

Table 1. Information Returned by Get-CsUser and Get-CsAdUser Cmdlets
Get-CsUserGet-CsAdUser
 AddressListMembership AltSecurityIdentities
ArchivingPolicy 
 Assistant
AudioVideoDisabled 
 City
ClientPolicy 
ClientVersionPolicy 
 Company
ConferencingPolicy 
 CountryAbbreviation

CountryCode

CountryOrRegionDisplayName
CSEnabledCSEnabled

Department

Description
DialPlan 
DisplayNameDisplayName DistinguishedName
 EmployeeId
EnabledForRichPresence

EnterpriseVoiceEnabled

ExternalAccessPolicy
 
 Fax

FirstName

Guid

HomePhone
HomeServer

HostedVoiceMail

HostedVoicemailPolicy

HostingProvider
 
 Id
IdentityIdentity

Info

Initials
IPPBXSoftPhoneRoutingEnabled 
 IPPhone

IsValid

LastName
LineServerURI 
LineURI 
LocationPolicy 
 Manager

MiddleName

MobilePhone

Name

ObjectCategory
 ObjectCategoryCN

ObjectClass

ObjectState

Office

OriginatingServer
OriginatorSid 
 OtherFax

OtherHomePhone

OtherIPPhone

OtherMobile

OtherPager

OtherTelephone

Pager

PasswordLastSet

Phone
PinPolicy 
 PostalCode

PostOfficeBox

PreferredLanguage
PresencePolicy 
 PrimaryGroupId
PrivateLine 
 ProxyAddresses
RegistrarPool 
RemoteCallControlTelephonyEnabled 
SamAccountNameSamAccountName

Sid

SidHistory
SipAddressSipAddress

StateOrProvince

Street

StreetAddress
TargetHomeServer 
TargetRegistrarPool 
TenantIdTenantId

Title

Url

UserAccountControl
UserPrincipalNameUserPrincipalName
VoicePolicy 
 WebPage

WhenChanged

WhenCreated

WindowsEmailAddress

Troubleshooting

As with previous versions of Communications Server, there are two major gremlins with the Front End role: certificates and DNS. The new Deployment Wizard takes most of the guesswork out of certificate generation by automatically filling the SAN fields with the appropriate FQDNs for a given deployment. However, in more complex environments manual configuration might be necessary.

The added convenience of the Deployment Wizard doesn’t lessen the importance of certificates. They are still core to all server and server-client communications. DNS, on the other hand, is not automated. For each pool created, the administrator needs to create an A record for each pool pointing to the load-balanced VIP for multiple-server pools or to the front end IP address for single-server pools.

The Lync Server event log is also a good place to check for errors. From the Start menu, select Administrative Tools, and then select Event Viewer. Expand the Applications and Services Logs item and select Lync Server. All events related to Lync Server functions reside here. Often, the error description is enough to identify the problem and make clear the resolution.

Other -----------------
- Microsoft Lync Server 2010 Front End : Configuration
- Microsoft Dynamic NAV : Rapid Implementation Methodology
- Managing stylesheets in Dynamics NAV
- Exchange Server 2010 : Mastering Mobile Device and Wireless Access Essentials & Mastering Remote Mail and Outlook Anywhere Essentials
- Exchange Server 2010 : Managing Mobile Messaging Users - Mastering Outlook Web App Essentials
- Microsoft SQL Server 2008 Analysis Services : Designing More Complex Dimensions - Grouping and Banding
- Microsoft SQL Server 2008 Analysis Services : Building a Simple Cube
- Migrating to Windows Small Business Server 2011 Standard : Preparing Your Server (part 4) - Running the Migration Preparation Tool
- Migrating to Windows Small Business Server 2011 Standard : Preparing Your Server (part 3) - Best Practices Analyzer & Optimize Exchange Mailboxes
- Migrating to Windows Small Business Server 2011 Standard : Preparing Your Server (part 2) - Install Router, Firewall & Configuring Active Directory
- Migrating to Windows Small Business Server 2011 Standard : Preparing Your Server (part 1) - Network Configuration
- Microsoft Dynamics CRM 2011 : Adding Target Products and Sales Literature
- Microsoft Dynamics CRM 2011 : Selecting Target Marketing Lists
- Windows Server 2008 R2 : Administer Group Policy (part 2) - Use the Group Policy Management Editor
- Windows Server 2008 R2 : Administer Group Policy (part 1) - Use the Group Policy Management Console
- Microsoft Dynamics AX 2009 : The MorphX Tools - Table Browser Tool & Find Tool
- Microsoft Dynamics AX 2009 : The MorphX Tools - Visio Reverse Engineering Tool
- Windows Server 2003 : Planning Fault Tolerance and Avoidance (part 2) - Disk Arrays
- Windows Server 2003 : Planning Fault Tolerance and Avoidance (part 1) - Protecting the Power Supply
- Windows Server 2008 Server Core : Creating System Connections - Communicating with Telnet
 
 
Most view of day
- Microsoft Exchange Server 2010 : Setting Up Transport Rules (part 3) - Selecting Actions
- Duplicating and Copying DVDs (part 1) - Duplicating DVD Movies
- Windows Phone 8 : Configuring Basic Device Settings - Providing Feedback
- Maintaining Windows 7 : Back Up Files
- Windows Server 2012 Group Policies and Policy Management : GPO Administrative Tasks - Troubleshooting Group Policies
- Securing Your SharePoint and Windows Azure Solutions : Configuring Shared Access Permissions for BLOB Storage - Using Certificate-Based Authentication
- Sharepoint 2013 : Service Application Fundamentals (part 1) - The Connection Structure -Service Application Groups
- Advanced Windows 7 Programming : Working in the Background - DEVELOPING TRIGGER-START SERVICES (part 3)
- Microsoft Systems Management Server 2003 : Configuring Software Metering (part 2) - Creating a Software Metering Rule
- Microsoft SharePoint 2013 : Working with Visio Services - Designing dashboards - Data linking (part 1) - Obtaining external data
Top 10
- Windows Phone 8 : Orientation and the PhoneApplicationPage Class - Setting Page Orientation at Runtime
- Windows Phone 8 : Orientation and the PhoneApplicationPage Class - PhoneApplicationPage Orientation Property
- Using the Windows 7 Libraries : USING THE EXPLORER BROWSER CONTROL (part 2)
- Using the Windows 7 Libraries : USING THE EXPLORER BROWSER CONTROL (part 1) - Adding the Explorer Browser to Your Toolbox , Configuring the Explorer Browser Example
- Using the Windows 7 Libraries : CONSIDERING USER-DEFINED COLLECTIONS
- Using the Windows 7 Libraries : USING NON-FILESYSTEM CONTAINERS
- Using the Windows 7 Libraries : WORKING WITH KNOWN FOLDERS
- Microsoft Exchange Server 2007 : Implementing Client Access and Hub Transport Servers - Installing the Hub Transport Server
- Microsoft Exchange Server 2007 : Implementing Client Access and Hub Transport Servers - Transport Pipeline
- Microsoft Exchange Server 2007 : Hub Transport Server Policy Compliance Features (part 4) - Message Classification , Rights Management and the Hub Transport Server
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro