@pnp/cli-microsoft365 11.1.0-beta.43467d2 → 11.1.0-beta.53bc672

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 (23) hide show
  1. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.16.0.js +2 -0
  2. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.0.js +2 -0
  3. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.0.js +2 -0
  4. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.19.0.js +2 -0
  5. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.20.0.js +2 -0
  6. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.21.0.js +2 -0
  7. package/docs/docs/cmd/booking/business/business-get.mdx +18 -1
  8. package/docs/docs/cmd/booking/business/business-list.mdx +18 -1
  9. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-add.mdx +19 -0
  10. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-get.mdx +19 -0
  11. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-list.mdx +19 -0
  12. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +21 -0
  13. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-get.mdx +19 -0
  14. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-list.mdx +19 -0
  15. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-remove.mdx +21 -0
  16. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-remove.mdx +21 -0
  17. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-roleassignment-add.mdx +19 -0
  18. package/docs/docs/cmd/entra/organization/organization-list.mdx +19 -2
  19. package/docs/docs/cmd/purview/threatassessment/threatassessment-add.mdx +12 -0
  20. package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +19 -0
  21. package/docs/docs/cmd/purview/threatassessment/threatassessment-list.mdx +19 -0
  22. package/npm-shrinkwrap.json +136 -1
  23. package/package.json +4 -3
@@ -25,6 +25,7 @@ import { FN002001_DEVDEP_microsoft_sp_build_web } from "./rules/FN002001_DEVDEP_
25
25
  import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from "./rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js";
26
26
  import { FN002015_DEVDEP_types_react } from "./rules/FN002015_DEVDEP_types_react.js";
27
27
  import { FN002016_DEVDEP_types_react_dom } from "./rules/FN002016_DEVDEP_types_react_dom.js";
28
+ import { FN002019_DEVDEP_spfx_fast_serve_helpers } from "./rules/FN002019_DEVDEP_spfx_fast_serve_helpers.js";
28
29
  import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from "./rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js";
29
30
  import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from "./rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js";
30
31
  import { FN010001_YORC_version } from "./rules/FN010001_YORC_version.js";
