Fix:The BPA cannot connect to VMM Management server

Hello there!

Everyone knows (I hope so) about Configuration Analyzer for System Center SP1.Previously, we had to download and use separate BPA analyzer for each SC component.But now, it’s the single model for testing System Center configuration. According with technet, main requirements are: Microsoft Baseline Configuration Analyzer 2.0 and operation system required for SC SP1. In my opinion, requirements are not accurate.

After successful installation BCA 2.0 and CA fo SC SP1 you can receive following errors:

The BPA cannot connect to the VMM management server __. Please start the service and try again

vmm_bpa_3

Cmdlet Invoke-MbcaModel reported warning …. cannot be loaded because running scripts is disabled on this system.

vmm_bpa_1

To fix errors you should run cmdlet Set-Execution:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

vmm_bpa_2

To prevent errors during analyzing remote servers:

Enable-PsRemoting -Force

So, additional requirements :

  • your system able to  receive Windows PowerShell remote commands that are sent by using the WS-Management
  • you can run downloaded powershell scripts by trusted publisher

Fix: Lync Address book cannot load phone numbers from Active Directory

Check if Invalid_AD_Phone_Numbers.txt contains errors

You can find this file in your Lync Share:

1-WebServices-1\ABFiles0000000-0000-0000-0000-0000000000000000000-0000-0000-0000-000000000000

If Address book cannot add some contacts you may see the following error :

Unmatched number: User: ‘sip:lynctest@contoso.com’  AD Attribute: ‘telephoneNumber’  Number: ‘6567’

To fix this error, we need to create a normalization rule for numbers 6xxx, these rules are stored in a text file called Company_Phone_Number_Normalization_Rules.txt which is stored in the 1-WebServices-1\ABFiles\

NOTE: You should create Company_Phone_Number_Normalization_Rules.txt manually

Lync uses this file to convert phone numbers into E.164 format. In my example, ‘#’ = comments;  ^(6\d{3})$ and $1 = normalization rule for 6xxx phone numbers . So, add your normalization rules and save file.

Sample of Company_Phone_Number_Normalization_Rules.txt:lync_contacts_2

To verify your rules you must use abserver.exe utility

Set-Location 'C:\Program Files\Microsoft Lync Server 2013\Server\Core'
.\ABServer.exe -testphonenorm "3456"

lync_contacts

After successful verification you should update your address book:

Update-CsAddressBook -Force