Posts

Showing posts from December, 2016

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

Restore data for a deleted office 365 user

Image
We need to create a New user and assign it a Exchange online licenses and let the mailbox be provisioned. Once the Mailbox is created for the new user, proceed further. Connect PowerShell to Exchange Online using below command: $LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri  https://outlook.office365.com/powershell-liveid/  -Credential $UserCredential -Authentication Basic –AllowRedirection Import-PSSession $Session Then checked the old (deleted) user in Soft Delete Get-Mailbox –SoftDeletedMailbox  (check for the deleted user) Get-mailbox –SoftDeletedMailbox –Identity “Name of the mailbox” | fl *guid* Copy the GUID (not Exchange GUID) in a notepad (1) Get-mailbox –Identity “Email address of the new user” | fl *guid* Copy the GUID (2) Following command will copy the old mailbox’s email to the new mailbox. New-MailboxRestoreRequest -SourceMailbox "GUID (1)" -TargetMailbox "GUID (2)" -Tar

Advance Threat protection - Safe Attachment

Image
While Showcasing the ATP features to a client in a POC i noticed the following. ATP - Safe Attachment rule is set as Replace - Block bad attachment and continue to deliver the mail. However the Mail is not delivered it is deleted completely. Solution  Go to Exchange Admin Center > Protection > Malware Filter By default the Malware Policy is set to delete the entire mail if something is found as malware in the mail or attachment. Edit your Default policy. 1. Change the Default Setting to - Delete attachment and use default alert text or Custom Alert "depending on your requirement. In my case i had kept as default alert text. 2. You can also customize the Notification too.  3. You can also set the settings so that it will notifies the sender and sender for the undelivered of the Mail. 4. A notification about the same can be sent to the Admins too, you can use default or costume alert type too. (This will send a intimation to the adm

How to block employee access to Office 365 data

Image
"What do I do to protect data when an employee leaves the organization?" and "How do I block a former employees access to Office 365 after they leave?" IMPORTANT:  The steps in this article are for Office 365 Business Essentials, Office 365 Business Premium and Office 365 Enterprise. A quick overview of the of the process looks like this: Block employee access to Office 365 data. (Optional) Get access to the data of the former employee. (Optional) Send the former employee's email to another employee. Delete the former employee's user account. IMPORTANT:  You need to be a member of the Office 365 global admin role to perform the steps in this topic. Make sure the user that performs these steps has the right permissions to complete these steps. Block employee access to Office 365 data The first thing you'll want to do is block the former employee from logging in and accessing Office 365 data. There are a few steps you