Skip to main content

teams presence set-preferred

Auto-generated reference

This page is generated from checked-in CLI metadata for release v0.7.0. Do not edit it by hand.

Set your preferred presence, which overrides every session's status while one exists

Synopsis

teams presence set-preferred [OPTIONS] --availability <AVAILABILITY>

Options

OptionValueRequiredEnvDefaultDescription
--availabilityAVAILABILITYyesAvailability: Available, Busy, DoNotDisturb, BeRightBack, Away or Offline. Graph pairs each with one activity, which is sent alongside it
--expirationEXPIRATIONnoPositive ISO 8601 duration in whole units, such as PT8H or P1D. Graph's default is P1D for Busy and DoNotDisturb and P7D for the rest

Examples

No command-specific examples are published yet.

Exit Codes

CodeMeaning
0success
1general error
2invalid input
3authentication error
4permission denied
6rate limited

See Also