@pnp/cli-microsoft365 7.2.0-beta.c7e1c03 → 7.2.0-beta.d29d172

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.
Files changed (126) hide show
  1. package/allCommands.json +1 -0
  2. package/allCommandsFull.json +1 -0
  3. package/dist/Auth.js +1 -1
  4. package/dist/api.js +5 -7
  5. package/dist/cli/Cli.js +96 -118
  6. package/dist/cli/timings.js +9 -0
  7. package/dist/index.js +8 -14
  8. package/dist/m365/cli/commands/config/config-set.js +5 -0
  9. package/dist/m365/commands/login.js +12 -8
  10. package/dist/m365/flow/commands/environment/environment-list.js +6 -4
  11. package/dist/m365/spfx/commands/project/DeployWorkflow.js +4 -4
  12. package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.18.1-rc.0.js → doctor-1.18.1.js} +1 -1
  13. package/dist/m365/spfx/commands/project/project-doctor.js +1 -1
  14. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +17 -0
  15. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.18.1-rc.0.js → upgrade-1.18.1.js} +26 -26
  16. package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
  17. package/dist/m365/spfx/commands/spfx-doctor.js +1 -1
  18. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +14 -23
  19. package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +19 -27
  20. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +9 -29
  21. package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +9 -28
  22. package/dist/m365/spo/commands/list/list-retentionlabel-ensure.js +27 -37
  23. package/dist/m365/spo/commands/list/list-retentionlabel-remove.js +6 -19
  24. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +36 -37
  25. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +36 -32
  26. package/dist/m365/spo/commands/site/site-add.js +45 -12
  27. package/dist/m365/spo/commands/sitescript/sitescript-get.js +8 -2
  28. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +19 -2
  29. package/dist/request.js +6 -0
  30. package/dist/settingsNames.js +1 -0
  31. package/dist/utils/spo.js +109 -0
  32. package/docs/docs/_clisettings.mdx +1 -0
  33. package/docs/docs/cmd/aad/approleassignment/approleassignment-add.mdx +1 -1
  34. package/docs/docs/cmd/aad/approleassignment/approleassignment-list.mdx +2 -2
  35. package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.mdx +1 -1
  36. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-add.mdx +1 -1
  37. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-list.mdx +2 -2
  38. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.mdx +2 -2
  39. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-set.mdx +2 -2
  40. package/docs/docs/cmd/aad/policy/policy-list.mdx +1 -1
  41. package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.mdx +1 -1
  42. package/docs/docs/cmd/aad/siteclassification/siteclassification-enable.mdx +1 -1
  43. package/docs/docs/cmd/aad/siteclassification/siteclassification-get.mdx +1 -1
  44. package/docs/docs/cmd/aad/siteclassification/siteclassification-set.mdx +1 -1
  45. package/docs/docs/cmd/aad/sp/sp-add.mdx +2 -2
  46. package/docs/docs/cmd/aad/sp/sp-get.mdx +2 -2
  47. package/docs/docs/cmd/aad/user/user-add.mdx +3 -3
  48. package/docs/docs/cmd/aad/user/user-guest-add.mdx +1 -1
  49. package/docs/docs/cmd/aad/user/user-set.mdx +3 -3
  50. package/docs/docs/cmd/graph/changelog/changelog-list.mdx +5 -5
  51. package/docs/docs/cmd/login.mdx +1 -1
  52. package/docs/docs/cmd/onenote/notebook/notebook-list.mdx +1 -1
  53. package/docs/docs/cmd/outlook/message/message-list.mdx +1 -1
  54. package/docs/docs/cmd/outlook/message/message-move.mdx +1 -1
  55. package/docs/docs/cmd/planner/bucket/bucket-add.mdx +1 -1
  56. package/docs/docs/cmd/planner/bucket/bucket-set.mdx +1 -1
  57. package/docs/docs/cmd/planner/plan/plan-set.mdx +3 -3
  58. package/docs/docs/cmd/planner/task/task-set.mdx +1 -1
  59. package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +3 -3
  60. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +1 -1
  61. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +1 -1
  62. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +1 -1
  63. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +1 -1
  64. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +1 -1
  65. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +1 -1
  66. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +1 -1
  67. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.mdx +4 -4
  68. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  69. package/docs/docs/cmd/spo/app/app-add.mdx +1 -1
  70. package/docs/docs/cmd/spo/app/app-deploy.mdx +1 -1
  71. package/docs/docs/cmd/spo/app/app-get.mdx +1 -1
  72. package/docs/docs/cmd/spo/app/app-install.mdx +1 -1
  73. package/docs/docs/cmd/spo/app/app-list.mdx +1 -1
  74. package/docs/docs/cmd/spo/app/app-remove.mdx +1 -1
  75. package/docs/docs/cmd/spo/app/app-retract.mdx +1 -1
  76. package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
  77. package/docs/docs/cmd/spo/app/app-upgrade.mdx +1 -1
  78. package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +1 -1
  79. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +1 -1
  80. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.mdx +1 -1
  81. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.mdx +1 -1
  82. package/docs/docs/cmd/spo/site/site-add.mdx +25 -4
  83. package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +1 -1
  84. package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +1 -1
  85. package/docs/docs/cmd/spo/site/site-groupify.mdx +1 -1
  86. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +3 -3
  87. package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +1 -1
  88. package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +1 -1
  89. package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +1 -1
  90. package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +1 -1
  91. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +1 -1
  92. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +1 -1
  93. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +1 -1
  94. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +1 -1
  95. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +1 -1
  96. package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +3 -3
  97. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +1 -1
  98. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +1 -1
  99. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +1 -1
  100. package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +1 -1
  101. package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +73 -3
  102. package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +1 -1
  103. package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +1 -1
  104. package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +1 -1
  105. package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +1 -1
  106. package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +1 -1
  107. package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +1 -1
  108. package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +1 -1
  109. package/docs/docs/cmd/spo/theme/theme-apply.mdx +1 -1
  110. package/docs/docs/cmd/spo/theme/theme-get.mdx +1 -1
  111. package/docs/docs/cmd/spo/theme/theme-list.mdx +1 -1
  112. package/docs/docs/cmd/spo/theme/theme-remove.mdx +1 -1
  113. package/docs/docs/cmd/spo/user/user-remove.mdx +1 -1
  114. package/docs/docs/cmd/spo/web/web-set.mdx +1 -1
  115. package/docs/docs/cmd/teams/channel/channel-remove.mdx +1 -1
  116. package/docs/docs/cmd/teams/meeting/meeting-get.mdx +1 -1
  117. package/docs/docs/cmd/teams/meeting/meeting-transcript-list.mdx +1 -1
  118. package/docs/docs/cmd/teams/report/report-pstncalls.mdx +1 -1
  119. package/docs/docs/cmd/teams/tab/tab-remove.mdx +1 -1
  120. package/docs/docs/cmd/teams/team/team-remove.mdx +1 -1
  121. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.mdx +1 -1
  122. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.mdx +1 -1
  123. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.mdx +1 -1
  124. package/docs/docs/cmd/todo/task/task-set.mdx +1 -1
  125. package/npm-shrinkwrap.json +480 -516
  126. package/package.json +28 -28
