Hosted Exchange Environments

Hosted Exchange Environments

AgendaX works installed on a server of your Exchange provider, or installed on your local network. Most probably, your Exchange Hosting provider will not let you install anything on his servers. In this case, you can install AgendaX on your local network. On the AgendaX Server computer, install Outlook 2013 or later instead of the MAPI download. Then, create a mailbox (e.g. 'AgendaX'), and give this mailbox the following permissions on every mailbox that you want to read and publish with AgendaX:

  • Rewiewer rights on the top of the mailbox (in some Outlook versions called 'Outlook Today') and on the Inbox
  • Editor rights on the Calendar folder

The following EMS scripts (or similar) might be helpful for doing this for all or a subset of mailboxes:

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

Create a user account ('AgendaX') in your local Active Directory and log in with that account on the AgendaX server. Start Outlook and create a profile that accesses the mailbox of the AgendaX user. Finally, install AgendaX and when prompted for the Exchange Server version, check the checkbox labeled 'Exchange is hosted by a hosting provider in an untrusted domain' and enter the name of the profile you created above.

Contributions related to the subject

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