Access is denied when opening AdminAuditLogs

Apr 7, 2016 at 10:27 AM
I have the following problem, can anyone help?

Steps to repro:
1) Open a connection to an Exchange Server 2016 (you can try this w/an earlier version)
2) Right Click on the user name above the MsgFolderRoot tree, Add root, Identify folder by well known name (tick the radiobutton): AdminAuditlogs
3) The exception below is thrown. My user has all kind of admin permissions (AD: Domain/Enterprise Admins member, Exchange: Organization Management, Records management, etc.)
Exception details:
Message: Access is denied. Check credentials and try again.
Type: Microsoft.Exchange.WebServices.Data.ServiceResponseException
Source: Microsoft.Exchange.WebServices
ErrorCode: ErrorAccessDenied
ErrorMessage: Access is denied. Check credentials and try again.
Stack Trace:
   at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary() in e:\EWSManagedAPI\ews-managed-api\Core\Responses\ServiceResponse.cs:line 262
   at Microsoft.Exchange.WebServices.Data.ServiceResponse.ThrowIfNecessary() in e:\EWSManagedAPI\ews-managed-api\Core\Responses\ServiceResponse.cs:line 252
   at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute() in e:\EWSManagedAPI\ews-managed-api\Core\Requests\MultiResponseServiceRequest.cs:line 141
   at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalBindToFolders(IEnumerable`1 folderIds, PropertySet propertySet, ServiceErrorHandling errorHandling) in e:\EWSManagedAPI\ews-managed-api\Core\ExchangeService.cs:line 363
   at Microsoft.Exchange.WebServices.Data.ExchangeService.BindToFolder(FolderId folderId, PropertySet propertySet) in e:\EWSManagedAPI\ews-managed-api\Core\ExchangeService.cs:line 291
   at Microsoft.Exchange.WebServices.Data.ExchangeService.BindToFolder[TFolder](FolderId folderId, PropertySet propertySet) in e:\EWSManagedAPI\ews-managed-api\Core\ExchangeService.cs:line 310
   at Microsoft.Exchange.WebServices.Data.Folder.Bind(ExchangeService service, FolderId id, PropertySet propertySet) in e:\EWSManagedAPI\ews-managed-api\Core\ServiceObjects\Folders\Folder.cs:line 58
   at EWSEditor.Forms.FolderTreeForm.AddRootFolderToTreeView(ExchangeService service, EwsEditorAppSettings oAppSettings, FolderId folderId, TreeNode parent) in e:\msft tools\ewseditor\EWSEditor\Forms\FolderTreeForm.cs:line 1310
   at EWSEditor.Forms.FolderTreeForm.AddRootFolderToTreeView(FolderId folderId, TreeNode parent) in e:\msft tools\ewseditor\EWSEditor\Forms\FolderTreeForm.cs:line 1305
   at EWSEditor.Forms.FolderTreeForm.AddRootFolderMenu_Click(Object sender, EventArgs e) in e:\msft tools\ewseditor\EWSEditor\Forms\FolderTreeForm.cs:line 852
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)