Forum Discussion
Office365 - Conversation History
- Feb 15, 2018
Hi Craig, you will need to modify the existing SfBO Client Policy that is assigned to that user, or create a new SfBO Client Policy and assign it to that user (performed through PowerShell).
The two settings you need to set within that client policy are;
1.) EnableCallLogAutoArchive $False
2.) EnableIMAutoArchive $False
Both of these are enabled by default in the SfBO default Client Policy, but changing them to false will fix your problem.
Kind regards
Ben
You'll need to manage the policy directly in O365 I'm afraid blue-man. Client policies are relative to where the user is homed, so on-premises client policies can't be applied to users that are homed in SfBO.
Kind regards
Ben
- blue-manFeb 16, 2018Iron Contributor
Thank you Ben and I made sure I got your name right this time : )
- Ben DonaldsonFeb 16, 2018Iron Contributor
No problem... sorry it's resulted in more work!
- blue-manFeb 19, 2018Iron Contributor
Hi Ben,
OK, so I have the following script ready.
$credential = Get-Credential
$Session = New-CsOnlineSession -Credential $credential
Import-PSSession $CSSession -AllowClobber
Get-CsClientPolicy | Where-Object {$_.EnableIMAutoArchiving -eq $False -and $_.EnableCallLogArchiving -eq $false}
set-CsClientPolicy -Identity Global -EnableIMAutoArchiving $false
set-CsClientPolicy -Identity Global -EnableIMAutoArchive $false
I picked up the script above from another thread that I have seen. A couple of questions:
1. Why is this part of the script needed? I have ran it on its own and it returns no results I have also ran it with the options set to $True and the command also returns no results.
Get-CsClientPolicy | Where-Object {$_.EnableIMAutoArchiving -eq $False -and $_.EnableCallLogArchiving -eq $false}
2. If I run Get-CsClientPolicy the command returns severeal policy including the global policy. For example, policies named like Tag:ClientPolicyNoSaveIMNoArchivingNoIMURL and ClientPolicyNoIMURL.
I presume by using -Identity Global this will apply the changes to all policies?