@@ -64,6 +65,7 @@ export default [
64
65
  new FN002002_DEVDEP_microsoft_sp_module_interfaces('1.16.0'),
65
66
  new FN002015_DEVDEP_types_react('17.0.45'),
66
67
  new FN002016_DEVDEP_types_react_dom('17.0.17'),
68
+ new FN002019_DEVDEP_spfx_fast_serve_helpers('1.16.6'),
67
69
  new FN010001_YORC_version('1.16.0'),
68
70
  new FN010008_YORC_nodeVersion(),
69
71
  new FN010009_YORC_sdkVersions_microsoft_graph_client('3.0.2'),
@@ -20,6 +20,7 @@ import { FN001032_DEP_microsoft_sp_page_context } from './rules/FN001032_DEP_mic
20
20
  import { FN001034_DEP_microsoft_sp_adaptive_card_extension_base } from './rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base.js';
21
21
  import { FN002001_DEVDEP_microsoft_sp_build_web } from './rules/FN002001_DEVDEP_microsoft_sp_build_web.js';
22
22
  import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from './rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js';
23
+ import { FN002019_DEVDEP_spfx_fast_serve_helpers } from './rules/FN002019_DEVDEP_spfx_fast_serve_helpers.js';
23
24
  import { FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5 } from './rules/FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5.js';
24
25
  import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from './rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js';
25
26
  import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from './rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js';
@@ -54,6 +55,7 @@ export default [
54
55
  new FN002023_DEVDEP_microsoft_eslint_config_spfx('1.17.0'),
55
56
  new FN002001_DEVDEP_microsoft_sp_build_web('1.17.0'),
56
57
  new FN002002_DEVDEP_microsoft_sp_module_interfaces('1.17.0'),
58
+ new FN002019_DEVDEP_spfx_fast_serve_helpers('1.17.10'),
57
59
  new FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5('0.4.0'),
58
60
  new FN002024_DEVDEP_eslint('8.7.0'),
59
61
  new FN007002_CFG_S_initialPage('https://{tenantDomain}/_layouts/workbench.aspx'),
@@ -22,6 +22,7 @@ import { FN001034_DEP_microsoft_sp_adaptive_card_extension_base } from './rules/
22
22
  import { FN001035_DEP_fluentui_react } from './rules/FN001035_DEP_fluentui_react.js';
23
23
  import { FN002001_DEVDEP_microsoft_sp_build_web } from './rules/FN002001_DEVDEP_microsoft_sp_build_web.js';
24
24
  import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from './rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js';
25
+ import { FN002019_DEVDEP_spfx_fast_serve_helpers } from './rules/FN002019_DEVDEP_spfx_fast_serve_helpers.js';
25
26
  import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from './rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js';
26
27
  import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from './rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js';
27
28
  import { FN002026_DEVDEP_typescript } from './rules/FN002026_DEVDEP_typescript.js';
@@ -55,6 +56,7 @@ export default [
55
56
  new FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.18.0'),
56
57
  new FN002001_DEVDEP_microsoft_sp_build_web('1.18.0'),
57
58
  new FN002002_DEVDEP_microsoft_sp_module_interfaces('1.18.0'),
59
+ new FN002019_DEVDEP_spfx_fast_serve_helpers('1.18.14'),
58
60
  new FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.18.0'),
59
61
  new FN002023_DEVDEP_microsoft_eslint_config_spfx('1.18.0'),
60
62
  new FN002026_DEVDEP_typescript('4.7.4'),
@@ -20,6 +20,7 @@ import { FN001032_DEP_microsoft_sp_page_context } from './rules/FN001032_DEP_mic
20
20
  import { FN001034_DEP_microsoft_sp_adaptive_card_extension_base } from './rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base.js';
21
21
  import { FN002001_DEVDEP_microsoft_sp_build_web } from './rules/FN002001_DEVDEP_microsoft_sp_build_web.js';
22
22
  import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from './rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js';
23
+ import { FN002019_DEVDEP_spfx_fast_serve_helpers } from './rules/FN002019_DEVDEP_spfx_fast_serve_helpers.js';
23
24
  import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from './rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js';
24
25
  import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from './rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js';
25
26
  import { FN010001_YORC_version } from './rules/FN010001_YORC_version.js';
@@ -46,6 +47,7 @@ export default [
46
47
  new FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.19.0'),
47
48
  new FN002001_DEVDEP_microsoft_sp_build_web('1.20.1'),
48
49
  new FN002002_DEVDEP_microsoft_sp_module_interfaces('1.20.1'),
50
+ new FN002019_DEVDEP_spfx_fast_serve_helpers('1.19.6'),
49
51
  new FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.20.1'),
50
52
  new FN002023_DEVDEP_microsoft_eslint_config_spfx('1.20.1'),
51
53
  new FN010001_YORC_version('1.19.0')
@@ -20,6 +20,7 @@ import { FN001032_DEP_microsoft_sp_page_context } from './rules/FN001032_DEP_mic
20
20
  import { FN001034_DEP_microsoft_sp_adaptive_card_extension_base } from './rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base.js';
21
21
  import { FN002001_DEVDEP_microsoft_sp_build_web } from './rules/FN002001_DEVDEP_microsoft_sp_build_web.js';
22
22
  import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from './rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js';
23
+ import { FN002019_DEVDEP_spfx_fast_serve_helpers } from './rules/FN002019_DEVDEP_spfx_fast_serve_helpers.js';
23
24
  import { FN002021_DEVDEP_rushstack_eslint_config } from './rules/FN002021_DEVDEP_rushstack_eslint_config.js';
24
25
  import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from './rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js';
25
26
  import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from './rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js';
@@ -49,6 +50,7 @@ export default [
49
50
  new FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.20.0'),
50
51
  new FN002001_DEVDEP_microsoft_sp_build_web('1.20.2'),
51
52
  new FN002002_DEVDEP_microsoft_sp_module_interfaces('1.20.2'),
53
+ new FN002019_DEVDEP_spfx_fast_serve_helpers('1.20.4'),
52
54
  new FN002024_DEVDEP_eslint('8.57.0'),
53
55
  new FN002021_DEVDEP_rushstack_eslint_config('4.0.1'),
54
56
  new FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.20.2'),
@@ -20,6 +20,7 @@ import { FN001032_DEP_microsoft_sp_page_context } from './rules/FN001032_DEP_mic
20
20
  import { FN001034_DEP_microsoft_sp_adaptive_card_extension_base } from './rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base.js';
21
21
  import { FN002001_DEVDEP_microsoft_sp_build_web } from './rules/FN002001_DEVDEP_microsoft_sp_build_web.js';
22
22
  import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from './rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js';
23
+ import { FN002019_DEVDEP_spfx_fast_serve_helpers } from './rules/FN002019_DEVDEP_spfx_fast_serve_helpers.js';
23
24
  import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from './rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js';
24
25
  import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from './rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js';
25
26
  import { FN002024_DEVDEP_eslint } from './rules/FN002024_DEVDEP_eslint.js';
@@ -51,6 +52,7 @@ export default [
51
52
  new FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.21.0'),
52
53
  new FN002001_DEVDEP_microsoft_sp_build_web('1.21.0'),
53
54
  new FN002002_DEVDEP_microsoft_sp_module_interfaces('1.21.0'),
55
+ new FN002019_DEVDEP_spfx_fast_serve_helpers('1.21.1'),
54
56
  new FN002024_DEVDEP_eslint('8.57.1'),
55
57
  new FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.21.0'),
56
58
  new FN002023_DEVDEP_microsoft_eslint_config_spfx('1.21.0'),
@@ -24,6 +24,24 @@ m365 booking business get [options]
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Permissions
28
+ <Tabs>
29
+ <TabItem value="Delegated">
30
+
31
+ | Resource | Permissions |
32
+ |-----------------|-------------------|
33
+ | Microsoft Graph | Bookings.Read.All |
34
+
35
+ </TabItem>
36
+ <TabItem value="Application">
37
+
38
+ | Resource | Permissions |
39
+ |-----------------|-----------------------------------|
40
+ | Microsoft Graph | BookingsAppointment.ReadWrite.All |
41
+
42
+ </TabItem>
43
+ </Tabs>
44
+
27
45
  ## Examples
28
46
 
29
47
  Retrieve the specified Microsoft Bookings business with the specified id.
@@ -186,4 +204,3 @@ m365 booking business get --name 'business name'
186
204
 
187
205
  </TabItem>
188
206
  </Tabs>
189
-
@@ -16,6 +16,24 @@ m365 booking business list [options]
16
16
 
17
17
  <Global />
18
18
 
19
+ ## Permissions
20
+ <Tabs>
21
+ <TabItem value="Delegated">
22
+
23
+ | Resource | Permissions |
24
+ |-----------------|-------------------|
25
+ | Microsoft Graph | Bookings.Read.All |
26
+
27
+ </TabItem>
28
+ <TabItem value="Application">
29
+
30
+ | Resource | Permissions |
31
+ |-----------------|-----------------------------------|
32
+ | Microsoft Graph | BookingsAppointment.ReadWrite.All |
33
+
34
+ </TabItem>
35
+ </Tabs>
36
+
19
37
  ## Examples
20
38
 
21
39
  Returns a list of all Microsoft Bookings businesses that are created for the tenant.
@@ -73,4 +91,3 @@ m365 booking business list
73
91
 
74
92
  </TabItem>
75
93
  </Tabs>
76
-
@@ -35,6 +35,25 @@ To use this command you must be either **Global Administrator** or **Privileged
35
35
 
36
36
  :::
37
37
 
38
+ ## Permissions
39
+
40
+ <Tabs>
41
+ <TabItem value="Delegated">
42
+
43
+ | Resource | Permissions |
44
+ |-----------------|----------------------------------|
45
+ | Microsoft Graph | AdministrativeUnit.ReadWrite.All |
46
+
47
+ </TabItem>
48
+ <TabItem value="Application">
49
+
50
+ | Resource | Permissions |
51
+ |-----------------|----------------------------------|
52
+ | Microsoft Graph | AdministrativeUnit.ReadWrite.All |
53
+
54
+ </TabItem>
55
+ </Tabs>
56
+
38
57
  ## Examples
39
58
 
40
59
  Create an administrative unit with a specific display name
@@ -31,6 +31,25 @@ m365 entra administrativeunit get [options]
31
31
 
32
32
  Using the `--properties` option, you can specify a comma-separated list of administrative unit properties to retrieve from the Microsoft Graph. If you don't specify any properties, the command will output the default properties returned by Graph.
33
33
 
34
+ ## Permissions
35
+
36
+ <Tabs>
37
+ <TabItem value="Delegated">
38
+
39
+ | Resource | Permissions |
40
+ |-----------------|-----------------------------|
41
+ | Microsoft Graph | AdministrativeUnit.Read.All |
42
+
43
+ </TabItem>
44
+ <TabItem value="Application">
45
+
46
+ | Resource | Permissions |
47
+ |-----------------|-----------------------------|
48
+ | Microsoft Graph | AdministrativeUnit.Read.All |
49
+
50
+ </TabItem>
51
+ </Tabs>
52
+
34
53
  ## Examples
35
54
 
36
55
  Get information about the administrative unit by its id.
@@ -25,6 +25,25 @@ m365 entra administrativeunit list [options]
25
25
 
26
26
  Using the `--properties` option, you can specify a comma-separated list of administrative unit properties to retrieve from the Microsoft Graph. If you don't specify any properties, the command will output the default properties returned by Graph.
27
27
 
28
+ ## Permissions
29
+
30
+ <Tabs>
31
+ <TabItem value="Delegated">
32
+
33
+ | Resource | Permissions |
34
+ |-----------------|-----------------------------|
35
+ | Microsoft Graph | AdministrativeUnit.Read.All |
36
+
37
+ </TabItem>
38
+ <TabItem value="Application">
39
+
40
+ | Resource | Permissions |
41
+ |-----------------|-----------------------------|
42
+ | Microsoft Graph | AdministrativeUnit.Read.All |
43
+
44
+ </TabItem>
45
+ </Tabs>
46
+
28
47
  ## Examples
29
48
 
30
49
  Retrieve a list of administrative units.
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # entra administrativeunit member add
4
6
 
@@ -48,6 +50,25 @@ To use this command you must be either **Global Administrator** or **Privileged
48
50
 
49
51
  :::
50
52
 
53
+ ## Permissions
54
+
55
+ <Tabs>
56
+ <TabItem value="Delegated">
57
+
58
+ | Resource | Permissions |
59
+ |-----------------|----------------------------------|
60
+ | Microsoft Graph | AdministrativeUnit.ReadWrite.All |
61
+
62
+ </TabItem>
63
+ <TabItem value="Application">
64
+
65
+ | Resource | Permissions |
66
+ |-----------------|----------------------------------|
67
+ | Microsoft Graph | AdministrativeUnit.ReadWrite.All |
68
+
69
+ </TabItem>
70
+ </Tabs>
71
+
51
72
  ## Examples
52
73
 
53
74
  Add a single user specified by id to an administrative unit specified by id
@@ -36,6 +36,25 @@ To get the member of a hidden membership in an administrative unit, the `Member.
36
36
 
37
37
  When the `properties` option includes values with a `/`, for example: `manager/displayName`, an additional `$expand` query parameter will be included on manager.
38
38
 
39
+ ## Permissions
40
+
41
+ <Tabs>
42
+ <TabItem value="Delegated">
43
+
44
+ | Resource | Permissions |
45
+ |-----------------|-----------------------------|
46
+ | Microsoft Graph | AdministrativeUnit.Read.All |
47
+
48
+ </TabItem>
49
+ <TabItem value="Application">
50
+
51
+ | Resource | Permissions |
52
+ |-----------------|-----------------------------|
53
+ | Microsoft Graph | AdministrativeUnit.Read.All |
54
+
55
+ </TabItem>
56
+ </Tabs>
57
+
39
58
  ## Examples
40
59
 
41
60
  Get information about a member specified by id from an administrative unit specified by id
@@ -39,6 +39,25 @@ To list the members of a hidden membership in an administrative unit, the `Membe
39
39
 
40
40
  When the `properties` option includes values with a `/`, for example: `manager/displayName`, an additional `$expand` query parameter will be included on manager.
41
41
 
42
+ ## Permissions
43
+
44
+ <Tabs>
45
+ <TabItem value="Delegated">
46
+
47
+ | Resource | Permissions |
48
+ |-----------------|-----------------------------|
49
+ | Microsoft Graph | AdministrativeUnit.Read.All |
50
+
51
+ </TabItem>
52
+ <TabItem value="Application">
53
+
54
+ | Resource | Permissions |
55
+ |-----------------|-----------------------------|
56
+ | Microsoft Graph | AdministrativeUnit.Read.All |
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
42
61
  ## Examples
43
62
 
44
63
  List members of an administrative unit specified by id
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # entra administrativeunit member remove
4
6
 
@@ -54,6 +56,25 @@ To use this command you must be either **Global Administrator** or **Privileged
54
56
 
55
57
  :::
56
58
 
59
+ ## Permissions
60
+
61
+ <Tabs>
62
+ <TabItem value="Delegated">
63
+
64
+ | Resource | Permissions |
65
+ |-----------------|----------------------------------|
66
+ | Microsoft Graph | AdministrativeUnit.ReadWrite.All |
67
+
68
+ </TabItem>
69
+ <TabItem value="Application">
70
+
71
+ | Resource | Permissions |
72
+ |-----------------|----------------------------------|
73
+ | Microsoft Graph | AdministrativeUnit.ReadWrite.All |
74
+
75
+ </TabItem>
76
+ </Tabs>
77
+
57
78
  ## Examples
58
79
 
59
80
  Remove a member specified by id from an administrative unit specified by id
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # entra administrativeunit remove
4
6
 
@@ -33,6 +35,25 @@ To use this command you must be either **Global Administrator** or **Privileged
33
35
 
34
36
  :::
35
37
 
38
+ ## Permissions
39
+
40
+ <Tabs>
41
+ <TabItem value="Delegated">
42
+
43
+ | Resource | Permissions |
44
+ |-----------------|----------------------------------|
45
+ | Microsoft Graph | AdministrativeUnit.ReadWrite.All |
46
+
47
+ </TabItem>
48
+ <TabItem value="Application">
49
+
50
+ | Resource | Permissions |
51
+ |-----------------|----------------------------------|
52
+ | Microsoft Graph | AdministrativeUnit.ReadWrite.All |
53
+
54
+ </TabItem>
55
+ </Tabs>
56
+
36
57
  ## Examples
37
58
 
38
59
  Remove an administrative unit by its id
@@ -44,6 +44,25 @@ To use this command you must be either **Global Administrator** or **Privileged
44
44
 
45
45
  :::
46
46
 
47
+ ## Permissions
48
+
49
+ <Tabs>
50
+ <TabItem value="Delegated">
51
+
52
+ | Resource | Permissions |
53
+ |-----------------|------------------------------------|
54
+ | Microsoft Graph | RoleManagement.ReadWrite.Directory |
55
+
56
+ </TabItem>
57
+ <TabItem value="Application">
58
+
59
+ | Resource | Permissions |
60
+ |-----------------|------------------------------------|
61
+ | Microsoft Graph | RoleManagement.ReadWrite.Directory |
62
+
63
+ </TabItem>
64
+ </Tabs>
65
+
47
66
  ## Examples
48
67
 
49
68
  Assign a role definition specified by id to a user specified by id for an administrative unit specified by id
@@ -21,7 +21,24 @@ m365 entra organization list [options]
21
21
 
22
22
  <Global />
23
23
 
24
- ## Remarks
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |-----------------|----------------------------------|
31
+ | Microsoft Graph | User.Read, Organization.Read.All |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |-----------------|----------------------------|
38
+ | Microsoft Graph | Organization.Read.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
25
42
 
26
43
  :::info
27
44
 
@@ -151,4 +168,4 @@ m365 entra organization list --properties 'id,displayName,tenantType'
151
168
 
152
169
  ## More information
153
170
 
154
- - Organization: https://learn.microsoft.com/graph/api/organization-list
171
+ - Organization: https://learn.microsoft.com/graph/api/organization-list
@@ -33,6 +33,18 @@ m365 purview threatassessment add [options]
33
33
 
34
34
  <Global />
35
35
 
36
+ ## Permissions
37
+
38
+ <Tabs>
39
+ <TabItem value="Delegated">
40
+
41
+ | Resource | Permissions |
42
+ |-----------------|--------------------------------|
43
+ | Microsoft Graph | ThreatAssessment.ReadWrite.All |
44
+
45
+ </TabItem>
46
+ </Tabs>
47
+
36
48
  ## Remarks
37
49
 
38
50
  :::info
@@ -24,6 +24,25 @@ m365 purview threatassessment get [options]
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Permissions
28
+
29
+ <Tabs>
30
+ <TabItem value="Delegated">
31
+
32
+ | Resource | Permissions |
33
+ |-----------------|--------------------------------|
34
+ | Microsoft Graph | ThreatAssessment.ReadWrite.All |
35
+
36
+ </TabItem>
37
+ <TabItem value="Application">
38
+
39
+ | Resource | Permissions |
40
+ |-----------------|--------------------------------|
41
+ | Microsoft Graph | ThreatAssessment.Read.All |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
27
46
  ## Examples
28
47
 
29
48
  Get a threat assessment.
@@ -21,6 +21,25 @@ m365 purview threatassessment list [options]
21
21
 
22
22
  <Global />
23
23
 
24
+ ## Permissions
25
+
26
+ <Tabs>
27
+ <TabItem value="Delegated">
28
+
29
+ | Resource | Permissions |
30
+ |-----------------|--------------------------------|
31
+ | Microsoft Graph | ThreatAssessment.ReadWrite.All |
32
+
33
+ </TabItem>
34
+ <TabItem value="Application">
35
+
36
+ | Resource | Permissions |
37
+ |-----------------|--------------------------------|
38
+ | Microsoft Graph | ThreatAssessment.Read.All |
39
+
40
+ </TabItem>
41
+ </Tabs>
42
+
24
43
  ## Examples
25
44
 
26
45
  Get a list of threat assessments
@@ -73,7 +73,8 @@
73
73
  "mocha": "^11.7.4",
74
74
  "rimraf": "^6.0.1",
75
75
  "sinon": "^21.0.0",
76
- "source-map-support": "^0.5.21"
76
+ "source-map-support": "^0.5.21",
77
+ "tsc-watch": "^7.2.0"
77
78
  }
78
79
  },
79
80
  "eslint-rules": {
@@ -3522,6 +3523,13 @@
3522
3523
  "node": ">= 0.4"
3523
3524
  }
3524
3525
  },
3526
+ "node_modules/duplexer": {
3527
+ "version": "0.1.2",
3528
+ "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz",
3529
+ "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==",
3530
+ "dev": true,
3531
+ "license": "MIT"
3532
+ },
3525
3533
  "node_modules/eastasianwidth": {
3526
3534
  "version": "0.2.0",
3527
3535
  "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
@@ -3899,6 +3907,22 @@
3899
3907
  "node": ">=0.10.0"
3900
3908
  }
3901
3909
  },
3910
+ "node_modules/event-stream": {
3911
+ "version": "3.3.4",
3912
+ "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz",
3913
+ "integrity": "sha512-QHpkERcGsR0T7Qm3HNJSyXKEEj8AHNxkY3PK8TS2KJvQ7NiSHe3DDpwVKKtoYprL/AreyzFBeIkBIWChAqn60g==",
3914
+ "dev": true,
3915
+ "license": "MIT",
3916
+ "dependencies": {
3917
+ "duplexer": "~0.1.1",
3918
+ "from": "~0",
3919
+ "map-stream": "~0.1.0",
3920
+ "pause-stream": "0.0.11",
3921
+ "split": "0.3",
3922
+ "stream-combiner": "~0.0.4",
3923
+ "through": "~2.3.1"
3924
+ }
3925
+ },
3902
3926
  "node_modules/execa": {
3903
3927
  "version": "9.6.0",
3904
3928
  "resolved": "https://registry.npmjs.org/execa/-/execa-9.6.0.tgz",
@@ -4182,6 +4206,13 @@
4182
4206
  "integrity": "sha512-alTFZZQDKMporBH77856pXgzhEzaUVmLCDk+egLgIgHst3Tpndzz8MnKe+GzRJRfvVdn69HhpW7cmXzvtLvJAw==",
4183
4207
  "license": "MIT"
4184
4208
  },
4209
+ "node_modules/from": {
4210
+ "version": "0.1.7",
4211
+ "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz",
4212
+ "integrity": "sha512-twe20eF1OxVxp/ML/kq2p1uc6KvFK/+vs8WjEbeKmV2He22MKm7YF2ANIt+EOqhJ5L3K/SuuPhk0hWQDjOM23g==",
4213
+ "dev": true,
4214
+ "license": "MIT"
4215
+ },
4185
4216
  "node_modules/function-bind": {
4186
4217
  "version": "1.1.2",
4187
4218
  "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
@@ -5153,6 +5184,12 @@
5153
5184
  "url": "https://github.com/sponsors/sindresorhus"
5154
5185
  }
5155
5186
  },
5187
+ "node_modules/map-stream": {
5188
+ "version": "0.1.0",
5189
+ "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.1.0.tgz",
5190
+ "integrity": "sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==",
5191
+ "dev": true
5192
+ },
5156
5193
  "node_modules/math-intrinsics": {
5157
5194
  "version": "1.1.0",
5158
5195
  "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
@@ -5346,6 +5383,13 @@
5346
5383
  "dev": true,
5347
5384
  "license": "MIT"
5348
5385
  },
5386
+ "node_modules/node-cleanup": {
5387
+ "version": "2.1.2",
5388
+ "resolved": "https://registry.npmjs.org/node-cleanup/-/node-cleanup-2.1.2.tgz",
5389
+ "integrity": "sha512-qN8v/s2PAJwGUtr1/hYTpNKlD6Y9rc4p8KSmJXyGdYGZsDGKXrGThikLFP9OCHFeLeEpQzPwiAtdIvBLqm//Hw==",
5390
+ "dev": true,
5391
+ "license": "MIT"
5392
+ },
5349
5393
  "node_modules/node-forge": {
5350
5394
  "version": "1.3.1",
5351
5395
  "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz",
@@ -5558,6 +5602,19 @@
5558
5602
  "dev": true,
5559
5603
  "license": "ISC"
5560
5604
  },
5605
+ "node_modules/pause-stream": {
5606
+ "version": "0.0.11",
5607
+ "resolved": "https://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz",
5608
+ "integrity": "sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==",
5609
+ "dev": true,
5610
+ "license": [
5611
+ "MIT",
5612
+ "Apache2"
5613
+ ],
5614
+ "dependencies": {
5615
+ "through": "~2.3"
5616
+ }
5617
+ },
5561
5618
  "node_modules/pg-int8": {
5562
5619
  "version": "1.0.1",
5563
5620
  "resolved": "https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz",
@@ -5715,6 +5772,22 @@
5715
5772
  "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
5716
5773
  "license": "MIT"
5717
5774
  },
5775
+ "node_modules/ps-tree": {
5776
+ "version": "1.2.0",
5777
+ "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.2.0.tgz",
5778
+ "integrity": "sha512-0VnamPPYHl4uaU/nSFeZZpR21QAWRz+sRv4iW9+v/GS/J5U5iZB5BNN6J0RMoOvdx2gWM2+ZFMIm58q24e4UYA==",
5779
+ "dev": true,
5780
+ "license": "MIT",
5781
+ "dependencies": {
5782
+ "event-stream": "=3.3.4"
5783
+ },
5784
+ "bin": {
5785
+ "ps-tree": "bin/ps-tree.js"
5786
+ },
5787
+ "engines": {
5788
+ "node": ">= 0.10"
5789
+ }
5790
+ },
5718
5791
  "node_modules/punycode": {
5719
5792
  "version": "2.3.1",
5720
5793
  "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
@@ -6194,6 +6267,29 @@
6194
6267
  "source-map": "^0.6.0"
6195
6268
  }
6196
6269
  },
