Synthetic Transactions Accounts Configurations for Lync


This is a quick to the point post to show you the preparations needed to use the Test-CS PowerShell commands family.

you need to create and configure two accounts for synthetic transactions for Lync.

Creating Lync test accounts

First you need to create a couple of accounts on your Active Directory to use them with the Test-CS commands.

let’s say

after they have been created you need to disable both accounts on AD.disable AD account for testing lync

Enable Both account for Lync

enable the accounts on Lync and add DIDs to them if you going to use them for PSTN testing, also enable all required features you are going to want to test. e.g. conferencing , remote access….

Configure accounts for Synthetic Transactions

Here you need to run one PowerShell command line to configure the new two test users to be used in testing scenarios:

> New-CsHealthMonitoringConfiguration –Identity <poolName> –FirstTestSamAccountName <domain\first username> –FirstTestUserSipUri sip:”First User SipAddress” –SecondTestSamAccountName <domain\Second usernamet> –SecondTestUserSipUri sip:”Second User SipAddress”

so in my example it will be like following

> New-CsHealthMonitoringConfiguration –Identity <> –FirstTestSamAccountName lyncdude\lyncdummy1 –FirstTestUserSipUri sip:”” –SecondTestSamAccountName lyncdude\lyncdummy2–SecondTestUserSipUri sip:”

with this if you try to use any of the Test-CS commands , it will work.

you can test with this:

> Test-CSIM -targetfqdn “pool-name”

That’s it, you can use my Lync Environment Report script with this article to get a Simple daily report about your Lync environment.

Author: Lyncdude

A Senior Service Engineer with more than 9 years of experience in Microsoft Exchange and Microsoft Lync Server / Skype for Business. Egyptian guy lives and works in Frankfurt - Germany. what is written in this blog is my own opinion and thoughts, not my employer and does not reflect their opinion

2 thoughts on “Synthetic Transactions Accounts Configurations for Lync”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: