Limit logon hours office 365 using single sing-on

Jéssian Bayard 41 Reputation points
2023-09-07T17:08:58.92+00:00

Hello Guys

I can do the limit hours for the users in Office 365 using only Single Sign-On (SSO)?

user sing-in

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
2,130 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,556 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sandeep G-MSFT 9,391 Reputation points Microsoft Employee
    2023-09-12T08:37:36.03+00:00

    @Jéssian Bayard

    Currently Azure authentication doesn't have an option to limit user's authentication for certain hours.

    If you have users syncing from on-premise to Azure AD and if user authentication is configured for pass-through authentication then you can limit this.

    To achieve this you can configure the access token to expire after certain time. Once the access token is expired, user will be asked to re-authenticate. you can also configure revoking of access token post certain hours using conditional access policy.

    When access token is revoked and when user is asked to re-authenticate, user is asked to provide credentials again.

    Authentication request will redirected to on-premises. Now in on-premises you will have to configure policy to stop authenticating users post certain time.

    You can refer below article to configure access token revoking,

    https://learn.microsoft.com/en-us/azure/active-directory/develop/configure-token-lifetimes

    https://learn.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-session#sign-in-frequency

    Let me know if you have any further questions on this.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments