Disable Skype for Business IM History

What is Skype for Business IM?

Skype for Business IM is an efficient way to connect with your coworkers in real time. Instant Messaging is much faster then a formal email or a phone call. You can send and receive IM from anywhere in Skype for Business based on your company federation policies and improve employees productivity.

Skype for Business stores the IM history in outlook client (Exchange Mailbox) under Conversation History folder that you can use to search for previous conversations when and if required. Recently i came across a scenario where i was being asked to disable the Skype for Business IM history in Office 365. This was the first time I heard such request from customer. I thought to share the steps with the community for their reference if they come across such scenario.

Note: I do not recommend to disable Skype for Business IM history. You can use IM history for future reference purpose or compliance reasons if required.

Disable Skype for Business IM History

To disable Skype for Business IM History, follow the instructions mentioned below.

  • Run Windows Azure PowerShell as Administrator
  • Import LyncOnlineConnector Module

Disable Skype for Business IM History

You need to download and install Skype for Business online module before you run the Import cmdlet. The module can be downloaded from Microsoft

  • Connect with Skype for Business online. When prompted enter the global admin credentials of Office 365

Disable Skype for Business IM History

  • Run the cmdlet > $CSSession = New-CsOnlineSession -Credential $cred

Disable Skype for Business IM History

  • Run the cmdlet to import Skype for Business online session “Import-PSSession $CSSession -AllowClobber

Disable Skype for Business IM History

  • Review the CsClientPolicy that has IMAutoArchiving and CallLogArchiving enabled
    • Get-CsClientPolicy | Where-Object {$_.EnableIMAutoArchiving -eq $False -and $_.EnableCallLogArchiving -eq $false}
  • Modify the CsClientPolicy to disable Skype for Business IM History
    • Grant-CsClientPolicy -policyname tag:ClientPolicyNoSaveIMNoArchivingNoIMURL –Tenant “TenantGUID”
  • Once you run the command, it takes about 4-6 hours to apply the policy. The last command will disable IM Archiving history for your tenant, so all the domains in the tenant and all users under all domains would get this policy applied.

Conclusion

Disabling Office 365 Skype for Business IM history is not recommended as this can cause compliance issues for the organization. Office 365 Security and Compliance center provides you the capabilities to search the IM history for compliance reasons as well. If your organization performs frequent eDiscovery and has compliance requirements than it’s not advisable to disable Skype for Business IM. I have seen this a rare case where i was being asked to disable Skype for Business IM history.

2 comments