Lync 2010- Transfer to self failed

April 22, 2014 Leave a comment


        Anyone has been got the following diagnostic ID: “29113” with diagnostic header reason: “Transfer to self failed” as the information below shots while trying to make a Lync call from mobile device.





you just need to uncheck “Enable refer support” in Trunk Configuration section.

Voice Routing

Trunk Configuration


Categories: Lync 2010

Removing specific messages from your Exchange Server 2010

November 25, 2013 1 comment

In this article we will go through simple ways and steps for how to removing specific messages from your Exchange Server 2010.

In the business need you may face this case “someone have a permission to send message to all the organization, sent message by mistake to all and we need to know whom received this message and completely remove it from their mailboxes”

In fact we can perform this request by different ways:

  1. You can create transport rule to delete this message in Exchange 2010.
  2. Assigns the Full Access mailbox permission to the MyAdmin account and remove this message manually.
  3. Using EMS “Exchange Management Shell” to know who received this message and remove it from their mailboxes.

First and second ways not recommended for many reasons in addition to the need to know whom received this message as you can not get this info by this ways.

So we will talk about third one.


Make sure the account running the PS command has the appropriate permissions; you need to specifically have access to the New-MailboxImportRequest cmdlet. If you don’t have the correct permissions you will get an error “The term ‘New-MailboxImportRequest’ is not recognized as the name of a cmdlet”.

To add the permission run the following command:

New-ManagementRoleAssignment -Name “Import Export Mailbox Admins” -user “User Account” -Role “Mailbox Import Export”

Change User Account in the above cmdlet to the actual username

Using EMS “Exchange Management Shell” to know who received this message and remove it from their mailboxes.

{First}  If you just need to know who is received the message you can use the following command:

Get-Mailbox -Server ServerName -ResultSize unlimited | Search-Mailbox -Targetfolder “deleted items” -Targetmailbox “Mybackupmailbox” -SearchQuery ‘Received:11/24/2013 AND Subject:”Type Subject Here”‘ -loglevel full

Note: the result of this search will be send to the target mailboxMybackupmailbox” and you can determine mailbox for this reason or you can use your mailbox if you is the administrator and you will get a copy of this message under the target folderdeleted items” and also you can change it to be Inbox for example, also preferred to determine the date of this message that you look-up for, using the subject to determine the message subject and using Loglevel full to get attachment with the result details.


In the previous screen the ResultItemsCount refer to the number of the message founded in this user mailbox and the ResultItemsSize refer to the message size.

 {Second} To remove the message from mailbox server level use the following command:

Get-Mailbox -Server ServerName -ResultSize unlimited | Search-Mailbox -targetfolder “deleted items” -targetmailbox “Mybackupmailbox” -SearchQuery ‘Received:11/24/2013 AND Subject:”Type Subject Here”‘ -loglevel full -DeleteContent -force

Note: Also you can run this command on the Database mailbox level and user level.



In the previous screen you can find the search result with the attached result, the message size and items number that refer to my search matched with three mailboxes only or repeated on the same mailbox.


In the previous screen you can find the copy of message under the deleted items.


WARNING: Get-CsCertificate encountered errors.

November 10, 2013 Leave a comment

Are you facing this noise warning while you check your Lync certificate by “ Get-CsCertificate | fl –property * ”

WARNING: Get-CsCertificate encountered errors. Consult the log file for detailed analysis, and ensure all errors (1) and warnings (0) are addressed before continuing.

Capture2 (2)

you feel like Angry smile

Don’t worry my friend you can simply resolve it as the following:

1- Open your Lync server 2010 – Deployment wizard.

2- Choose Install or update Lync server system.

3- Choose Step3: Request, Install or Assign Certificates.

Capture3 (2)

4- Then Run Again or Run.

5- Choose the Certificate that have the issue it must be in none status.

Capture5 (3)

6- Then Click Assign and the choose the related certificate after next.

Capture4 (2)

7- Then Next and Done.Winking smile

Now try again to check the certificate by using the following command (Get-CsCertificate | fl –property *) from Lync powershell.

