Right now the command planner plan get retrieves the plan when you provide the rosterId next to id or title. Let's enhance the command so you can retrieve the plan just by providing the rosterId option.
The options ownerGroupId and ownerGroupName optionset should only run when title is provided.
Example:
m365 planner plan get --rosterId "RuY-PSpdw02drevnYDTCJpgAEfoI"
instead of
m365 planner plan get --title PlannerTitle --rosterId "RuY-PSpdw02drevnYDTCJpgAEfoI"
Right now the command
planner plan getretrieves the plan when you provide therosterIdnext toidortitle. Let's enhance the command so you can retrieve the plan just by providing therosterIdoption.The options
ownerGroupIdandownerGroupNameoptionset should only run whentitleis provided.Example:
m365 planner plan get --rosterId "RuY-PSpdw02drevnYDTCJpgAEfoI"instead of
m365 planner plan get --title PlannerTitle --rosterId "RuY-PSpdw02drevnYDTCJpgAEfoI"