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

Run the UniFi controller as a Windows service

Readers will learn how to run the UniFi controller software as a Windows service.

Windows services are often useful since they are “background” applications which don’t require any attention on the part of the end-user. In this way, the service will launch upon startup, without any intervention on the part of the user.

The steps to enable this service are outlined below:


  1. Close any instances of the UniFi software on the controller
  2. Open the command prompt as an Administrator
  3. Locate the java installation directory.
    Java 7 is usually found at “C:\Program Files\Java\jre7\bin”;
    Java 8 has a symbolic link, which is already added to PATH, so you should be able to skip step 4.
  4. Add the dir above to the PATH (as seen under Computer->Properties->Advanced system settings)
  5. Run Command Prompt as an Administrator, then change directory to the location of UniFi in your computer, using the command “cd”
  6. Andy’s tips: if you are following the default installation location, you can use this one line: “cd “%userprofile%\Ubiquiti UniFi”
  7. Type “java -jar lib\ace.jar installsvc

If you are using Windows x64 please install both the x86 AND the x64 version of Java otherwise the service will not properly start. Make sure to define both x86 and x64 paths in environmental variables too. See THIS page for download details.

When upgrading the service first run “java -jar lib\ace.jar uninstallsvc” (may vary depending on where you run command from) to remove the old the service. Update the UniFI controller. After the update is complete, run “java -jar lib\ace.jar installsvc” to install the service for the updated controller instance.

If you simply stop the service, then start the service you will have duplicate services running. 

Video tutorial


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

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

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.