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.
ketzmann
Jan 30, 2021MCT
There are two ways to do this:
- Using AD Connect with Pass-through (https://youtu.be/cdgxmx4bpgg)
- Script (https://youtu.be/JErcqyflEdI) this video helps to configure