6270
+ "node_modules/split": {
6271
+ "version": "0.3.3",
6272
+ "resolved": "https://registry.npmjs.org/split/-/split-0.3.3.tgz",
6273
+ "integrity": "sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA==",
6274
+ "dev": true,
6275
+ "license": "MIT",
6276
+ "dependencies": {
6277
+ "through": "2"
6278
+ },
6279
+ "engines": {
6280
+ "node": "*"
6281
+ }
6282
+ },
6283
+ "node_modules/stream-combiner": {
6284
+ "version": "0.0.4",
6285
+ "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz",
6286
+ "integrity": "sha512-rT00SPnTVyRsaSz5zgSPma/aHSOic5U1prhYdRy5HS2kTZviFpmDgzilbtsJsxiroqACmayynDN/9VzIbX5DOw==",
6287
+ "dev": true,
6288
+ "license": "MIT",
6289
+ "dependencies": {
6290
+ "duplexer": "~0.1.1"
6291
+ }
6292
+ },
6197
6293
  "node_modules/string_decoder": {
6198
6294
  "version": "1.3.0",
6199
6295
  "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
@@ -6203,6 +6299,16 @@
6203
6299
  "safe-buffer": "~5.2.0"
6204
6300
  }
6205
6301
  },
6302
+ "node_modules/string-argv": {
6303
+ "version": "0.3.2",
6304
+ "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz",
6305
+ "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==",
6306
+ "dev": true,
6307
+ "license": "MIT",
6308
+ "engines": {
6309
+ "node": ">=0.6.19"
6310
+ }
6311
+ },
6206
6312
  "node_modules/string-width": {
6207
6313
  "version": "5.1.2",
6208
6314
  "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
@@ -6412,6 +6518,13 @@
6412
6518
  "node": ">=18"
6413
6519
  }
