@pnp/cli-microsoft365 7.0.0-beta.5fdb9e3 → 7.0.0-beta.607e42d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +0 -2
- package/dist/GlobalOptions.js +1 -7
- package/dist/m365/aad/commands/app/app-add.js +8 -8
- package/dist/m365/aad/commands/app/app-role-add.js +5 -5
- package/dist/m365/aad/commands/app/app-set.js +5 -5
- package/dist/m365/aad/commands/group/group-get.js +4 -4
- package/dist/m365/aad/commands/group/group-list.js +1 -23
- package/dist/m365/aad/commands/policy/policy-list.js +5 -5
- package/dist/m365/cli/commands/cli-issue.js +5 -5
- package/dist/m365/cli/commands/config/config-get.js +5 -5
- package/dist/m365/cli/commands/config/config-reset.js +5 -5
- package/dist/m365/cli/commands/config/config-set.js +5 -5
- package/dist/m365/commands/login.js +5 -5
- package/dist/m365/commands/request.js +1 -1
- package/dist/m365/flow/commands/owner/owner-ensure.js +5 -5
- package/dist/m365/pa/commands/app/app-export.js +7 -7
- package/dist/m365/pa/commands/app/app-owner-set.js +5 -5
- package/dist/m365/pa/commands/app/app-permission-ensure.js +5 -5
- package/dist/m365/pa/commands.js +1 -4
- package/dist/m365/planner/commands/task/task-add.js +17 -11
- package/dist/m365/planner/commands/task/task-get.js +35 -25
- package/dist/m365/planner/commands/task/task-list.js +26 -19
- package/dist/m365/planner/commands/task/task-remove.js +39 -34
- package/dist/m365/planner/commands/task/task-set.js +35 -23
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +14 -14
- package/dist/m365/spfx/commands/package/package-generate.js +15 -15
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +55 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +8 -8
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +157 -0
- package/dist/m365/spfx/commands/project/project-github-workflow-model.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +13 -13
- package/dist/m365/spfx/commands.js +1 -0
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +5 -5
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-list.js +5 -5
- package/dist/m365/spo/commands/commandset/commandset-add.js +11 -11
- package/dist/m365/spo/commands/commandset/commandset-get.js +8 -8
- package/dist/m365/spo/commands/commandset/commandset-list.js +5 -5
- package/dist/m365/spo/commands/commandset/commandset-remove.js +5 -5
- package/dist/m365/spo/commands/commandset/commandset-set.js +11 -11
- package/dist/m365/spo/commands/file/file-get.js +9 -6
- package/dist/m365/spo/commands/file/file-sharinglink-add.js +8 -8
- package/dist/m365/spo/commands/file/file-sharinglink-list.js +5 -5
- package/dist/m365/spo/commands/list/list-add.js +4 -4
- package/dist/m365/spo/commands/list/list-set.js +4 -4
- package/dist/m365/spo/commands/listitem/listitem-add.js +1 -0
- package/dist/m365/spo/commands/listitem/listitem-set.js +3 -2
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +8 -8
- package/dist/m365/spo/commands/page/clientsidepages.js +1 -81
- package/dist/m365/spo/commands/page/page-get.js +1 -0
- package/dist/m365/spo/commands/page/page-list.js +4 -3
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +30 -32
- package/dist/m365/spo/commands/site/site-add.js +114 -161
- package/dist/m365/spo/commands/site/site-apppermission-add.js +15 -18
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +34 -38
- package/dist/m365/spo/commands/site/site-apppermission-set.js +11 -14
- package/dist/m365/spo/commands/site/site-ensure.js +13 -66
- package/dist/m365/spo/commands/site/site-list.js +9 -17
- package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +6 -6
- package/dist/m365/spo/commands/site/site-remove.js +166 -210
- package/dist/m365/spo/commands/site/site-set.js +121 -153
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +3 -2
- package/dist/m365/spo/commands/tenant/tenant-commandset-add.js +8 -8
- package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +3 -2
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +8 -8
- package/dist/m365/spo/commands/tenant/tenant-settings-set.js +4 -4
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +3 -3
- package/dist/m365/spo/commands/web/web-set.js +5 -5
- package/dist/m365/teams/commands/app/app-list.js +5 -5
- package/dist/m365/teams/commands/chat/chat-member-add.js +5 -5
- package/dist/m365/teams/commands/funsettings/funsettings-set.js +4 -4
- package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +4 -4
- package/dist/m365/teams/commands/membersettings/membersettings-set.js +4 -4
- package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +5 -5
- package/dist/m365/teams/commands/team/team-set.js +3 -3
- package/dist/m365/todo/commands/task/task-add.js +6 -6
- package/dist/m365/yammer/commands/message/message-list.js +5 -5
- package/dist/m365/yammer/commands/yammer-search.js +5 -5
- package/dist/utils/aadGroup.js +18 -0
- package/dist/utils/fsUtil.js +5 -0
- package/dist/utils/spo.js +582 -0
- package/dist/utils/validation.js +0 -3
- package/docs/docs/cmd/aad/group/group-get.mdx +5 -5
- package/docs/docs/cmd/aad/group/group-list.mdx +0 -11
- package/docs/docs/cmd/pa/app/app-export.mdx +5 -5
- package/docs/docs/cmd/planner/task/task-add.mdx +22 -7
- package/docs/docs/cmd/planner/task/task-get.mdx +13 -4
- package/docs/docs/cmd/planner/task/task-list.mdx +22 -7
- package/docs/docs/cmd/planner/task/task-remove.mdx +25 -8
- package/docs/docs/cmd/planner/task/task-set.mdx +22 -7
- package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +94 -0
- package/docs/docs/cmd/spo/listitem/listitem-add.mdx +2 -5
- package/docs/docs/cmd/spo/listitem/listitem-set.mdx +2 -5
- package/docs/docs/cmd/spo/page/page-get.mdx +0 -1
- package/docs/docs/cmd/spo/page/page-list.mdx +0 -1
- package/docs/docs/cmd/spo/site/site-list.mdx +3 -78
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +2 -4
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +2 -4
- package/npm-shrinkwrap.json +239 -1416
- package/package.json +6 -12
- package/dist/m365/pa/cds-project-mutator.js +0 -91
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/generated/ManifestTypes.d.ts +0 -11
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/template_ControlManifest.Input.xml +0 -31
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/dataset-template/template_index.ts +0 -51
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/generated/ManifestTypes.d.ts +0 -12
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/template_ControlManifest.Input.xml +0 -37
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/field-template/template_index.ts +0 -48
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/index.ts +0 -0
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-dataset-template/template_ControlManifest.Input.xml +0 -31
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-dataset-template/template_index.tsx +0 -58
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-field-template/template_ControlManifest.Input.xml +0 -37
- package/dist/m365/pa/commands/pcf/pcf-init/assets/control/virtual-field-template/template_index.tsx +0 -55
- package/dist/m365/pa/commands/pcf/pcf-init/assets/package.json +0 -19
- package/dist/m365/pa/commands/pcf/pcf-init/assets/pcfconfig.json +0 -3
- package/dist/m365/pa/commands/pcf/pcf-init/assets/template_.gitignore +0 -14
- package/dist/m365/pa/commands/pcf/pcf-init/assets/template_pcfprojecttype.pcfproj +0 -45
- package/dist/m365/pa/commands/pcf/pcf-init/pcf-init-variables.js +0 -2
- package/dist/m365/pa/commands/pcf/pcf-init.js +0 -120
- package/dist/m365/pa/commands/solution/solution-init/assets/Other/Customizations.xml +0 -18
- package/dist/m365/pa/commands/solution/solution-init/assets/Other/Relationships.xml +0 -2
- package/dist/m365/pa/commands/solution/solution-init/assets/Other/template_Solution.xml +0 -94
- package/dist/m365/pa/commands/solution/solution-init/assets/template_.gitignore +0 -2
- package/dist/m365/pa/commands/solution/solution-init/assets/template_solutionprojecttype.cdsproj +0 -44
- package/dist/m365/pa/commands/solution/solution-init/solution-init-variables.js +0 -2
- package/dist/m365/pa/commands/solution/solution-init.js +0 -126
- package/dist/m365/pa/commands/solution/solution-reference-add.js +0 -88
- package/dist/m365/pa/template-instantiator.js +0 -57
- package/docs/docs/cmd/pa/pcf/pcf-init.mdx +0 -56
- package/docs/docs/cmd/pa/solution/solution-init.mdx +0 -46
- package/docs/docs/cmd/pa/solution/solution-reference-add.mdx +0 -42
|
@@ -13,13 +13,13 @@ m365 pa app export [options]
|
|
|
13
13
|
## Options
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
|
-
`-
|
|
17
|
-
: The
|
|
16
|
+
`-n, --name <name>`
|
|
17
|
+
: The name (GUID) of the Power Apps app to export
|
|
18
18
|
|
|
19
19
|
`-e, --environmentName <environmentName>`
|
|
20
20
|
: The name of the environment for which to export the app
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
`--packageDisplayName [packageDisplayName]`
|
|
23
23
|
: The display name to use in the exported package
|
|
24
24
|
|
|
25
25
|
`-d, --packageDescription [packageDescription]`
|
|
@@ -42,13 +42,13 @@ m365 pa app export [options]
|
|
|
42
42
|
Export the specified Power App as a ZIP file
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
|
-
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
45
|
+
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "PowerApp"
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
Export the specified Power App as a ZIP file with the package displayname, package description, the one who created it, the package source environment and the path
|
|
49
49
|
|
|
50
50
|
```sh
|
|
51
|
-
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
51
|
+
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "PowerApp" --packageDescription "Power App Description" --packageCreatedBy "John Doe" --packageSourceEnvironment "Contoso" --path "C:/Users/John/Documents"
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
## Response
|
|
@@ -19,10 +19,13 @@ m365 planner task add [options]
|
|
|
19
19
|
: Title of the task to add.
|
|
20
20
|
|
|
21
21
|
`--planId [planId]`
|
|
22
|
-
: ID of the plan to which the task belongs. Specify either `planId` or `
|
|
22
|
+
: ID of the plan to which the task belongs. Specify either `planId`, `planTitle`, or `rosterId` but not multiple.
|
|
23
23
|
|
|
24
24
|
`--planTitle [planTitle]`
|
|
25
|
-
: Title of the plan to which the task belongs. Specify either `planId` or `
|
|
25
|
+
: Title of the plan to which the task belongs. Specify either `planId`, `planTitle`, or `rosterId` but not multiple.
|
|
26
|
+
|
|
27
|
+
`--rosterId [rosterId]`
|
|
28
|
+
: ID of the Planner Roster. Specify either `planId`, `planTitle`, or `rosterId` but not multiple.
|
|
26
29
|
|
|
27
30
|
`--ownerGroupId [ownerGroupId]`
|
|
28
31
|
: ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
@@ -89,38 +92,50 @@ When you specify an integer value for `priority`, consider the following:
|
|
|
89
92
|
|
|
90
93
|
When using `description` with a multiple lines value, use the new line character of the shell you are using to indicate line breaks. For PowerShell this is `` `n ``. For Zsh or Bash use `\n` with a `$` in front. E.g. `$"Line 1\nLine 2"`.
|
|
91
94
|
|
|
95
|
+
:::caution
|
|
96
|
+
|
|
97
|
+
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.
|
|
98
|
+
|
|
99
|
+
:::
|
|
100
|
+
|
|
92
101
|
## Examples
|
|
93
102
|
|
|
94
|
-
Adds a Microsoft Planner task with the name
|
|
103
|
+
Adds a Microsoft Planner task with the name for plan with the specified ID and specified bucket with the ID.
|
|
95
104
|
|
|
96
105
|
```sh
|
|
97
106
|
m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna"
|
|
98
107
|
```
|
|
99
108
|
|
|
100
|
-
Adds a Completed Microsoft Planner task with the name
|
|
109
|
+
Adds a Completed Microsoft Planner task with the name for plan with the specified title owned by specified group and the specified bucket with the ID.
|
|
101
110
|
|
|
102
111
|
```sh
|
|
103
112
|
m365 planner task add --title "My Planner task" --planTitle "My Planner Plan" --ownerGroupName "My Planner Group" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --percentComplete 100
|
|
104
113
|
```
|
|
105
114
|
|
|
106
|
-
Adds a Microsoft Planner task with the name
|
|
115
|
+
Adds a Microsoft Planner task with the specified name for the plan with the specified ID and bucket with the ID. The new task will be assigned to the specified users and receive a specified due date.
|
|
107
116
|
|
|
108
117
|
```sh
|
|
109
118
|
m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --assignedToUserNames "Allan.Carroll@contoso.com,Ida.Stevens@contoso.com" --dueDateTime "2021-12-16"
|
|
110
119
|
```
|
|
111
120
|
|
|
112
|
-
Adds a Microsoft Planner task with the name
|
|
121
|
+
Adds a Microsoft Planner task with the specified name for the plan with the specified ID and bucket with the ID. The new task will be assigned to the specified users who will appear first with the asssignee priority _' !'_
|
|
113
122
|
|
|
114
123
|
```sh
|
|
115
124
|
m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --assignedToUserNames "Allan.Carroll@contoso.com,Ida.Stevens@contoso.com" --asssigneePriority ' !'
|
|
116
125
|
```
|
|
117
126
|
|
|
118
|
-
Adds a Microsoft Planner task with the name
|
|
127
|
+
Adds a Microsoft Planner task with the specified name for the plan with the specified ID and the bucket with the ID. The new task will receive the specified categories and get a specified preview with the type.
|
|
119
128
|
|
|
120
129
|
```sh
|
|
121
130
|
m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --appliedCategories "category1,category3" --previewType "noPreview"
|
|
122
131
|
```
|
|
123
132
|
|
|
133
|
+
Adds a Microsoft Planner task with the specified name for the plan with the specified rosterId and bucket with the ID.
|
|
134
|
+
|
|
135
|
+
```sh
|
|
136
|
+
m365 planner task add --title "My Planner Task" --rosterId "DjL5xiKO10qut8LQgztpKskABWna" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna"
|
|
137
|
+
```
|
|
138
|
+
|
|
124
139
|
## Response
|
|
125
140
|
|
|
126
141
|
### Standard response
|
|
@@ -28,10 +28,13 @@ m365 planner task get [options]
|
|
|
28
28
|
: Name of the bucket to which the task belongs. Specify `bucketId` or `bucketName` when using `title`.
|
|
29
29
|
|
|
30
30
|
`--planId [planId]`
|
|
31
|
-
: ID of the plan to which the task belongs. Specify `planId` or `
|
|
31
|
+
: ID of the plan to which the task belongs. Specify either `planId`, `planTitle`, or `rosterId` when using `bucketName`.
|
|
32
32
|
|
|
33
33
|
`--planTitle [planTitle]`
|
|
34
|
-
: Title of the plan to which the task belongs. Specify `planId` or `
|
|
34
|
+
: Title of the plan to which the task belongs. Specify either `planId`, `planTitle`, or `rosterId` when using `bucketName`.
|
|
35
|
+
|
|
36
|
+
`--rosterId [rosterId]`
|
|
37
|
+
: ID of the Planner Roster. Specify either `planId`, `planTitle`, or `rosterId` when using `bucketName`.
|
|
35
38
|
|
|
36
39
|
`--ownerGroupId [ownerGroupId]`
|
|
37
40
|
: ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
@@ -44,18 +47,24 @@ m365 planner task get [options]
|
|
|
44
47
|
|
|
45
48
|
## Examples
|
|
46
49
|
|
|
47
|
-
|
|
50
|
+
Returns the Microsoft Planner task by id.
|
|
48
51
|
|
|
49
52
|
```sh
|
|
50
53
|
m365 planner task get --id "vzCcZoOv-U27PwydxHB8opcADJo-"
|
|
51
54
|
```
|
|
52
55
|
|
|
53
|
-
Retrieve the
|
|
56
|
+
Retrieve the Microsoft Planner task by title from the specified bucket. Based on the specified plan with the title owned by the specified group.
|
|
54
57
|
|
|
55
58
|
```sh
|
|
56
59
|
m365 planner task get --title "My Planner Task" --bucketName "My Planner Bucket" --planTitle "My Planner Plan" --ownerGroupName "My Planner Group"
|
|
57
60
|
```
|
|
58
61
|
|
|
62
|
+
Returns the Microsoft Planner task by rosterId from the specified bucket.
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
m365 planner task get --title "New Task" --bucketName "To do" --rosterId "DjL5xiKO10qut8LQgztpKskABWna"
|
|
66
|
+
```
|
|
67
|
+
|
|
59
68
|
## Response
|
|
60
69
|
|
|
61
70
|
<Tabs>
|
|
@@ -22,10 +22,13 @@ m365 planner task list [options]
|
|
|
22
22
|
: Name of the bucket to list the tasks of. To retrieve tasks from a bucket, specify `bucketId` or `bucketName`, but not both.
|
|
23
23
|
|
|
24
24
|
`--planId [planId]`
|
|
25
|
-
: ID of a plan to list the tasks of. To retrieve all tasks from a plan,
|
|
25
|
+
: ID of a plan to list the tasks of. To retrieve all tasks from a plan, Specify either `planId`, `planTitle`, or `rosterId` but not multiple. Use in combination with `bucketName` to retrieve tasks from a specific bucket.
|
|
26
26
|
|
|
27
27
|
`--planTitle [planTitle]`
|
|
28
|
-
: Title of a plan to list the tasks of. To retrieve all tasks from a plan,
|
|
28
|
+
: Title of a plan to list the tasks of. To retrieve all tasks from a plan, Specify either `planId`, `planTitle`, or `rosterId` but not multiple. Always use in combination with either `ownerGroupId` or `ownerGroupName`. Use in combination with `bucketName` to retrieve tasks from a specific bucket.
|
|
29
|
+
|
|
30
|
+
`--rosterId [rosterId]`
|
|
31
|
+
: ID of the Planner Roster. Specify either `planId`, `planTitle`, or `rosterId` but not multiple.
|
|
29
32
|
|
|
30
33
|
`--ownerGroupId [ownerGroupId]`
|
|
31
34
|
: ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
@@ -44,6 +47,12 @@ This command uses API that is currently in preview to enrich the results with th
|
|
|
44
47
|
|
|
45
48
|
:::
|
|
46
49
|
|
|
50
|
+
:::caution
|
|
51
|
+
|
|
52
|
+
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.
|
|
53
|
+
|
|
54
|
+
:::
|
|
55
|
+
|
|
47
56
|
## Examples
|
|
48
57
|
|
|
49
58
|
List tasks for the currently logged in user
|
|
@@ -52,36 +61,42 @@ List tasks for the currently logged in user
|
|
|
52
61
|
m365 planner task list
|
|
53
62
|
```
|
|
54
63
|
|
|
55
|
-
List the Microsoft Planner tasks in the plan
|
|
64
|
+
List the Microsoft Planner tasks in the plan by id.
|
|
56
65
|
|
|
57
66
|
```sh
|
|
58
67
|
m365 planner task list --planId "iVPMIgdku0uFlou-KLNg6MkAE1O2"`
|
|
59
68
|
```
|
|
60
69
|
|
|
61
|
-
List the Microsoft Planner tasks in the plan
|
|
70
|
+
List the Microsoft Planner tasks in the specified plan by title from the specified group by name.
|
|
62
71
|
|
|
63
72
|
```sh
|
|
64
73
|
m365 planner task list --planTitle "My Plan" --ownerGroupName "My Group"
|
|
65
74
|
```
|
|
66
75
|
|
|
67
|
-
List the Microsoft Planner tasks in the bucket
|
|
76
|
+
List the Microsoft Planner tasks in the bucket by id.
|
|
68
77
|
|
|
69
78
|
```sh
|
|
70
79
|
m365 planner task list --bucketId "FtzysDykv0-9s9toWiZhdskAD67z"
|
|
71
80
|
```
|
|
72
81
|
|
|
73
|
-
List the Microsoft Planner tasks in the bucket
|
|
82
|
+
List the Microsoft Planner tasks in the bucket by name belonging to plan by id.
|
|
74
83
|
|
|
75
84
|
```sh
|
|
76
85
|
m365 planner task list --bucketName "My Bucket" --planId "iVPMIgdku0uFlou-KLNg6MkAE1O2"
|
|
77
86
|
```
|
|
78
87
|
|
|
79
|
-
List the Microsoft Planner tasks in the bucket
|
|
88
|
+
List the Microsoft Planner tasks in the bucket by name belonging to plan by title in the specified group.
|
|
80
89
|
|
|
81
90
|
```sh
|
|
82
91
|
m365 planner task list --bucketName "My Bucket" --planTitle "My Plan" --ownerGroupName "My Group"
|
|
83
92
|
```
|
|
84
93
|
|
|
94
|
+
List the Microsoft Planner tasks by rosterId from the specified bucket.
|
|
95
|
+
|
|
96
|
+
```sh
|
|
97
|
+
m365 planner task list --bucketName "My Bucket" --rosterId "DjL5xiKO10qut8LQgztpKskABWna"
|
|
98
|
+
```
|
|
99
|
+
|
|
85
100
|
## Response
|
|
86
101
|
|
|
87
102
|
<Tabs>
|
|
@@ -26,10 +26,13 @@ m365 planner task remove [options]
|
|
|
26
26
|
: Name of the bucket to which the task to remove belongs. Specify either `bucketId` or `bucketName` but not both.
|
|
27
27
|
|
|
28
28
|
`--planId [planId]`
|
|
29
|
-
: ID of the plan to which the task to remove belongs. Specify either `planId` or `
|
|
29
|
+
: ID of the plan to which the task to remove belongs. Specify either `planId`, `planTitle`, or `rosterId` when using `title`.
|
|
30
30
|
|
|
31
31
|
`--planTitle [planTitle]`
|
|
32
|
-
: Title of the plan to which the task to remove belongs. Specify either `planId` or `
|
|
32
|
+
: Title of the plan to which the task to remove belongs. Specify either `planId`, `planTitle`, or `rosterId` when using `title`.
|
|
33
|
+
|
|
34
|
+
`--rosterId [rosterId]`
|
|
35
|
+
: ID of the Planner Roster. Specify either `planId`, `planTitle`, or `rosterId` when using `title`.
|
|
33
36
|
|
|
34
37
|
`--ownerGroupId [ownerGroupId]`
|
|
35
38
|
: ID of the group to which the plan belongs. Specify either `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
@@ -43,44 +46,58 @@ m365 planner task remove [options]
|
|
|
43
46
|
|
|
44
47
|
<Global />
|
|
45
48
|
|
|
49
|
+
## Remarks
|
|
50
|
+
|
|
51
|
+
:::caution
|
|
52
|
+
|
|
53
|
+
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.
|
|
54
|
+
|
|
55
|
+
:::
|
|
56
|
+
|
|
46
57
|
## Examples
|
|
47
58
|
|
|
48
|
-
Removes the Microsoft Planner task by ID
|
|
59
|
+
Removes the Microsoft Planner task by ID.
|
|
49
60
|
|
|
50
61
|
```sh
|
|
51
62
|
m365 planner task remove --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"
|
|
52
63
|
```
|
|
53
64
|
|
|
54
|
-
Removes the Microsoft Planner task by ID without confirmation
|
|
65
|
+
Removes the Microsoft Planner task by ID without confirmation.
|
|
55
66
|
|
|
56
67
|
```sh
|
|
57
68
|
m365 planner task remove --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --force
|
|
58
69
|
```
|
|
59
70
|
|
|
60
|
-
Removes the Microsoft Planner task with
|
|
71
|
+
Removes the Microsoft Planner task with the specified title in the bucket by ID.
|
|
61
72
|
|
|
62
73
|
```sh
|
|
63
74
|
m365 planner task remove --title "My Task" --bucketId "vncYUXCRBke28qMLB-d4xJcACtNz"
|
|
64
75
|
```
|
|
65
76
|
|
|
66
|
-
Removes the Microsoft Planner task with
|
|
77
|
+
Removes the Microsoft Planner task with the specified title the bucket by name in the Plan with the specified ID.
|
|
67
78
|
|
|
68
79
|
```sh
|
|
69
80
|
m365 planner task remove --title "My Task" --bucketName "My Bucket" --planId "oUHpnKBFekqfGE_PS6GGUZcAFY7b"
|
|
70
81
|
```
|
|
71
82
|
|
|
72
|
-
Removes the Microsoft Planner task with
|
|
83
|
+
Removes the Microsoft Planner task with the specified title in the bucket with name in the Plan owned by group with the specified name.
|
|
73
84
|
|
|
74
85
|
```sh
|
|
75
86
|
m365 planner task remove --title "My Task" --bucketName "My Bucket" --planTitle "My Plan" --ownerGroupName "My Group"
|
|
76
87
|
```
|
|
77
88
|
|
|
78
|
-
Removes the Microsoft Planner task with
|
|
89
|
+
Removes the Microsoft Planner task with the specified title in the bucket with name in the Plan owned by group with the specified ID.
|
|
79
90
|
|
|
80
91
|
```sh
|
|
81
92
|
m365 planner task remove --title "My Task" --bucketName "My Bucket" --planTitle "My Plan" --ownerGroupId "00000000-0000-0000-0000-000000000000"
|
|
82
93
|
```
|
|
83
94
|
|
|
95
|
+
Removes the Microsoft Planner task by rosterId from the specified bucket.
|
|
96
|
+
|
|
97
|
+
```sh
|
|
98
|
+
m365 planner task remove --title "My Task" --bucketName "My Bucket" --rosterId "DjL5xiKO10qut8LQgztpKskABWna"
|
|
99
|
+
```
|
|
100
|
+
|
|
84
101
|
## Response
|
|
85
102
|
|
|
86
103
|
The command won't return a response on success.
|
|
@@ -28,10 +28,13 @@ m365 planner task set [options]
|
|
|
28
28
|
: Name of the bucket to move the task to. The bucket needs to exist in the selected plan. Specify either `bucketId` or `bucketName` when using `title`.
|
|
29
29
|
|
|
30
30
|
`--planId [planId]`
|
|
31
|
-
: ID of the plan to which the bucket belongs to. Specify either `planId` or `
|
|
31
|
+
: ID of the plan to which the bucket belongs to. Specify either `planId`, `planTitle`, or `rosterId` when using `bucketName`.
|
|
32
32
|
|
|
33
33
|
`--planTitle [planTitle]`
|
|
34
|
-
: Title of the plan to which the bucket belongs to. Specify either `planId` or `
|
|
34
|
+
: Title of the plan to which the bucket belongs to. Specify either `planId`, `planTitle`, or `rosterId` when using `bucketName`.
|
|
35
|
+
|
|
36
|
+
`--rosterId [rosterId]`
|
|
37
|
+
: ID of the Planner Roster to which the bucket belongs to. Specify either `planId`, `planTitle`, or `rosterId` when using `bucketName`.
|
|
35
38
|
|
|
36
39
|
`--ownerGroupId [ownerGroupId]`
|
|
37
40
|
: ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
|
|
@@ -91,24 +94,36 @@ You can add up to 6 categories to the task. An example to add _category1_ and _c
|
|
|
91
94
|
|
|
92
95
|
When using `description` with a multiple lines value, use the new line character of the shell you are using to indicate line breaks. For PowerShell this is `` `n ``. For Zsh or Bash use `\n` with a `$` in front. E.g. `$"Line 1\nLine 2"`.
|
|
93
96
|
|
|
97
|
+
:::caution
|
|
98
|
+
|
|
99
|
+
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.
|
|
100
|
+
|
|
101
|
+
:::
|
|
102
|
+
|
|
94
103
|
## Examples
|
|
95
104
|
|
|
96
|
-
Updates a Microsoft Planner task name
|
|
105
|
+
Updates a Microsoft Planner task name of the specified task by ID
|
|
97
106
|
|
|
98
107
|
```sh
|
|
99
108
|
m365 planner task set --id "Z-RLQGfppU6H3663DBzfs5gAMD3o" --title "My Planner Task"
|
|
100
109
|
```
|
|
101
110
|
|
|
102
|
-
Moves a Microsoft Planner task with the ID
|
|
111
|
+
Moves a Microsoft Planner task with the specified ID to the bucket by name. Based on the plan with the specified rosterId.
|
|
112
|
+
|
|
113
|
+
```sh
|
|
114
|
+
m365 planner task set --id "Z-RLQGfppU6H3663DBzfs5gAMD3o" --bucketName "My Planner Bucket" --rosterId "DjL5xiKO10qut8LQgztpKskABWna"
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Moves a Microsoft Planner task with the specified ID to the bucket by name. Based on the plan with the specified title owned by the specified group by name.
|
|
103
118
|
|
|
104
119
|
```sh
|
|
105
|
-
m365 planner task set
|
|
120
|
+
m365 planner task set --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --bucketName "My Planner Bucket" --planTitle "My Planner Plan" --ownerGroupName "My Planner Group"
|
|
106
121
|
```
|
|
107
122
|
|
|
108
|
-
Marks a Microsoft Planner task with the ID
|
|
123
|
+
Marks a Microsoft Planner task with the specified ID as 50% complete and assigned to categories 1 and 3.
|
|
109
124
|
|
|
110
125
|
```sh
|
|
111
|
-
m365 planner task set --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"
|
|
126
|
+
m365 planner task set --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --percentComplete 50 --appliedCategories "category1,category3"
|
|
112
127
|
```
|
|
113
128
|
|
|
114
129
|
## Response
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# spfx project github workflow add
|
|
4
|
+
|
|
5
|
+
Adds a GitHub workflow for a SharePoint Framework project
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 spfx project github workflow add [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-n, --name [name]`
|
|
17
|
+
: Name of the workflow that will be created. If none is specified a default name will be used 'Deploy Solution ${name of sppkg file}'
|
|
18
|
+
|
|
19
|
+
`-b, --branchName [branchName]`
|
|
20
|
+
: Specify the branch name which should trigger the workflow on push. If none is specified a default will be used which is 'main'
|
|
21
|
+
|
|
22
|
+
`-m, --manuallyTrigger`
|
|
23
|
+
: When specified a manual trigger option will be added to the workflow: `workflow_dispatch`
|
|
24
|
+
|
|
25
|
+
`-l, --loginMethod [loginMethod]`
|
|
26
|
+
: Specify the login method used for the login action. Possible options are: `user`, `application`. Default `application`'
|
|
27
|
+
|
|
28
|
+
`-s, --scope [scope]`
|
|
29
|
+
: Scope of the app catalog: `tenant`, `sitecollection`. Default is `tenant`
|
|
30
|
+
|
|
31
|
+
`-u, --siteUrl [siteUrl]`
|
|
32
|
+
: The URL of the site collection where the solution package will be added. Required if scope is set to `sitecollection`
|
|
33
|
+
|
|
34
|
+
`--skipFeatureDeployment`
|
|
35
|
+
: When specified and the app supports tenant-wide deployment, deploy it to the whole tenant
|
|
36
|
+
|
|
37
|
+
`--overwrite`
|
|
38
|
+
: When specified the workflow will overwrite the existing .sppkg if it is already deployed in the app catalog.
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
<Global />
|
|
42
|
+
|
|
43
|
+
## Remarks
|
|
44
|
+
|
|
45
|
+
The `spfx project github workflow add` will create a workflow .yml file in the `.github/workflows` directory in your project. If such directory does not exist the command will automatically create it.
|
|
46
|
+
|
|
47
|
+
For the `application` login method the command does not register AAD application nor create the required certificate. In order for you to proceed you will need to first obtain (create) a self-signed certificate and register a new AAD application with certificate authentication. After that in GitHub repo settings, you will need to create the following secrets:
|
|
48
|
+
|
|
49
|
+
- `APP_ID` - client id of the registered AAD application
|
|
50
|
+
- `CERTIFICATE_ENCODED` - application's encoded certificate
|
|
51
|
+
- `CERTIFICATE_PASSWORD` - certificate password. This applies only if the certificate is encoded which is the recommended approach
|
|
52
|
+
|
|
53
|
+
This use case is perfect in a production context as it does not create any dependencies on an account
|
|
54
|
+
|
|
55
|
+
For the `user` login method you will need to create the following secrets in GitHub repo settings:
|
|
56
|
+
|
|
57
|
+
- `ADMIN_USERNAME` - username
|
|
58
|
+
- `ADMIN_PASSWORD` - password
|
|
59
|
+
|
|
60
|
+
This method is perfect to test your workflow, in a dev context, for personal usage. It will not work for accounts with MFA.
|
|
61
|
+
|
|
62
|
+
:::info
|
|
63
|
+
|
|
64
|
+
Run this command in the SPFx solution folder.
|
|
65
|
+
|
|
66
|
+
:::
|
|
67
|
+
|
|
68
|
+
## Examples
|
|
69
|
+
|
|
70
|
+
Adds a GitHub workflow for a SharePoint Framework project with `application` login method triggered on push to main
|
|
71
|
+
|
|
72
|
+
```sh
|
|
73
|
+
m365 spfx project github workflow add
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Adds a GitHub workflow for a SharePoint Framework project with `user` login method triggered on push to main and when manually triggered.
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
m365 spfx project github workflow add --manuallyTrigger --loginMethod "user"
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Adds a GitHub workflow for a SharePoint Framework project with deployment to a site collection app catalog
|
|
83
|
+
|
|
84
|
+
```sh
|
|
85
|
+
m365 spfx project github workflow add --scope "sitecollection" --siteUrl "https://some.sharepoint.com/sites/someSite"
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Response
|
|
89
|
+
|
|
90
|
+
The command won't return a response on success.
|
|
91
|
+
|
|
92
|
+
## More information
|
|
93
|
+
|
|
94
|
+
- Automate your CI/CD workflow using CLI for Microsoft 365 GitHub Actions: [https://pnp.github.io/cli-microsoft365/user-guide/github-actions](https://pnp.github.io/cli-microsoft365/user-guide/github-actions)
|
|
@@ -111,7 +111,6 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
|
|
|
111
111
|
"Id": 234,
|
|
112
112
|
"ServerRedirectedEmbedUri": null,
|
|
113
113
|
"ServerRedirectedEmbedUrl": "",
|
|
114
|
-
"ID": 234,
|
|
115
114
|
"ContentTypeId": "0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803",
|
|
116
115
|
"Title": "Test",
|
|
117
116
|
"Modified": "2022-11-16T20:55:45Z",
|
|
@@ -138,7 +137,6 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
|
|
|
138
137
|
EditorId : 10
|
|
139
138
|
FileSystemObjectType : 0
|
|
140
139
|
GUID : cac57513-e870-4e7a-9f23-f4ea10e14f4e
|
|
141
|
-
ID : 236
|
|
142
140
|
Id : 236
|
|
143
141
|
Modified : 2022-11-16T20:56:31Z
|
|
144
142
|
OData__UIVersionString : 1.0
|
|
@@ -152,8 +150,8 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
|
|
|
152
150
|
<TabItem value="CSV">
|
|
153
151
|
|
|
154
152
|
```csv
|
|
155
|
-
FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,
|
|
156
|
-
0,235,,,
|
|
153
|
+
FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
|
|
154
|
+
0,235,,,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T20:56:09Z,2022-11-16T20:56:09Z,10,10,1.0,,7aa8f3bd-a0a2-4974-81c8-2ac7ddc8e2d8,,
|
|
157
155
|
```
|
|
158
156
|
|
|
159
157
|
</TabItem>
|
|
@@ -176,7 +174,6 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
|
|
|
176
174
|
Title | Test
|
|
177
175
|
ComplianceAssetId | null
|
|
178
176
|
FieldName1 | null
|
|
179
|
-
ID | 234
|
|
180
177
|
Modified | 2022-11-16T20:55:45Z
|
|
181
178
|
Created | 2022-11-16T20:55:45Z
|
|
182
179
|
AuthorId | 10
|
|
@@ -108,7 +108,6 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
|
|
|
108
108
|
"Id": 236,
|
|
109
109
|
"ServerRedirectedEmbedUri": null,
|
|
110
110
|
"ServerRedirectedEmbedUrl": "",
|
|
111
|
-
"ID": 236,
|
|
112
111
|
"ContentTypeId": "0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803",
|
|
113
112
|
"Title": "Updated Title",
|
|
114
113
|
"Modified": "2022-11-16T21:10:06Z",
|
|
@@ -135,7 +134,6 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
|
|
|
135
134
|
EditorId : 10
|
|
136
135
|
FileSystemObjectType : 0
|
|
137
136
|
GUID : cac57513-e870-4e7a-9f23-f4ea10e14f4e
|
|
138
|
-
ID : 236
|
|
139
137
|
Id : 236
|
|
140
138
|
Modified : 2022-11-16T21:10:37Z
|
|
141
139
|
OData__UIVersionString : 8.0
|
|
@@ -149,8 +147,8 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
|
|
|
149
147
|
<TabItem value="CSV">
|
|
150
148
|
|
|
151
149
|
```csv
|
|
152
|
-
FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,
|
|
153
|
-
0,236,,,
|
|
150
|
+
FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
|
|
151
|
+
0,236,,,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Updated Title,2022-11-16T21:10:55Z,2022-11-16T20:56:31Z,10,10,9.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
|
|
154
152
|
```
|
|
155
153
|
|
|
156
154
|
</TabItem>
|
|
@@ -173,7 +171,6 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
|
|
|
173
171
|
Title | Updated Title
|
|
174
172
|
ComplianceAssetId | null
|
|
175
173
|
FieldName1 | null
|
|
176
|
-
ID | 236
|
|
177
174
|
Modified | 2022-11-16T21:10:06Z
|
|
178
175
|
Created | 2022-11-16T20:56:31Z
|
|
179
176
|
AuthorId | 10
|
|
@@ -85,7 +85,6 @@ m365 spo page get --webUrl https://contoso.sharepoint.com/sites/team-a --name ho
|
|
|
85
85
|
"OData__OriginalSourceItemId": null,
|
|
86
86
|
"OData__SPCallToAction": null,
|
|
87
87
|
"OData__ModerationStatus": 3,
|
|
88
|
-
"ID": 21,
|
|
89
88
|
"Created": "2022-11-26T01:51:46",
|
|
90
89
|
"AuthorId": 7,
|
|
91
90
|
"Modified": "2022-11-26T01:55:47",
|
|
@@ -89,7 +89,6 @@ m365 spo page list --webUrl https://contoso.sharepoint.com/sites/team-a
|
|
|
89
89
|
"OData__OriginalSourceItemId": null,
|
|
90
90
|
"OData__SPCallToAction": null,
|
|
91
91
|
"OData__ModerationStatus": 0,
|
|
92
|
-
"ID": 10,
|
|
93
92
|
"Created": "2020-09-06T02:18:55-07:00",
|
|
94
93
|
"AuthorId": 1073741823,
|
|
95
94
|
"Modified": "2020-09-06T02:18:55-07:00",
|