MkII Posted May 22, 2020 Posted May 22, 2020 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.
psydii Posted May 22, 2020 Posted May 22, 2020 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.
HPlum78 Posted May 22, 2020 Posted May 22, 2020 Are you wanting it stop students from posting? mute on the chat just stops the notifications but the students will still be able to post to the team. As for scripting I have just had a real quick look and from https://developer.microsoft.com/en-us/graph/graph-explorer nothing stands out so as the cmdlets leverage the Graph API i am inclined to say no (happy to be told otherwise)
HPlum78 Posted May 22, 2020 Posted May 22, 2020 https://microsoftteams.uservoice.com/forums/555103-public/suggestions/35642635-mute-channel-timer Looks like there is a few calls for this to be done, take a look and vote where appropriate. Some have said it should be an application side function but i would like to see it as a server side function as we could then administratively configure this when required via scripts. 1
MkII Posted May 22, 2020 Author Posted May 22, 2020 https://microsoftteams.uservoice.com/forums/555103-public/suggestions/35642635-mute-channel-timer Looks like there is a few calls for this to be done, take a look and vote where appropriate. Some have said it should be an application side function but i would like to see it as a server side function as we could then administratively configure this when required via scripts.Cheers Voted
KASIT97 Posted November 17, 2020 Posted November 17, 2020 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.
mavhc Posted January 6, 2021 Posted January 6, 2021 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?
aicrd Posted January 6, 2021 Posted January 6, 2021 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.
mavhc Posted January 6, 2021 Posted January 6, 2021 Yeah, head wants kids to stop using teams to chat at night, you know, so they can use discord instead. Can't see a way to do it
FN-GM Posted January 6, 2021 Posted January 6, 2021 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?
chaplic Posted January 6, 2021 Posted January 6, 2021 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). 1
mavhc Posted January 7, 2021 Posted January 7, 2021 They're talking about chat in team channels anyway, so either have to change permissions on every channel, or disable teams
chaplic Posted January 7, 2021 Posted January 7, 2021 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 :-)
HPlum78 Posted January 7, 2021 Posted January 7, 2021 @chaplic is old school "Flow" for all you young folk out there it's PowerAutomate :-p
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now