@@ -46,4 +46,4 @@ The command won't return a response on success.
46
46
 
47
47
  ## More information
48
48
 
49
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
49
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -51,4 +51,4 @@ The command won't return a response on success.
51
51
 
52
52
  ## More information
53
53
 
54
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
54
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -89,4 +89,4 @@ m365 spo sitedesign rights list --siteDesignId 2c1ba4c4-cd9b-4417-832f-92a34bc34
89
89
 
90
90
  ## More information
91
91
 
92
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
92
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -53,4 +53,4 @@ The command won't return a response on success.
53
53
 
54
54
  ## More information
55
55
 
56
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
56
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -104,4 +104,4 @@ m365 spo sitedesign run list --webUrl https://contoso.sharepoint.com/sites/team-
104
104
 
105
105
  ## More information
106
106
 
107
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
107
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -101,4 +101,4 @@ m365 spo sitedesign run status get --webUrl https://contoso.sharepoint.com/sites
101
101
 
102
102
  ## More information
103
103
 
104
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
104
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -192,6 +192,6 @@ m365 spo sitedesign set --id 9b142c22-037f-4a7f-9017-e9d8c0e34b98 --webTemplate
192
192
 
193
193
  ## More information
194
194
 
195
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
196
- - Customize a default site design: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/customize-default-site-design](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/customize-default-site-design)
197
- - Site design JSON schema: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema)
195
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
196
+ - Customize a default site design: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/customize-default-site-design](https://learn.microsoft.com/sharepoint/dev/declarative-customization/customize-default-site-design)
197
+ - Site design JSON schema: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-json-schema](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-json-schema)
@@ -90,4 +90,4 @@ m365 spo sitedesign task get --id 6ec3ca5b-d04b-4381-b169-61378556d76e
90
90
 
