Office 365 Convert Regular to Shared Mailbox & Setup Mail Forwarding

Is someone left from your office?

Here is the best practice to do with their mailbox.

With Office 365, we can take advantage of keeping inactive users in the cloud without affecting our quota without any license required.

  1. Go to Admin centers -> Exchange
  2. At the Exchange admin center dashboard, go to recipients -> mailboxes
  3. Click on target user’s mailbox, and select Convert to Shared Mailbox
  4. Go back to Office 365 Admin center, go to Users -> Active users -> click on target user’s mailbox, and remove the license.

Set up email forwarding by going back to Exchange admin center, go to mail flow:
On rules, click + sign to create a new rule, name it: Sent to ‘target.user@saputra.ch’, *Apply this rule if… [The recipient is…] Target user’s name, *Do the following… [Redirect the message to…] Destination user’s name. Let ‘Audit this rule with severity level: Not specified’ ticked, and leave the mode for the role to be ‘Enforce’. Click Save to create the forwarding rule.

If you are managing your own Office 365 licenses, you can decrease the license to minimalise the bill:
Go to Office 365 Admin center -> Click on Billing -> Subscriptions

Remove / Purge Deleted Users from Office 365 Admin

You can run the command via AD PowerShell directly:

$msolcred = get-credential
connect-msolservice -credential $msolcred

To purge the deleted user accounts:

get-msoluser –returndeletedusers -maxresults 100000 | remove-msoluser -removefromrecyclebin -force

Add Full Access Mailboxes with Outlook Auto-Mapping Disabled

In Exchange 2010 Service Pack 1 (SP1) Exchange introduced a feature that allows Outlook 2007 and Outlook 2010 clients to automatically map to any mailbox to which a user has Full Access permissions. If a user is granted Full Access permissions to another user’s mailbox or to a shared mailbox, Outlook automatically loads all mailboxes to which the user has full access.

Use these commands to load the Exchange Online cmdlets:

$UserCredential = Get-Credential

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

Import-PSSession $session

This example grants the user Andy full access permission to Thirza’s mailbox and disables the auto-mapping feature.

Add-MailboxPermission -Identity thirza@saputra.local -User andy@saputra.local -AccessRight FullAccess -InheritanceType All -Automapping $false

Another example, to add full access permission for Leah to Dave’s mailbox, type the following command:

Add-MailboxPermission -Identity dave@saputra.local -user leah@saputra.local -accessrights Fullaccess -AutoMapping:$false

Refer this link for more information.

Best practice to Share Office 365 Calendar from Outlook

Here is the proper way to do a Calendar Sharing in Outlook (Including How to delegate access properly)

File -> Account Settings -> Delegate Access -> Add (‘Person Name’) -> Calendar (Select desired access level)
On the other side, open up Calendar -> Open Shared Calendar -> Enter (‘Person Name’) -> Open.
This might works on Exchange too, but we never tried with this way.

Manual Delta & Full Sync between AD & Office 365

How to do manual synchronise between Active Directory DIRSYNC and Office 365 using PowerShell?

Open up Windows PowerShell, and then invoke the following command:

FinishedPS C:\Program Files\Microsoft Azure AD Sync\Bin> .\DirectorySyncClientCmd.exe delta
saputra.local

Initializing
Importing………………
Synchronizing from all Sources.
Synchronizing from Target.
Exporting to Target………………..
Exporting to all Sources
FinishedPS C:\Program Files\Microsoft Azure AD Sync\Bin> .\DirectorySyncClientCmd.exe initial
saputra.local

Initializing
Importing…….
Synchronizing from all Sources
Synchronizing from Target.
Exporting to Target………………….
Exporting to all Sources
FinishedPS C:\Program Files\Microsoft Azure AD Sync\Bin>

‘Delta’ is for delta sync, while ‘Initial’ will do full synchronisation.