Usage
m365 planner roster plan list [options]
Description
Get a all Roster plans for a specific user
Options
| Option |
Description |
--userId [userId] |
User's Azure AD ID. Specify either userId, userName but not both. Specify this option only when using application permissions. |
--userName [userName] |
User's UPN (user principal name, e.g. [email protected]). Specify either userId, userName but not both. Specify this option only when using application permissions. |
Examples
List all Planner plans contained in a Roster where the current logged in user is member of
m365 planner roster plan list
List all Planner plans contained in a Roster where another user is member of
List all Planner plans contained in a Roster where another user is member of
m365 planner roster plan list --userId 6336c567-b318-4cfb-b911-b2d6be3db9c5
Default properties
No response
Additional Info
API Request: https://learn.microsoft.com/en-us/graph/api/planneruser-list-rosterplans?view=graph-rest-beta&tabs=http
In delegated mode, we should use request:
GET https://graph.microsoft.com/beta/me/planner/rosterPlans
When using application permissions, the API request should be:
GET https://graph.microsoft.com/beta/users/{usersId}/planner/rosterPlans
Let's also add to the docs:
- Attention: This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
Usage
m365 planner roster plan list [options]
Description
Get a all Roster plans for a specific user
Options
--userId [userId]userId,userNamebut not both. Specify this option only when using application permissions.--userName [userName]userId,userNamebut not both. Specify this option only when using application permissions.Examples
List all Planner plans contained in a Roster where the current logged in user is member of
List all Planner plans contained in a Roster where another user is member of
List all Planner plans contained in a Roster where another user is member of
Default properties
No response
Additional Info
API Request: https://learn.microsoft.com/en-us/graph/api/planneruser-list-rosterplans?view=graph-rest-beta&tabs=http
In delegated mode, we should use request:
When using application permissions, the API request should be:
Let's also add to the docs: