We are moving to Office 365 (in one batch). What needs to be done to an existing installation of AgendaX V6.x?

We are moving to Office 365 (in one batch). What needs to be done to an existing installation of AgendaX V6.x?

You will need to uninstall MAPI/CDO (Exchange Server MAPI) and install an Outlook 32bit client (Outlook 2013 or higher) on the AgendaX server. Also, the AgendaX mailbox needs to be migrated to Office 365 first, before you start migrating user mailboxes.

Then,

  • Log in on the AgendaX Server with the AgendaX user. This is VERY important because Outlook profiles are user specific.
  • Run Regedit and make sure that there is no value called MapiHttpDisabled under
  • HKEY_CURRENT_USER\Software\Microsoft\Exchange or that its value is set to 0.
  • Outlook 2013:
    • Run Regedit, go to HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Cached Mode
      and add a value called AllowAutoDiscoverForNonOutlook and set its value to DWORD 1.
    • Make sure that KB3114941 for Office 2013 32bit (https://support.microsoft.com/en-us/kb/3114941)
      is installed.
    • Add the following parameter to AgentX.ini:
      [Config]
      ForceIExchangeManageStoreEx=1
  • Outlook 2016:
    • Run Regedit, go to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Cached Mode and add a
      value called AllowAutoDiscoverForNonOutlook and set its value to DWORD 1.
    • Make sure that KB3115279 for Office 2016 32bit (https://www.microsoft.com/en-us/download/details.aspx?id=53200)
      is installed.
    • Add the following parameter to AgentX.ini:
      [Config]
      ForceIExchangeManageStoreEx=1
  • Outlook 2019 / Office 365:
    • Run Regedit, go to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Cached Mode and add a
      value called AllowAutoDiscoverForNonOutlook and set its value to DWORD 1.
    • Add the following parameter to AgentX.ini:
      [Config]
      ForceIExchangeManageStoreEx=1
  • Then, create the Outlook profile and make sure that Exchange Cache mode is disabled in the Outlook profile. Enter the Outlook profile name (either in AgendaX Setup if you are setting up a new instance of AgendaX or in AgendaXCfg.exe (under MSX Version / Outlook MAPI Client / Outlook Profile Name), if AgendaX is already installed. The Standard- Name for the first Outlook- Profile that is configured is ‘Outlook’.
  • Start Outlook with that profile and make sure that the profile works. When you are prompted for a password, make sure to check the ‘Remember password’ checkbox.
  • Finally, close Outlook and restart the AgendaX Update Service

The permissions on Office 365 have to be set a bit differently than in an On Site Exchange environment. On Office 365, you will have to set permissions on folder level:

Please give the AgendaX user Reviewer rights on the top of the mailbox and the Inbox, and Editor rights on the Calendar folders.

The following, language-independent Powershell script will do this for you. You will have to initiate a remote Powershell session first with O365, using the Get-Credential, New-PSSession and Import-PSSession commands. Replace “agendax” on the 3rd line in the following script with the name of your O365 AgendaX account:

foreach ($Mailbox in (Get-Mailbox -ResultSize Unlimited))
{
  $AgendaXAccount = "agendax"

  $InboxStat = Get-MailboxFolderStatistics -Identity $Mailbox -FolderScope Inbox
  $InboxName = "$($Mailbox.PrimarySMTPAddress)" + ":\" + "$($InboxStat.Name)"
  $CalendarStat = Get-MailboxFolderStatistics -Identity $Mailbox -FolderScope Calendar
  $CalendarName = "$($Mailbox.PrimarySMTPAddress)" + ":\" + "$($CalendarStat.Name)"

  Write-Host "Applying permissions to mailbox: $($Mailbox.Name) (TOIS/$($InboxStat.Name)/$($CalendarStat.Name))"

  $AccRightTOIS = Get-MailboxFolderPermission -identity $Mailbox.PrimarySMTPAddress -user $AgendaXAccount >$null 2>&1
  $AccRightInbox = Get-MailboxFolderPermission -identity $InboxName -user $AgendaXAccount >$null 2>&1
  $AccRightCalendar = Get-MailboxFolderPermission -identity $CalendarName -user $AgendaXAccount >$null 2>&1

  If ($AccRightTOIS.AccessRights -ne "Reviewer") {Add-MailboxFolderPermission -identity $Mailbox.PrimarySMTPAddress -AccessRights Reviewer -User $AgendaXAccount >$null 2>&1}
  If ($AccRightInbox.AccessRights -ne "Reviewer") {Add-MailboxFolderPermission -identity $InboxName -AccessRights Reviewer -User $AgendaXAccount >$null 2>&1}
  If ($AccRightCalendar.AccessRights -ne "Editor") {Add-MailboxFolderPermission -identity $CalendarName -AccessRights Editor -User $AgendaXAccount >$null 2>&1}
}

Please see also the following document: AgendaX Installation Guide V6.1

Contributions related to the subject

Would you like to write a guest post?
Please contact us.