How to block user access after hours (9-5) on Azure AD

Valdy 1 Reputation point
2022-05-22T05:34:30.22+00:00

Hi there

We used our Azure AD for logging in and need to know if there is a way we can block user access after hours for instance. Or the user logged in, it will have a warning saying the limit access for after hours.

Thanks, Valdy

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,425 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Givary-MSFT 27,566 Reputation points Microsoft Employee
    2022-05-23T03:41:57.647+00:00

    @Valdy

    Thank you for reaching out to us. As per my understanding you want to block user access to Azure AD after certain time frame.

    This requirement can be achieved only if you have Pass through Authentication configured as a sign in option with Azure AD and with Logon hours setting configured in on-premise AD.

    With Password Hash sync this is not possible, as Azure AD doesnt have logon hours setting.

    Let me know if you have any questions.

    Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.

    1 person found this answer helpful.

  2. risolis 8,701 Reputation points
    2022-05-22T06:35:22.233+00:00

    Hello @Valdy

    Thank you for your post.

    Please read this useful article that will guide to use different features like Just in time and other good features.

    https://learn.microsoft.com/en-us/azure/active-directory/privileged-identity-management/pim-configure

    Looking forward to your feedback,

    BR,

    Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.