Synthetic Transactions Accounts Configurations for Lync

Howdy,

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

Lyncdummy1@lyncdude.net

Lyncdummy2@lyncdude.net

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 <lync-fe01.lyncdude.net> –FirstTestSamAccountName lyncdude\lyncdummy1 –FirstTestUserSipUri sip:”lyncdummy1@lyncdude.net” –SecondTestSamAccountName lyncdude\lyncdummy2–SecondTestUserSipUri sip:”lyncdummy2@lyncdude2.net

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 Microsoft Unified Communications Consultant 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. Worked Closely with Microsoft Dubai for 3 years designing , building and supporting Exchange and Lync Infrastructures. A Microsoft Certified ITP in Lync, Exchange and also attended Microsoft Partner Primer Filed Support Engineer T1 Training for Microsoft Lync 2010.

2 thoughts on “Synthetic Transactions Accounts Configurations for Lync”

Leave a Reply

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

WordPress.com Logo

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

Google photo

You are commenting using your Google 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