Jump to content

Recommended Posts

Posted

Is this possible? To disable chat in Teams outside school hours?

 

Rather than teachers having to mute chat out of hours. I don't know if that's possible globally/ across all of a teachers Teams.

 

I suppose that also might include all notifications from Teams. Our students seems to be online at all hours of the night posting to classes.

Posted
I was disappointed to discover that Teams command /dnd does not find others interested in playing a game of 5e. It does however solve your Teachers' problem.
  • 5 months later...
Posted

Just curious, are they using local domain accounts to access Teams?

 

The way ours works is that the pupils use their AD account which is synced to their school email. You can then block logins before/after certain times in the day via GPO.

  • 1 month later...
Posted
Just curious, are they using local domain accounts to access Teams?

 

The way ours works is that the pupils use their AD account which is synced to their school email. You can then block logins before/after certain times in the day via GPO.

 

Does this stop them logging in at home though?

Posted
Does this stop them logging in at home though?

 

It shouldn't as that GPO affects workstation logon hours, and unless you use pass through authentication on your AzureAD Connect instance, your local AD domain is never contacted to validate a user's authentication onto Office 365.

Posted

Is it possible to do this (without the schedule element) via powershell?

 

If so you could creat a script to enable / disable chat and run it as a scheduled task on one of your servers?

Posted
Is it possible to do this (without the schedule element) via powershell?

 

If so you could creat a script to enable / disable chat and run it as a scheduled task on one of your servers?

 

 

No it's not possible, not to achieve the desired outcome anyway

 

You can enable and disable chat via powershell obviously, but enabling chat is not instant and more troublesome clients cache the 'chat disabled' feature of who you are trying to chat to till they are logged out (reboot is not sufficient, log out of teams is required).

  • Thanks 1
Posted

Ah, then ignore my (hard learnt, but irrelevant) advise.

 

You can register a webhook to fire when anyone posts in a channel, I think that needs to be refreshed every hour or so, then take action (delete the message). Pretty sucky and tricky to code, registering a webhook isn't exactly straightforward.

 

You could write a flow to do graph api calls to get all channel chats in the last 12 hours then email them to a teacher :-)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...