none
EWS Could not get user's working hours when a user had never logon RRS feed

  • Question

  • Hello,

    I use ews api "GetUserConfiguration" to get the working hours of a newly created exchange user mailbox. But get null. While use  exchange powershell "Get-mailboxcalendarconfiguration" I can get the working hours info.

    Do you have any idea to get the working hours of the newly created(not logon) exchange user's working hours through EWS?

    Thanks.


    • Edited by HeliZhu Monday, January 11, 2016 5:59 AM
    Monday, January 11, 2016 5:56 AM

All replies

  • Please see https://msdn.microsoft.com/en-us/library/office/gg274398(v=exchg.80).aspx 


    Mihir Nayak If a post is helpful, please take a second to hit the green arrow on the left, or mark as answer, thanks

    Monday, January 11, 2016 6:10 AM
  • You can try to pass Get-MailboxStatistics order statistics   Select-object LastLoggedOnUserAccount,Displayname,Lastlogontime| sort lastlogontime -Unique 
    Monday, January 11, 2016 7:13 AM