Avatar of zito2000
zito2000
Flag for United States of America asked on

Restrict Outlook Web Access Based On Hours

Environment:
Active Directory
Exchange 2013 on prem

The goal is:
I would like to restrict certain users from logging into OWA during certain off hours.  Is there a way to do this?

In Active Directory, there is a "Logon Hours" section within every users.  If I restrict login hours, does that apply to Outlook Web Access as well?

Thank you!
ExchangeOutlookActive Directory

Avatar of undefined
Last Comment
zito2000

8/22/2022 - Mon
David Favor

One simple approach will be to just setup a firewall rule for your server.

1) Run a command on the clock to block all access to your server ports at one point in time.

2) Run a command on the clock to delete firewall rule(s) added in #1 at another point in time.
ASKER CERTIFIED SOLUTION
Brian B

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Shreedhar Ette

Yes, Active Directory Login Hours will apply to OWA as well.
David Favor

Brian + Shreedhar bring up using Active Directory too.

Whether you use AD or firewall rules will both work.

Using Firewall rules will work independent of any AD problems or maintenance.

Likely using AD will be easier + firewall rules will be a bit more brutal/terse... no indication of why connecting can't occur...
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
zito2000

ASKER
Thanks All!

Just tested this and it worked perfectly.