Pages

Friday, May 18, 2012

Search-AdminAuditLog The attempt to search the administrator audit log failed. Please try again later

When running the command Search-AdminAuditLog you receive the following error:

The attempt to search the administrator audit log failed. Please try again later.


 
This is because the query is not valid. For example the below would be an invalid query and would produce the error.
 
Search-AdminAuditLog -StartDate 05/16/2012 -EndDate 05/16/2012 -ObjectID "jyoung"

An example of a correct query syntax to query who's made changes to a mailbox called John Doe would be like below.

[PS] C:\Users\jyoung.CORP\Desktop>Search-AdminAuditLog -Cmdlets Set-Mailbox -objectids "corp.dom/Corporate Locations/Reston/John Doe" -StartDate 05/10/2012 -EndDate 05/12/2012 -IsSuccess $true

When searchng for the target mailbox John Doe you must use the complete CN like in my example corp.dom\corporate... you can't use just the username, alias etc.
Another option is to just do a complete dump and export to txt file and do a search against the txt file.

search-adminauditlog > c:\log.txt

James Chong
MCITP |EA |EMA; MCSE M+, S+
Security+, Project+, ITIL
msexchangetips.blogspot.com 

16 comments:

  1. Denny1:11 PM

    Hi James,
    This is Denny from zohno.com. I am the creator of this free automated
    employee provisioning/termination app. Will you please write a review for
    my app? Since my app is free, I don't really have other ways to spread the
    word. This would means a lot.

    Here is the link to the app.
    http://gallery.technet.microsoft.com/Z-Hire-Employee-Provisionin-e4854d6b

    ReplyDelete
  2. Denny1:12 PM

    here is our site Zohno

    ReplyDelete
  3. it will be very effective and highly confidential.this will be more effective and informative.it will be very useful to us....
    Viagra
    Viagra
    Viagra
    Viagra
    Viagra
    Viagra
    Viagra

    ReplyDelete
  4. #


    تقدم شركة إبداع مجموعة واسع من خدمات التنظيف والصيانة ومكافحة الحشرات، والتعقيم، نحن نقدم خدماتنا للمنازل والمدارس والمباني العامة، تعتمد الشركة على معدات تنظيف احترافية ومنتجات تنظيف عالية الجودة، مع فريق عمل مدرب واسعار تنظيف منازل رخيصة
    شركة تنظيف بسكاكا

    شركة تنظيف بالبخار بخميس مشيط

    شركة تنظيف بجازان

    شركة تنظيف بنجران

    شركة تنظيف بمحايل عسير

    شركة تنظيف بابها
    من مزايا شركة إبداع للخدمات حرصها على تقديم خدمات متكاملة للعناية بالمنازل ومنطاق العمل، بما في ذلك التنظيف الشامل والجزئي والتنظيف المخصص، مثل تنظيف السجاد والموكيت وتنظيف الكنب وتنظيف الخزانات وتنظيف الشقق وتنظيف الفلل.
    شركة تنظيف بحائل

    شركة تنظيف بخميس مشيط

    شركة تنظيف منازل بابها

    شركة تنظيف منازل بخميس مشيط

    ReplyDelete
  5. Excellent Post. To read more articles about Assignment Help, essays, dissertations, and homework writing, visit No1AssignmentHelp.Com.

    ReplyDelete