Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)

Change Teams status using command

%3CLINGO-SUB%20id%3D%22lingo-sub-2432914%22%20slang%3D%22en-US%22%3EChange%20Teams%20status%20using%20command%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2432914%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20looking%20to%20create%20some%20automation%20around%20when%20my%20teams%20should%20go%20offline%20(not%20exit%20app%2Fprocess)%20and%20when%20it%20should%20come%20online.%20For%20example%2C%20teams%20should%20go%20online%20at%209%20am%20and%20go%20offline%20at%206%20pm.%3C%2FP%3E%3CP%3EI%20am%20not%20able%20to%20find%20any%20way%20to%20change%20status%20via%20commands.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2432914%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2433094%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20Teams%20status%20using%20command%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2433094%22%20slang%3D%22en-US%22%3EThe%20intent%20of%20online%20is%20to%20let%20other%20users%20understand%20whether%20you%20are%20going%20to%20respond%20to%20a%20message%20or%20not.%20If%20you%20are%20actively%20using%20your%20computer%2C%20then%20it%20goes%20active.%20If%20you%20haven't%20used%20your%20computer%2C%20it%20goes%20inactive.%3CBR%20%2F%3EHaving%20it%20set%20for%20a%20fixed%20time%20tends%20to%20invalidate%20what%20it%20is%20for.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2442762%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20Teams%20status%20using%20command%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2442762%22%20slang%3D%22en-US%22%3E%3CP%3EI%20understand%20the%20point%20of%20view.%3CBR%20%2F%3EBut%20the%20question%20still%20remains%20the%20same%2C%20Is%20there%20a%20command%20to%20achieve%20setting%20status%20or%20not%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EConsider%20a%20scenario%20where%20a%20university%20student%20wants%20to%20use%20his%20laptop%20for%20course%20and%20personal%20use%20and%20he%20has%20teams%20from%20his%20university.%20If%20he%20wants%20to%20not%20be%20bothered%20by%20anyone%20while%20he%20is%20using%20the%20laptop%20off%20school%20time.%20He%20can%20use%20some%20automation%20to%20take%20teams%20offline%20as%20per%20a%20schedule.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I am looking to create some automation around when my teams should go offline (not exit app/process) and when it should come online. For example, teams should go online at 9 am and go offline at 6 pm.

I am not able to find any way to change status via commands.

 

2 Replies
The intent of online is to let other users understand whether you are going to respond to a message or not. If you are actively using your computer, then it goes active. If you haven't used your computer, it goes inactive.
Having it set for a fixed time tends to invalidate what it is for.

I understand the point of view.
But the question still remains the same, Is there a command to achieve setting status or not?

 

Consider a scenario where a university student wants to use his laptop for course and personal use and he has teams from his university. If he wants to not be bothered by anyone while he is using the laptop off school time. He can use some automation to take teams offline as per a schedule.