Get All AIP encrypted files - SharePoint Online

One of the recent project merger and acquisition.  Technology - M365 tenant to Tenant migration Areas of consolidation 1. Mailboxes  2. SharePoint online data 3. OneDrive for Business data 4. Teams data migration 5. Security and Compliance Migration  Area of concern from security and compliance side was the encrypted files within EXO, SPO, Teams, ODB. Issue with encrypted data migration - end users will not be able to access the documents once the Source tenant is decommissioned.   Solution available -  Ask end users to unencrypt the data before migration  Alternet Solution - 1. Decrypt the files, mails using eDiscovery - This will give us output in PST format will is available for offline access, but the data in source will still be encrypted.  Decryption in eDiscovery - Microsoft Purview (compliance) | Microsoft Docs   2. Use Get-AIPfileLabel and Get-AIPFileLabel but in order to use this you must be aware of all the files paths.  Challenges -  1. We do not want end user intervention

Shared mailbox should keep a copy of sent items by its Member's Mailbox


 I understand that a mail sent from Shared mailbox should keep a copy of all emails sent by all members in its own Sent Items folder.


Note that the new shared mailbox sent items behavior is disabled by default and if Admins want it enabled, they can do so by using CMDlets mentioned below.


Connect office 365 to powershell

Run Windows PowerShell as an Administrator.

Set-ExecutionPolicy RemoteSigned

$cred = Get-Credential 

$ExchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid/" -Credential $credential -Authentication "Basic" -AllowRedirection

Import-PSSession $ExchangeSession


A copy of the sent mail will also reside in the Sent Items folder of the member’s personal mailbox.

Set-Mailbox -Identity [Shared Mailbox Identity] -MessageCopyForSentAsEnabled:$true -MessageCopyForSendOnBehalfEnabled:$true


A copy of the sent mail will not reside in the Sent Items folder of the member’s personal mailbox.

Set-Mailbox -Identity [Shared Mailbox Identity] -MessageCopyForSentAsEnabled:$true -MessageCopyForSendOnBehalfEnabled:$False




You can also refer to the below link for details.

Comments

Popular posts from this blog

Error - AttributeValueMustBeUnique in Azure AD connect sync

Error - QuarantinedAttributeValueMustBeUnique

Add members to office 365 Security Group Using PowerShell and CSV

Enforce MFA using CSV

Analyze Office 365 Message headers