Context
Right now our Planner commands can only work with plans contained in groups. Let's extend them to use Planner Rosters as well.
Options to add
| Option |
Description |
--rosterId [rosterId] |
ID of the Planner Roster. Specify either ownerGroupId, ownerGroupName or rosterId. |
Docs remarks
Attention: When using rosterId, the command is based on an API that is currently in preview and is subject to change once the API reached general availability.
API request
To get plans from a Planner Roster, we should use:
GET https://graph.microsoft.com/beta/planner/rosters/{id}/plans
Ideally we should add this as a util function in the planner util.
Once we have the ID of the plan, we can update it like we do it now already.
Context
Right now our Planner commands can only work with plans contained in groups. Let's extend them to use Planner Rosters as well.
Options to add
--rosterId [rosterId]ownerGroupId,ownerGroupNameorrosterId.Docs remarks
Attention: When using
rosterId, the command is based on an API that is currently in preview and is subject to change once the API reached general availability.API request
To get plans from a Planner Roster, we should use:
Ideally we should add this as a util function in the
plannerutil.Once we have the ID of the plan, we can update it like we do it now already.