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

Forwarding to external users from office 365 mailbox


Forwarding for external users.
First ad the external user as a mail contact in office 365 through  office 365 portal.
Go to Exchange admin center https://outlook.office365.com/ecp
Go to recipients > Contacts > (+) Mail contact

Using PowerShell

New-MailContact -ExternalEmailAddress 'fafaW@externaldomain.com' -Alias 'fafaW' -FirstName 'test' -LastName 'test2' -Name 'test test2' -DisplayName ' test test2'

Create a Forwarding rule from user Mailbox.

Login to OWA > Settings > options > Mail > Inbox and sweep rules > Create new inbox rules (+)
If my Name includes in –(select the condition in TO or Cc Box)
Do the following
Forward , redirect, or send > forward the message to > select the contacts from your contact list or offline address book.

Creating forwarding rule through PowerShell

Forward Email to internal Recipient & save local copy

Set-Mailbox <Identity> -ForwardingAddress  <Office 365 User Email Address> -DeliverToMailboxAndForward $true

Forward Email to External Recipient & save local copy

Set-Mailbox  <Identity> -ForwardingsmtpAddress <External Recipient Email Address> -DeliverToMailboxAndForward $true

You can create a Transport rule too.

Go to Exchange admin center https://outlook.office365.com/ecp
Then to  Mailflow > Rules > (+)  create a new rule.

The recipient is...  is this person 'Mailbox'

*Do the following...

Bcc or cc the message to...  Select one 'Mailbox1' and '2 Mailbox' and '3 Mailbox' and 'New test'


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

Analyze Office 365 Message headers

Enforce MFA using CSV