91
91
  ## More information
92
92
 
93
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
93
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -89,4 +89,4 @@ m365 spo sitedesign task list --webUrl https://contoso.sharepoint.com/sites/team
89
89
 
90
90
  ## More information
91
91
 
92
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
92
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -42,4 +42,4 @@ The command won't return a response on success.
42
42
 
43
43
  ## More information
44
44
 
45
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
45
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -114,4 +114,4 @@ m365 spo sitescript add --title "Contoso" --description "Contoso theme script" -
114
114
 
115
115
  ## More information
116
116
 
117
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
117
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -17,6 +17,9 @@ m365 spo sitescript get [options]
17
17
  ```md definition-list
18
18
  `-i, --id <id>`
19
19
  : Site script ID.
20
+
21
+ `-c, --content`
22
+ : Specify to only retrieve the content of the site script.
20
23
  ```
21
24
 
22
25
  <Global />
@@ -33,8 +36,16 @@ Get information about the site script with the specified ID.
33
36
  m365 spo sitescript get --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a
34
37
  ```
35
38
 
39
+ Returns the site script contents:
40
+
41
+ ```sh
42
+ m365 spo sitescript get --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a --content
43
+ ```
44
+
36
45
  ## Response
37
46
 
47
+ ### Standard response
48
+
38
49
  <Tabs>
39
50
  <TabItem value="JSON">
40
51
 
@@ -67,8 +78,8 @@ m365 spo sitescript get --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a
67
78
  <TabItem value="CSV">
68
79
 
69
80
  ```csv
