Report on Automatic Replies

Cathy in Maine 11 Reputation points
2022-12-27T14:41:48.457+00:00

Microsoft 365 Business Premium; I'm an admin.
How do I determine how many users have Automatic Replies turned on?

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,178 questions
Windows for business | Windows 365 Enterprise
{count} vote

1 answer

Sort by: Most helpful
  1. Yuki Sun-MSFT 41,376 Reputation points Moderator
    2022-12-28T02:08:24.43+00:00

    Hi @Cathy in Maine ,

    How do I determine how many users have Automatic Replies turned on?

    If you need to get a list of users who have automatic replies turned on, you can connect to Exchange Online PowerShell and then run the following command:

    Get-Mailbox -ResultSize unlimited  | Get-MailboxAutoReplyConfiguration | Where-Object { $_.AutoReplyState -eq "Enabled" } | Select Identity, StartTime, EndTime  
    

    274378-1.png

    If you just need to get a number of these users, you can use the commend below:

    $n=Get-Mailbox -ResultSize unlimited  | Get-MailboxAutoReplyConfiguration | Where-Object { $_.AutoReplyState -eq "Enabled" }   
    $n.count  
    

    274404-2.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.