Skip to main content

Posts

Showing posts with the label Organisaton Data

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

How to block employee access to Office 365 data

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