Adding disclaimers to Online Meeting Invites

In order to add disclaimers to Online Meeting invites generated by the Online Meeting Add-in for Microsoft Lync 2010 you can use Transport Rules in Exchange. In my lab Iā€™m running Exchange 2010 SP1, but Transport Rules have been in Exchange since 2007.

I wanted to send the disclaimer Online Meeting disclaimer - The enemy listens :-) only to people within my organization and only for Online Meeting Invites generated by the Add-in. To that effect I test for MessageTypeMatches = Calendaring and that the message body contains the pattern ā€œ.....................ā€. The EMS command I use to create the Transport rule is below:

New-TransportRule -Name 'Online Meeting Invites' -Comments '' -Priority '0' -Enabled $true -SentToScope 'InOrganization' -SubjectOrBodyMatchesPatterns '.....................' -MessageTypeMatches 'Calendaring' -ApplyHtmlDisclaimerLocation 'Append' -ApplyHtmlDisclaimerText '<p><font style='background-color: #ff0000' size='3' face='Segoe UI'>Online Meeting disclaimer - The enemy listens :-)</font></p>' -ApplyHtmlDisclaimerFallbackAction 'Wrap'

The result in Outlook 2010 looks like this:

cap1