6414
6520
  },
6521
+ "node_modules/through": {
6522
+ "version": "2.3.8",
6523
+ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
6524
+ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==",
6525
+ "dev": true,
6526
+ "license": "MIT"
6527
+ },
6415
6528
  "node_modules/to-regex-range": {
6416
6529
  "version": "5.0.1",
6417
6530
  "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
@@ -6447,6 +6560,28 @@
6447
6560
  "typescript": ">=4.8.4"
6448
6561
  }
6449
6562
  },
6563
+ "node_modules/tsc-watch": {
6564
+ "version": "7.2.0",
6565
+ "resolved": "https://registry.npmjs.org/tsc-watch/-/tsc-watch-7.2.0.tgz",
6566
+ "integrity": "sha512-4gRFawQD1cVSaILvG7wl2x6NtteKbS2dGBMbL7Q6n1ldLIOKXCJUoEwUXdGuee4dp+zcnA6tukBBLz1lZrNI9w==",
6567
+ "dev": true,
6568
+ "license": "MIT",
6569
+ "dependencies": {
6570
+ "cross-spawn": "^7.0.6",
6571
+ "node-cleanup": "^2.1.2",
6572
+ "ps-tree": "^1.2.0",
6573
+ "string-argv": "^0.3.2"
6574
+ },
6575
+ "bin": {
6576
+ "tsc-watch": "dist/lib/tsc-watch.js"
6577
+ },
6578
+ "engines": {
6579
+ "node": ">=12.12.0"
6580
+ },
6581
+ "peerDependencies": {
6582
+ "typescript": "*"
6583
+ }
6584
+ },
6450
6585
  "node_modules/tslib": {
6451
6586
  "version": "2.8.1",
6452
6587
  "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "11.1.0-beta.43467d2",
3
+ "version": "11.1.0-beta.53bc672",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -22,7 +22,7 @@
22
22
  "type": "module",
23
23
  "scripts": {
24
24
  "build": "tsc -p . && node scripts/write-all-commands.js && node scripts/copy-files.js",
25
- "watch": "tsc -w -p .",
25
+ "watch": "tsc-watch --onSuccess \"node scripts/write-all-commands.js\"",
26
26
  "clean": "rimraf ./dist",
27
27
  "test": "npm run test:version && npm run lint && npm run test:cov",
28
28
  "test:version": "node scripts/check-version.js",
@@ -320,6 +320,7 @@
320
320
  "mocha": "^11.7.4",
321
321
  "rimraf": "^6.0.1",
322
322
  "sinon": "^21.0.0",
323
- "source-map-support": "^0.5.21"
323
+ "source-map-support": "^0.5.21",
324
+ "tsc-watch": "^7.2.0"
324
325
  }
325
326
  }