70
- Id,IsSiteScriptPackage,Title,Version
71
- 43d4ffa0-c7ee-4a97-91d7-db27e5b62de5,false,Contoso,1
81
+ Content,Id,IsSiteScriptPackage,Title,Version
82
+ "{""$schema"":""https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json"",""actions"":[{""verb"":""activateSPFeature"",""name"":""SiteNotebook feature"",""title"":""SiteNotebook feature"",""featureId"":""f151bb39-7c3b-414f-bb36-6bf18872052f"",""scope"":""web""}],""bindata"":{},""version"":1}",43d4ffa0-c7ee-4a97-91d7-db27e5b62de5,false,Contoso,1
72
83
  ```
73
84
 
74
85
  </TabItem>
@@ -83,6 +94,7 @@ m365 spo sitescript get --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a
83
94
 
84
95
  Property | Value
85
96
  ---------|-------
97
+ Content | {"$schema":"https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json","actions":[{"verb":"activateSPFeature","name":"SiteNotebook feature","title":"SiteNotebook feature","featureId":"f151bb39-7c3b-414f-bb36-6bf18872052f","scope":"web"}],"bindata":{},"version":1}
86
98
  Description | Contoso site script
87
99
  Id | 43d4ffa0-c7ee-4a97-91d7-db27e5b62de5
88
100
  IsSiteScriptPackage | false
@@ -93,6 +105,64 @@ m365 spo sitescript get --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a
93
105
  </TabItem>
94
106
  </Tabs>
95
107
 
108
+ ### `content` response
109
+
110
+ When we make use of the option `content` the response will differ.
111
+
112
+ <Tabs>
113
+ <TabItem value="JSON">
114
+
115
+ ```json
116
+ {
117
+ "$schema": "https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json",
118
+ "actions": [
119
+ {
120
+ "verb":"activateSPFeature",
121
+ "name": "SiteNotebook feature",
122
+ "title": "SiteNotebook feature",
123
+ "featureId": "f151bb39-7c3b-414f-bb36-6bf18872052f",
124
+ "scope": "web"
125
+ }
126
+ ],
127
+ "bindata":{},
128
+ "version":1
129
+ }
130
+ ```
131
+
132
+ </TabItem>
133
+ <TabItem value="Text">
134
+
135
+ ```text
136
+ $schema : https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json
137
+ actions : [{"verb":"createSPList","listName":"Customer Tracking","templateType":100,"subactions":[{"verb":"setDescription","description":"List of Customers and Orders"},{"verb":"addSPField","fieldType":"Text","displayName":"Customer Name","isRequired":false,"addToDefaultView":true},{"verb":"addSPField","fieldType":"Number","displayName":"Requisition Total","addToDefaultView":true,"isRequired":true},{"verb":"addSPField","fieldType":"User","displayName":"Contact","addToDefaultView":true,"isRequired":true},{"verb":"addSPField","fieldType":"Note","displayName":"Meeting Notes","isRequired":false}]}]
138
+ version : 1
139
+ ```
140
+
141
+ </TabItem>
142
+ <TabItem value="CSV">
143
+
144
+ ```csv
145
+ $schema,version
146
+ https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json,1
147
+ ```
148
+
149
+ </TabItem>
150
+ <TabItem value="Markdown">
151
+
152
+ ```md
153
+ # spo sitescript get --id "43d4ffa0-c7ee-4a97-91d7-db27e5b62de5" --content "true"
154
+
155
+ Date: 2023-06-22
156
+
157
+ Property | Value
158
+ ---------|-------
159
+ $schema | https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json
160
+ version | 1
161
+ ```
162
+
163
+ </TabItem>
164
+ </Tabs>
165
+
96
166
  ## More information
97
167
 
98
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
168
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -84,4 +84,4 @@ m365 spo sitescript list
84
84
 
85
85
  ## More information
86
86
 
87
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
87
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -46,4 +46,4 @@ The command won't return a response on success.
46
46
 
47
47
  ## More information
48
48
 
49
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
49
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -107,4 +107,4 @@ m365 spo sitescript set --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a --title "Conto
107
107
 
108
108
  ## More information
109
109
 
110
- - SharePoint site design and site script overview: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview)
110
+ - SharePoint site design and site script overview: [https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview](https://learn.microsoft.com/sharepoint/dev/declarative-customization/site-design-overview)
@@ -86,4 +86,4 @@ m365 spo storageentity get -k AnalyticsId
86
86
 
87
87
  ## More information
88
88
 
89
- - SharePoint Framework Tenant Properties: [https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties)
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://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties)
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://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties)
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://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties)
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://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
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://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
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://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
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://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
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://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/remove-pnpuser?view=sharepoint-ps](https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/remove-pnpuser?view=sharepoint-ps)
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://docs.microsoft.com/en-us/previous-versions/office/sharepoint-server/ee545886(v=office.15)](https://docs.microsoft.com/en-us/previous-versions/office/sharepoint-server/ee545886(v=office.15))
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://docs.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0)
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/en-us/graph/cloud-communication-online-meeting-application-access-policy) for the command to work.
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/en-us/graph/cloud-communication-online-meeting-application-access-policy).
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://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0)
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://docs.microsoft.com/en-us/graph/api/teamstab-delete?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/teamstab-delete?view=graph-rest-1.0)
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://docs.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0)
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)
@@ -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://docs.microsoft.com/en-us/graph/api/serviceannouncement-list-issues](https://docs.microsoft.com/en-us/graph/api/serviceannouncement-list-issues)
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://docs.microsoft.com/en-us/graph/api/serviceupdatemessage-get](https://docs.microsoft.com/en-us/graph/api/serviceupdatemessage-get)
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://docs.microsoft.com/en-us/graph/api/serviceannouncement-list-messages](https://docs.microsoft.com/en-us/graph/api/serviceannouncement-list-messages)
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/en-us/graph/api/resources/outlookcategory?view=graph-rest-1.0). It is permissible to use distinct names.
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