Recalculate Integrated Sentry Office 365 mailboxes

When Integrated Sentry syncs with Office 365, Integrated Sentry now automatically requests a recalculation of the mailboxes to set the HasActiveSyncDevicePartership flag correctly for mailboxes that should be synced. If a mailbox has an associated mobile device, the HasActiveSyncDevicePartership flag is set as true. Integrated Sentry syncs only mailboxes that have the flag set as true, and ignores mailboxes that have the flag set as false.

Integrated Sentry’s request for recalculating the mailboxes ensures that the HasActiveSyncDevicePartership flag is set correctly for all mailboxes.

Integrated Sentry ignores mailboxes that have the HasActiveSyncDevicePartership flag set as false, thus increasing the efficiency of the sync.

Recalculate mailbox states with Office 365

Migration from Exchange to Office 365

Managing the service account

Troubleshooting

Recalculate mailbox states with Office 365

To recalculate mailbox states, Integrated Sentry runs the following command from an authenticated PowerShell session connected to your Office 365 tenant:

"Get-CASMailbox -RecalculateHasActiveSyncDevicePartnership"

The recalculation should take no longer than a few seconds to run. Recalculate mailboxes with Office 365 is enabled by default. Administrative action is not required.

Migration from Exchange to Office 365

For devices migrating from Exchange to Office 365, the flag may be set incorrectly. Recalculating resets the flag to the correct value. In an environment in which mailboxes are gradually migrated to Office 365, the mailboxes will have to be regularly recalculated.

The recalculation runs in the background. Device users will not be impacted when mailboxes are recalculated. Administrative actions like adding and deleting mailboxes, and registering devices will not be impacted.

Managing the service account

The user account that you use to run the Integrated Sentry installer is also used by the Integrated Sentry service, which is a Windows service. If the user account needs a password change, make sure to update the service with the new credentials. Connectivity to Ivanti EPMM is not affected.

Procedure 

1. In the Windows Control Panel, select System And Security > Administrative Tools.
2. Double-click Services.
3. Double-click the Integrated Sentry service.
4. Select the Log On tab and change the password.
5. Click OK.
6. Right-click the Integrated Sentry service and select Restart.

Changing the user account itself can disrupt the service. Therefore, if you want to change the service user account, uninstall and reinstall the Integrated Sentry with the new account.

Troubleshooting

Integrated Sentry creates a log file called mi-logfile.txt. The log file is located in the Integrated Sentry’s installation directory, which you selected when running the installer. By default, the log file is in the following location:

C:\Program Files (x86)\MobileIron\MobileIron Integrated Sentry\mi-logfile.txt

Integrated Sentry errors also are reported in the Admin Portal under Services > Sentry, in the Error(s) field for each Sentry.

If reporting a problem to Technical Support, include the log file and the error message along with a description of the problem.