Skip to main content

Posts

Restore data for a deleted office 365 user

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

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...