Forum Discussion
Jitesh_Kumar
Aug 23, 2019Copper Contributor
Restricting access to Office 365- Microsoft Teams After defined hours
Hello Team, Hope everyone is doing well. I had one questions for this wonderful community, Hope I will get more inputs from all of you. We're looking to restrict login hours for a person in M...
- Aug 23, 2019
The only way to restrict logon hours is when authentication happens on-premises, so you need either PTA or AD FS. But that will of course apply to all apps, not just Teams. An alternative is to schedule a PowerShell script that periodically disables/reenables the account and revokes tokens. Again, applies to all apps.
CA doesn't offer time-based controls, but it's the only solution that can target just the Teams app.
Aug 23, 2019
I believe if not utilizing conditional access you’re only option is using adds or pass-through auto and limit the login hours in AD! Although I suspect this isn’t waterproof since if they’ve logged in already they will stay connected til that token expires
Edit: for Teams only I don’t think there’s any controls of this possible outside of using CA - which you can control geo and IP ranges in this scenario!
Hopefully someone else have some ideas if this really I
Is needed
Edit: for Teams only I don’t think there’s any controls of this possible outside of using CA - which you can control geo and IP ranges in this scenario!
Hopefully someone else have some ideas if this really I
Is needed
- Jitesh_KumarAug 23, 2019Copper ContributorThanks Adam for your response,
Hopefully we can able to analyze, find out some solutions with the help of community members.