Capture6 (2)

Outlook’s "Blocks Sender" functionality and Exchange’s IMF stop working after installing Forefront Protection for Exchange

May 28, 2013 1 comment

Dear friends,

     May you face after installing Forefront Protection for Exchange, Outlook’s “Block Sender” does not work and Exchange’s IMF (Internet Message Filter) functionality fails to work as well.


The cause of that is by default when Forefront’s anti-spam agent deems a piece of mail as non-spam (clean) it sets the SCL rating of that specific message to 1. This has a negative effect on the Outlook “Block Sender” functionality, and Exchange’s IMF, because mail that receives a rating of SCL -1 will be exempt from Outlook’s Block Sender rule as well as Exchange’s IMF functionality.



The workaround is to edit the SCL value that Forefront Protection for Exchange applies to “clean messages”.

The following work around will change the Forefront Protection for Exchange SCL clean value to zero (0). This is done in Forefront’s Power Shell by creating a new extended option:
PS> New-FseExtendedOption –Name CFAllowBlockedSenders –Value true


PS> Get-FseExtendedOption –Name CFAllowBlockedSenders


This should return the following: CFAllowBlockedSenders   True

Now you can test your outlook after blocking someone what happen Smile

Categories: Exchange 2010

Time zone of SQL server Reporting services (SSRS) is inconsistent with the Time Zone of the Quality of Experience (QoE).

May 22, 2013 Leave a comment

Hi Dears simply when you face the mentioned Issue as the following figure screen while trying to open your Lync Monitoring console, just follow the following steps to resolve this issue.



1- Go to your SQL server that own Lync DB to open the QoE DB stored procedures as the following.


2- Then select the dbo.RtcClearTimeZoneInfo


3- Now make a new query to run it as the following.


Now the issue should be resolved clip_image005


Note: this issue may happen also with lcsCDR DB and the resolution the same just select dbo.RtcClearTimeZoneInfo  from lcsCDR DB.

How to Configure Lync On-Premise for Federation to Lync Online

May 19, 2013 1 comment

In this article I suppose that we finished the the Lync online external communication configuration, now we will go to touch on the Lync On-premise side.

As we know by default, Lync On-premise has three providers that Lync already provides federation with.


To add your Office 365 Lync Online, click the new hosting provider and add your Lync Online domain name as show in the screen below.


For those of lover use PowerShell, you can bypass the console and run the following command in the Lync Management shell:

New-CSHostingProvider -identity LyncOnline -ProxyFqdn -Enabled $True

If you have used the PowerShell method, refresh the Lync On-Premise Control Panel. Which ever method you use to add the provider, you should now see your new hosting provider.


Configure the Lync On-Premises Domain
Your Lync Server 2010 On-Premises environment must contain at least one Enterprise Pool or Standard Edition server and at least one Edge server.

1. Purchase a UC Certificate from a publicly trusted Certification Authority, such as DigiCert or VeriSign, configured as the example follows:

  • Subject Name: sip.Your
  • Subject Alternative Name(s): meet.Your,dialin.Your,webaccess.Your,sip.Your

2. Assign the new certificate to your Edge external interfaces, then restart services.

3. Create the required external DNS SRV and A records to support Lync On-Premises services with your DNS provider.
Type: SRV
Service: _sip
Protocol: _tls
Port: 443
Weight: 1
Priority: 100
TTL: 1 Hour
Name: Your
Target: sip.Your
Type: SRV
Service: _sipfederationtls
Protocol: _tcp
Port: 5061
Weight: 1
Priority: 100
TTL: 1 Hour
Name: Your
Target: sip.Your
Type: A (Host)
Target: < Access Edge External IP >
Type: A (Host)
Name: webaccess.Your
Target: <Reverse Proxy External IP>


Easy way to Export Default Global Address List CSV – Exchange 2010

May 19, 2013 5 comments

First from Actions Pane choose View to customize the results as you need.


Then choose Add/Remove columns to add or remove the columns as you want.



At the end from the action pane choose export and make the file type CSV instead of the default TXT Smile


Categories: Exchange 2010