@pnp/cli-microsoft365 7.2.0-beta.6775e3a → 7.2.0-beta.8577f52
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/allCommands.json +1 -0
- package/allCommandsFull.json +1 -0
- package/dist/Auth.js +1 -1
- package/dist/Command.js +13 -6
- package/dist/api.js +5 -7
- package/dist/cli/Cli.js +97 -119
- package/dist/cli/timings.js +9 -0
- package/dist/index.js +8 -14
- package/dist/m365/cli/commands/config/config-set.js +13 -0
- package/dist/m365/commands/login.js +12 -8
- package/dist/m365/flow/commands/environment/environment-list.js +6 -4
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +4 -4
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.18.1-rc.0.js → doctor-1.18.1.js} +1 -1
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.2.js +21 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +6 -3
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +17 -0
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.18.1-rc.0.js → upgrade-1.18.1.js} +26 -26
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.2.js +53 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +18 -17
- package/dist/m365/spfx/commands/spfx-doctor.js +16 -1
- package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +14 -23
- package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +19 -27
- package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +9 -29
- package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +9 -28
- package/dist/m365/spo/commands/list/list-retentionlabel-ensure.js +27 -37
- package/dist/m365/spo/commands/list/list-retentionlabel-remove.js +6 -19
- package/dist/m365/spo/commands/listitem/listitem-batch-add.js +5 -0
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +36 -37
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +36 -32
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-revoke.js +49 -12
- package/dist/m365/spo/commands/site/site-add.js +45 -12
- package/dist/m365/spo/commands/sitescript/sitescript-get.js +8 -2
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +19 -2
- package/dist/m365/teams/commands/user/user-app-remove.js +18 -5
- package/dist/request.js +6 -0
- package/dist/settingsNames.js +2 -0
- package/dist/utils/prompt.js +5 -1
- package/dist/utils/spo.js +109 -0
- package/docs/docs/_clisettings.mdx +2 -0
- package/docs/docs/cmd/aad/approleassignment/approleassignment-add.mdx +1 -1
- package/docs/docs/cmd/aad/approleassignment/approleassignment-list.mdx +2 -2
- package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-add.mdx +1 -1
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-list.mdx +2 -2
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.mdx +2 -2
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-set.mdx +2 -2
- package/docs/docs/cmd/aad/policy/policy-list.mdx +1 -1
- package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.mdx +1 -1
- package/docs/docs/cmd/aad/siteclassification/siteclassification-enable.mdx +1 -1
- package/docs/docs/cmd/aad/siteclassification/siteclassification-get.mdx +1 -1
- package/docs/docs/cmd/aad/siteclassification/siteclassification-set.mdx +1 -1
- package/docs/docs/cmd/aad/sp/sp-add.mdx +2 -2
- package/docs/docs/cmd/aad/sp/sp-get.mdx +2 -2
- package/docs/docs/cmd/aad/user/user-add.mdx +3 -3
- package/docs/docs/cmd/aad/user/user-guest-add.mdx +1 -1
- package/docs/docs/cmd/aad/user/user-set.mdx +3 -3
- package/docs/docs/cmd/flow/run/run-cancel.mdx +3 -0
- package/docs/docs/cmd/graph/changelog/changelog-list.mdx +5 -5
- package/docs/docs/cmd/login.mdx +1 -1
- package/docs/docs/cmd/onenote/notebook/notebook-list.mdx +1 -1
- package/docs/docs/cmd/outlook/message/message-list.mdx +1 -1
- package/docs/docs/cmd/outlook/message/message-move.mdx +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-add.mdx +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-set.mdx +1 -1
- package/docs/docs/cmd/planner/plan/plan-set.mdx +3 -3
- package/docs/docs/cmd/planner/task/task-set.mdx +1 -1
- package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +3 -3
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +1 -1
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.mdx +4 -4
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-add.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-deploy.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-get.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-install.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-list.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-remove.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-retract.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
- package/docs/docs/cmd/spo/app/app-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +1 -1
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.mdx +1 -1
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.mdx +1 -1
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.mdx +10 -1
- package/docs/docs/cmd/spo/site/site-add.mdx +25 -4
- package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-groupify.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +3 -3
- package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +3 -3
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +1 -1
- package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +1 -1
- package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +1 -1
- package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +73 -3
- package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +1 -1
- package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +1 -1
- package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +1 -1
- package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +1 -1
- package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +1 -1
- package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +1 -1
- package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +1 -1
- package/docs/docs/cmd/spo/theme/theme-apply.mdx +1 -1
- package/docs/docs/cmd/spo/theme/theme-get.mdx +1 -1
- package/docs/docs/cmd/spo/theme/theme-list.mdx +1 -1
- package/docs/docs/cmd/spo/theme/theme-remove.mdx +1 -1
- package/docs/docs/cmd/spo/user/user-remove.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-set.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-remove.mdx +1 -1
- package/docs/docs/cmd/teams/meeting/meeting-get.mdx +1 -1
- package/docs/docs/cmd/teams/meeting/meeting-transcript-list.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-pstncalls.mdx +1 -1
- package/docs/docs/cmd/teams/tab/tab-remove.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-remove.mdx +1 -1
- package/docs/docs/cmd/teams/user/user-app-remove.mdx +11 -2
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.mdx +1 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.mdx +1 -1
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.mdx +1 -1
- package/docs/docs/cmd/todo/task/task-set.mdx +1 -1
- package/npm-shrinkwrap.json +480 -516
- package/package.json +33 -32
|
@@ -86,4 +86,4 @@ m365 spo storageentity get -k AnalyticsId
|
|
|
86
86
|
|
|
87
87
|
## More information
|
|
88
88
|
|
|
89
|
-
- SharePoint Framework Tenant Properties: [https://
|
|
89
|
+
- SharePoint Framework Tenant Properties: [https://learn.microsoft.com/sharepoint/dev/spfx/tenant-properties](https://learn.microsoft.com/sharepoint/dev/spfx/tenant-properties)
|
|
@@ -87,4 +87,4 @@ m365 spo storageentity list -u https://contoso.sharepoint.com/sites/appcatalog
|
|
|
87
87
|
|
|
88
88
|
## More information
|
|
89
89
|
|
|
90
|
-
- SharePoint Framework Tenant Properties: [https://
|
|
90
|
+
- SharePoint Framework Tenant Properties: [https://learn.microsoft.com/sharepoint/dev/spfx/tenant-properties](https://learn.microsoft.com/sharepoint/dev/spfx/tenant-properties)
|
|
@@ -55,4 +55,4 @@ The command won't return a response on success.
|
|
|
55
55
|
|
|
56
56
|
## More information
|
|
57
57
|
|
|
58
|
-
- SharePoint Framework Tenant Properties: [https://
|
|
58
|
+
- SharePoint Framework Tenant Properties: [https://learn.microsoft.com/sharepoint/dev/spfx/tenant-properties](https://learn.microsoft.com/sharepoint/dev/spfx/tenant-properties)
|
|
@@ -57,4 +57,4 @@ The command won't return a response on success.
|
|
|
57
57
|
|
|
58
58
|
## More information
|
|
59
59
|
|
|
60
|
-
- SharePoint Framework Tenant Properties: [https://
|
|
60
|
+
- SharePoint Framework Tenant Properties: [https://learn.microsoft.com/sharepoint/dev/spfx/tenant-properties](https://learn.microsoft.com/sharepoint/dev/spfx/tenant-properties)
|
|
@@ -86,5 +86,5 @@ m365 spo theme apply --name Blue --webUrl https://contoso.sharepoint.com/sites/p
|
|
|
86
86
|
|
|
87
87
|
## More information
|
|
88
88
|
|
|
89
|
-
- SharePoint site theming: [https://
|
|
89
|
+
- SharePoint site theming: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
|
|
90
90
|
- Theme Generator: [https://aka.ms/themedesigner](https://aka.ms/themedesigner)
|
|
@@ -111,4 +111,4 @@ m365 spo theme get --name Contoso-Blue
|
|
|
111
111
|
|
|
112
112
|
## More information
|
|
113
113
|
|
|
114
|
-
- SharePoint site theming: [https://
|
|
114
|
+
- SharePoint site theming: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
|
|
@@ -84,4 +84,4 @@ m365 spo theme list
|
|
|
84
84
|
|
|
85
85
|
## More information
|
|
86
86
|
|
|
87
|
-
- SharePoint site theming: [https://
|
|
87
|
+
- SharePoint site theming: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
|
|
@@ -50,4 +50,4 @@ The command won't return a response on success.
|
|
|
50
50
|
|
|
51
51
|
## More information
|
|
52
52
|
|
|
53
|
-
- SharePoint site theming: [https://
|
|
53
|
+
- SharePoint site theming: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
|
|
@@ -52,4 +52,4 @@ The command won't return a response on success.
|
|
|
52
52
|
|
|
53
53
|
## More information
|
|
54
54
|
|
|
55
|
-
- Remove-PnPUser - [https://
|
|
55
|
+
- Remove-PnPUser - [https://learn.microsoft.com/powershell/module/sharepoint-pnp/remove-pnpuser?view=sharepoint-ps](https://learn.microsoft.com/powershell/module/sharepoint-pnp/remove-pnpuser?view=sharepoint-ps)
|
|
@@ -118,4 +118,4 @@ The command won't return a response on success.
|
|
|
118
118
|
|
|
119
119
|
## More information
|
|
120
120
|
|
|
121
|
-
- Web properties: [https://
|
|
121
|
+
- Web properties: [https://learn.microsoft.com/previous-versions/office/sharepoint-server/ee545886(v=office.15)](https://learn.microsoft.com/previous-versions/office/sharepoint-server/ee545886(v=office.15))
|
|
@@ -67,4 +67,4 @@ The command won't return a response on success.
|
|
|
67
67
|
|
|
68
68
|
## More information
|
|
69
69
|
|
|
70
|
-
- directory resource type (deleted items): [https://
|
|
70
|
+
- directory resource type (deleted items): [https://learn.microsoft.com/graph/api/resources/directory?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/resources/directory?view=graph-rest-1.0)
|
|
@@ -34,7 +34,7 @@ m365 teams meeting get [options]
|
|
|
34
34
|
|
|
35
35
|
:::info
|
|
36
36
|
|
|
37
|
-
When you connect with application permissions, you should [add an application access policy](https://learn.microsoft.com/
|
|
37
|
+
When you connect with application permissions, you should [add an application access policy](https://learn.microsoft.com/graph/cloud-communication-online-meeting-application-access-policy) for the command to work.
|
|
38
38
|
|
|
39
39
|
:::
|
|
40
40
|
|
|
@@ -54,7 +54,7 @@ This command is based on a Microsoft Graph API that is currently in preview and
|
|
|
54
54
|
|
|
55
55
|
:::caution
|
|
56
56
|
|
|
57
|
-
To run this command with application permissions, tenant administrators must create an application access policy and grant it to a user. This authorizes the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user. For more details, click [here](https://learn.microsoft.com/
|
|
57
|
+
To run this command with application permissions, tenant administrators must create an application access policy and grant it to a user. This authorizes the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user. For more details, click [here](https://learn.microsoft.com/graph/cloud-communication-online-meeting-application-access-policy).
|
|
58
58
|
|
|
59
59
|
:::
|
|
60
60
|
|
|
@@ -52,7 +52,7 @@ m365 teams report pstncalls --fromDateTime 2020-10-31 --toDateTime 2020-12-31 --
|
|
|
52
52
|
|
|
53
53
|
## More information
|
|
54
54
|
|
|
55
|
-
- List PSTN calls: [https://
|
|
55
|
+
- List PSTN calls: [https://learn.microsoft.com/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0)
|
|
56
56
|
|
|
57
57
|
## Response
|
|
58
58
|
|
|
@@ -48,4 +48,4 @@ The command won't return a response on success.
|
|
|
48
48
|
|
|
49
49
|
## More information
|
|
50
50
|
|
|
51
|
-
- Delete tab from channel: [https://
|
|
51
|
+
- Delete tab from channel: [https://learn.microsoft.com/graph/api/channel-delete-tabs](https://learn.microsoft.com/graph/api/channel-delete-tabs)
|
|
@@ -57,4 +57,4 @@ The command won't return a response on success.
|
|
|
57
57
|
|
|
58
58
|
## More information
|
|
59
59
|
|
|
60
|
-
- directory resource type (deleted items): [https://
|
|
60
|
+
- directory resource type (deleted items): [https://learn.microsoft.com/graph/api/resources/directory?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/resources/directory?view=graph-rest-1.0)
|
|
@@ -16,8 +16,11 @@ m365 teams user app remove [options]
|
|
|
16
16
|
`--id <id>`
|
|
17
17
|
: The unique id of the app instance installed for the user.
|
|
18
18
|
|
|
19
|
-
`--userId
|
|
20
|
-
: The ID of the user to uninstall the app for.
|
|
19
|
+
`--userId [userId]`
|
|
20
|
+
: The ID of the user to uninstall the app for. Specify `userId` or `userName` but not both.
|
|
21
|
+
|
|
22
|
+
`--userName [userName]`
|
|
23
|
+
: The UPN of the user to uninstall the app for. Specify `userId` or `userName` but not both.
|
|
21
24
|
|
|
22
25
|
`-f, --force`
|
|
23
26
|
: Confirm removal of app for user.
|
|
@@ -38,6 +41,12 @@ Uninstall an app for the specified user.
|
|
|
38
41
|
m365 teams user app remove --id YzUyN2E0NzAtYTg4Mi00ODFjLTk4MWMtZWU2ZWZhYmE4NWM3IyM0ZDFlYTA0Ny1mMTk2LTQ1MGQtYjJlOS0wZDI4NTViYTA1YTY= --userId 2609af39-7775-4f94-a3dc-0dd67657e900
|
|
39
42
|
```
|
|
40
43
|
|
|
44
|
+
Uninstall an app for the specified user using its UPN.
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 teams user app remove --id YzUyN2E0NzAtYTg4Mi00ODFjLTk4MWMtZWU2ZWZhYmE4NWM3IyM0ZDFlYTA0Ny1mMTk2LTQ1MGQtYjJlOS0wZDI4NTViYTA1YTY= --userName admin@contoso.com
|
|
48
|
+
```
|
|
49
|
+
|
|
41
50
|
## Response
|
|
42
51
|
|
|
43
52
|
The command won't return a response on success.
|
|
@@ -121,4 +121,4 @@ m365 tenant serviceannouncement healthissue list --service "Microsoft Forms"
|
|
|
121
121
|
|
|
122
122
|
## More information
|
|
123
123
|
|
|
124
|
-
- List serviceAnnouncement issues: [https://
|
|
124
|
+
- List serviceAnnouncement issues: [https://learn.microsoft.com/graph/api/serviceannouncement-list-issues](https://learn.microsoft.com/graph/api/serviceannouncement-list-issues)
|
|
@@ -123,5 +123,5 @@ m365 tenant serviceannouncement message get --id MC001337
|
|
|
123
123
|
|
|
124
124
|
## More information
|
|
125
125
|
|
|
126
|
-
- Microsoft Graph REST API reference: [https://
|
|
126
|
+
- Microsoft Graph REST API reference: [https://learn.microsoft.com/graph/api/serviceupdatemessage-get](https://learn.microsoft.com/graph/api/serviceupdatemessage-get)
|
|
127
127
|
|
|
@@ -118,4 +118,4 @@ m365 tenant serviceannouncement message list --service "Microsoft Teams"
|
|
|
118
118
|
|
|
119
119
|
## More information
|
|
120
120
|
|
|
121
|
-
- List serviceAnnouncement messages: [https://
|
|
121
|
+
- List serviceAnnouncement messages: [https://learn.microsoft.com/graph/api/serviceannouncement-list-messages](https://learn.microsoft.com/graph/api/serviceannouncement-list-messages)
|
|
@@ -59,7 +59,7 @@ m365 todo task set [options]
|
|
|
59
59
|
|
|
60
60
|
## Remarks
|
|
61
61
|
|
|
62
|
-
When you specify the values for `categories`, each category can correspond to the displayName property of an [outlookCategory](https://learn.microsoft.com/
|
|
62
|
+
When you specify the values for `categories`, each category can correspond to the displayName property of an [outlookCategory](https://learn.microsoft.com/graph/api/resources/outlookcategory?view=graph-rest-1.0). It is permissible to use distinct names.
|
|
63
63
|
|
|
64
64
|
## Examples
|
|
65
65
|
|