Extend planner plan add with the following extra options.
| Option |
Description |
--shareWithUserIds [shareWithUserIds] |
The comma-separated IDs of the users with whom you want to share the plan. Specify either shareWithUserIds or shareWithUserNames but not both. |
--shareWithUserNames [shareWithUserNames] |
The comma-separated UPNs of the users with whom you want to share the plan. Specify either shareWithUserIds or shareWithUserNames but not both. |
Let's also add the following remark within the docs.
Remark
Related to the options --shareWithUserIds and --shareWithUserNames. If you are leveraging Microsoft 365 groups, use the aad o365group user commands to manage group membership to share the group's plan. You can also add existing members of the group to this collection though it is not required for them to access the plan owned by the group.
Additional Info
Graph docs: https://docs.microsoft.com/graph/api/resources/plannerplandetails?view=graph-rest-1.0
Extend
planner plan addwith the following extra options.--shareWithUserIds [shareWithUserIds]shareWithUserIdsorshareWithUserNamesbut not both.--shareWithUserNames [shareWithUserNames]shareWithUserIdsorshareWithUserNamesbut not both.Let's also add the following remark within the docs.
Remark
Related to the options
--shareWithUserIdsand--shareWithUserNames. If you are leveraging Microsoft 365 groups, use theaad o365group usercommands to manage group membership to share the group's plan. You can also add existing members of the group to this collection though it is not required for them to access the plan owned by the group.Additional Info
Graph docs: https://docs.microsoft.com/graph/api/resources/plannerplandetails?view=graph-rest-1.0