@pnp/cli-microsoft365 7.0.0-beta.4ebf3ad → 7.0.0-beta.669444a

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 (167) hide show
  1. package/.eslintrc.cjs +1 -1
  2. package/dist/Auth.js +2 -1
  3. package/dist/Command.js +1 -1
  4. package/dist/cli/Cli.js +19 -2
  5. package/dist/m365/aad/commands/{o365group/o365group-add.js → m365group/m365group-add.js} +17 -17
  6. package/dist/m365/aad/commands/{o365group/o365group-conversation-list.js → m365group/m365group-conversation-list.js} +10 -10
  7. package/dist/m365/aad/commands/{o365group/o365group-conversation-post-list.js → m365group/m365group-conversation-post-list.js} +14 -14
  8. package/dist/m365/aad/commands/{o365group/o365group-get.js → m365group/m365group-get.js} +13 -10
  9. package/dist/m365/aad/commands/{o365group/o365group-list.js → m365group/m365group-list.js} +13 -28
  10. package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-clear.js → m365group/m365group-recyclebinitem-clear.js} +15 -15
  11. package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-list.js → m365group/m365group-recyclebinitem-list.js} +10 -10
  12. package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-remove.js → m365group/m365group-recyclebinitem-remove.js} +14 -14
  13. package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-restore.js → m365group/m365group-recyclebinitem-restore.js} +14 -14
  14. package/dist/m365/aad/commands/{o365group/o365group-remove.js → m365group/m365group-remove.js} +12 -12
  15. package/dist/m365/aad/commands/{o365group/o365group-renew.js → m365group/m365group-renew.js} +10 -10
  16. package/dist/m365/aad/commands/{o365group/o365group-report-activitycounts.js → m365group/m365group-report-activitycounts.js} +4 -4
  17. package/dist/m365/aad/commands/{o365group/o365group-report-activitydetail.js → m365group/m365group-report-activitydetail.js} +4 -4
  18. package/dist/m365/aad/commands/{o365group/o365group-report-activityfilecounts.js → m365group/m365group-report-activityfilecounts.js} +4 -4
  19. package/dist/m365/aad/commands/{o365group/o365group-report-activitygroupcounts.js → m365group/m365group-report-activitygroupcounts.js} +4 -4
  20. package/dist/m365/aad/commands/{o365group/o365group-report-activitystorage.js → m365group/m365group-report-activitystorage.js} +4 -4
  21. package/dist/m365/aad/commands/{o365group/o365group-set.js → m365group/m365group-set.js} +17 -17
  22. package/dist/m365/aad/commands/{o365group/o365group-teamify.js → m365group/m365group-teamify.js} +14 -14
  23. package/dist/m365/aad/commands/{o365group/o365group-user-add.js → m365group/m365group-user-add.js} +14 -14
  24. package/dist/m365/aad/commands/{o365group/o365group-user-list.js → m365group/m365group-user-list.js} +12 -12
  25. package/dist/m365/aad/commands/{o365group/o365group-user-remove.js → m365group/m365group-user-remove.js} +14 -14
  26. package/dist/m365/aad/commands/{o365group/o365group-user-set.js → m365group/m365group-user-set.js} +15 -15
  27. package/dist/m365/aad/commands.js +22 -22
  28. package/dist/m365/cli/commands/config/config-list.js +16 -0
  29. package/dist/m365/cli/commands.js +1 -0
  30. package/dist/m365/pa/commands/app/app-permission-ensure.js +162 -0
  31. package/dist/m365/pa/commands/app/app-permission-list.js +2 -2
  32. package/dist/m365/pa/commands/app/app-permission-remove.js +153 -0
  33. package/dist/m365/pa/commands.js +2 -0
  34. package/dist/m365/planner/commands/bucket/bucket-add.js +2 -2
  35. package/dist/m365/planner/commands/bucket/bucket-get.js +2 -2
  36. package/dist/m365/planner/commands/bucket/bucket-list.js +2 -2
  37. package/dist/m365/planner/commands/bucket/bucket-remove.js +2 -2
  38. package/dist/m365/planner/commands/bucket/bucket-set.js +2 -2
  39. package/dist/m365/planner/commands/plan/plan-get.js +1 -2
  40. package/dist/m365/planner/commands/plan/plan-list.js +4 -5
  41. package/dist/m365/planner/commands/plan/plan-set.js +2 -2
  42. package/dist/m365/spfx/commands/project/project-externalize/rules/PnPJsRule.js +2 -2
  43. package/dist/m365/spfx/commands/spfx-doctor.js +73 -103
  44. package/dist/m365/spo/commands/file/file-add.js +13 -13
  45. package/dist/m365/spo/commands/file/file-checkin.js +1 -1
  46. package/dist/m365/spo/commands/file/file-checkout.js +1 -1
  47. package/dist/m365/spo/commands/file/file-copy.js +36 -4
  48. package/dist/m365/spo/commands/file/file-list.js +4 -4
  49. package/dist/m365/spo/commands/file/file-move.js +74 -98
  50. package/dist/m365/spo/commands/file/file-remove.js +6 -6
  51. package/dist/m365/spo/commands/file/file-rename.js +2 -2
  52. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +1 -1
  53. package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +1 -1
  54. package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
  55. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +1 -1
  56. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
  57. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
  58. package/dist/m365/spo/commands/file/file-version-clear.js +1 -1
  59. package/dist/m365/spo/commands/file/file-version-get.js +1 -1
  60. package/dist/m365/spo/commands/file/file-version-list.js +1 -1
  61. package/dist/m365/spo/commands/file/file-version-remove.js +1 -1
  62. package/dist/m365/spo/commands/file/file-version-restore.js +1 -1
  63. package/dist/m365/spo/commands/folder/folder-add.js +2 -4
  64. package/dist/m365/spo/commands/folder/folder-copy.js +89 -45
  65. package/dist/m365/spo/commands/folder/folder-get.js +1 -1
  66. package/dist/m365/spo/commands/folder/folder-list.js +2 -2
  67. package/dist/m365/spo/commands/folder/folder-move.js +89 -47
  68. package/dist/m365/spo/commands/folder/folder-remove.js +7 -4
  69. package/dist/m365/spo/commands/folder/folder-rename.js +13 -17
  70. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
  71. package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +1 -1
  72. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +1 -1
  73. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +1 -1
  74. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +1 -1
  75. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +1 -1
  76. package/dist/m365/spo/commands/group/group-list.js +0 -1
  77. package/dist/m365/spo/commands/navigation/navigation-node-set.js +2 -2
  78. package/dist/m365/spo/commands/site/site-set.js +2 -2
  79. package/dist/m365/spo/commands/theme/theme-list.js +1 -9
  80. package/dist/utils/planner.js +4 -3
  81. package/dist/utils/spo.js +13 -54
  82. package/docs/docs/cmd/aad/{o365group/o365group-add.mdx → m365group/m365group-add.mdx} +13 -13
  83. package/docs/docs/cmd/aad/{o365group/o365group-conversation-list.mdx → m365group/m365group-conversation-list.mdx} +4 -4
  84. package/docs/docs/cmd/aad/{o365group/o365group-conversation-post-list.mdx → m365group/m365group-conversation-post-list.mdx} +8 -8
  85. package/docs/docs/cmd/aad/{o365group/o365group-get.mdx → m365group/m365group-get.mdx} +6 -6
  86. package/docs/docs/cmd/aad/{o365group/o365group-list.mdx → m365group/m365group-list.mdx} +12 -29
  87. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-clear.mdx → m365group/m365group-recyclebinitem-clear.mdx} +5 -5
  88. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-list.mdx → m365group/m365group-recyclebinitem-list.mdx} +8 -8
  89. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-remove.mdx → m365group/m365group-recyclebinitem-remove.mdx} +6 -6
  90. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-restore.mdx → m365group/m365group-recyclebinitem-restore.mdx} +6 -6
  91. package/docs/docs/cmd/aad/{o365group/o365group-remove.mdx → m365group/m365group-remove.mdx} +6 -6
  92. package/docs/docs/cmd/aad/{o365group/o365group-renew.mdx → m365group/m365group-renew.mdx} +4 -4
  93. package/docs/docs/cmd/aad/{o365group/o365group-report-activitycounts.mdx → m365group/m365group-report-activitycounts.mdx} +6 -6
  94. package/docs/docs/cmd/aad/{o365group/o365group-report-activitydetail.mdx → m365group/m365group-report-activitydetail.mdx} +7 -7
  95. package/docs/docs/cmd/aad/{o365group/o365group-report-activityfilecounts.mdx → m365group/m365group-report-activityfilecounts.mdx} +6 -6
  96. package/docs/docs/cmd/aad/{o365group/o365group-report-activitygroupcounts.mdx → m365group/m365group-report-activitygroupcounts.mdx} +6 -6
  97. package/docs/docs/cmd/aad/{o365group/o365group-report-activitystorage.mdx → m365group/m365group-report-activitystorage.mdx} +6 -6
  98. package/docs/docs/cmd/aad/{o365group/o365group-set.mdx → m365group/m365group-set.mdx} +8 -8
  99. package/docs/docs/cmd/aad/{o365group/o365group-teamify.mdx → m365group/m365group-teamify.mdx} +5 -5
  100. package/docs/docs/cmd/aad/{o365group/o365group-user-add.mdx → m365group/m365group-user-add.mdx} +5 -5
  101. package/docs/docs/cmd/aad/{o365group/o365group-user-list.mdx → m365group/m365group-user-list.mdx} +7 -7
  102. package/docs/docs/cmd/aad/{o365group/o365group-user-remove.mdx → m365group/m365group-user-remove.mdx} +5 -5
  103. package/docs/docs/cmd/aad/{o365group/o365group-user-set.mdx → m365group/m365group-user-set.mdx} +5 -5
  104. package/docs/docs/cmd/aad/user/user-set.mdx +1 -1
  105. package/docs/docs/cmd/cli/config/config-list.mdx +78 -0
  106. package/docs/docs/cmd/flow/flow-enable.mdx +2 -2
  107. package/docs/docs/cmd/login.mdx +6 -0
  108. package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +85 -0
  109. package/docs/docs/cmd/pa/app/app-permission-remove.mdx +74 -0
  110. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  111. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +2 -2
  112. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +2 -2
  113. package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +3 -3
  114. package/docs/docs/cmd/spo/file/file-add.mdx +1 -1
  115. package/docs/docs/cmd/spo/file/file-checkin.mdx +1 -1
  116. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -9
  117. package/docs/docs/cmd/spo/file/file-checkout.mdx +1 -1
  118. package/docs/docs/cmd/spo/file/file-copy.mdx +20 -16
  119. package/docs/docs/cmd/spo/file/file-get.mdx +1 -1
  120. package/docs/docs/cmd/spo/file/file-list.mdx +2 -2
  121. package/docs/docs/cmd/spo/file/file-move.mdx +36 -18
  122. package/docs/docs/cmd/spo/file/file-remove.mdx +8 -8
  123. package/docs/docs/cmd/spo/file/file-rename.mdx +3 -3
  124. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +2 -2
  125. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +3 -3
  126. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
  127. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
  128. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
  129. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
  130. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +1 -1
  131. package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
  132. package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +1 -1
  133. package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
  134. package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
  135. package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +1 -1
  136. package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
  137. package/docs/docs/cmd/spo/file/file-version-clear.mdx +1 -1
  138. package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
  139. package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
  140. package/docs/docs/cmd/spo/file/file-version-remove.mdx +1 -1
  141. package/docs/docs/cmd/spo/file/file-version-restore.mdx +1 -1
  142. package/docs/docs/cmd/spo/folder/folder-add.mdx +76 -1
  143. package/docs/docs/cmd/spo/folder/folder-copy.mdx +39 -12
  144. package/docs/docs/cmd/spo/folder/folder-get.mdx +1 -1
  145. package/docs/docs/cmd/spo/folder/folder-list.mdx +1 -1
  146. package/docs/docs/cmd/spo/folder/folder-move.mdx +40 -13
  147. package/docs/docs/cmd/spo/folder/folder-remove.mdx +1 -1
  148. package/docs/docs/cmd/spo/folder/folder-rename.mdx +5 -1
  149. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
  150. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
  151. package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +2 -2
  152. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
  153. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +1 -1
  154. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +1 -1
  155. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +1 -1
  156. package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
  157. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
  158. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +1 -1
  159. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +1 -1
  160. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
  161. package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +1 -1
  162. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
  163. package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
  164. package/docs/docs/cmd/yammer/network/network-list.mdx +1 -1
  165. package/npm-shrinkwrap.json +142 -88
  166. package/package.json +13 -13
  167. /package/dist/m365/aad/commands/{o365group → m365group}/GroupExtended.js +0 -0
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # aad o365group report activitygroupcounts
5
+ # aad m365group report activitygroupcounts
6
6
 
7
7
  Get the daily total number of groups and how many of them were active based on email conversations, Yammer posts, and SharePoint file activities.
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 aad o365group report activitygroupcounts [options]
12
+ m365 aad m365group report activitygroupcounts [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -29,19 +29,19 @@ m365 aad o365group report activitygroupcounts [options]
29
29
  Get the daily total number of groups and how many of them were active based on activities for the last week
30
30
 
31
31
  ```sh
32
- m365 aad o365group report activitygroupcounts --period D7
32
+ m365 aad m365group report activitygroupcounts --period D7
33
33
  ```
34
34
 
35
35
  Get the daily total number of groups and how many of them were active based on activities for the last week and exports the report data in the specified path in text format
36
36
 
37
37
  ```sh
38
- m365 aad o365group report activitygroupcounts --period D7 --output text > "o365groupactivitygroupcounts.txt"
38
+ m365 aad m365group report activitygroupcounts --period D7 --output text > "m365groupactivitygroupcounts.txt"
39
39
  ```
40
40
 
41
41
  Get the daily total number of groups and how many of them were active based on activities for the last week and exports the report data in the specified path in json format
42
42
 
43
43
  ```sh
44
- m365 aad o365group report activitygroupcounts --period D7 --output json > "o365groupactivitygroupcounts.json"
44
+ m365 aad m365group report activitygroupcounts --period D7 --output json > "m365groupactivitygroupcounts.json"
45
45
  ```
46
46
 
47
47
  ## Response
@@ -86,4 +86,4 @@ m365 aad o365group report activitygroupcounts --period D7 --output json > "o365g
86
86
  ```
87
87
 
88
88
  </TabItem>
89
- </Tabs>
89
+ </Tabs>
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # aad o365group report activitystorage
5
+ # aad m365group report activitystorage
6
6
 
7
7
  Get the total storage used across all group mailboxes and group sites
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 aad o365group report activitystorage [options]
12
+ m365 aad m365group report activitystorage [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -29,19 +29,19 @@ m365 aad o365group report activitystorage [options]
29
29
  Get the total storage used across all group mailboxes and group sites for the last week
30
30
 
31
31
  ```sh
32
- m365 aad o365group report activitystorage --period D7
32
+ m365 aad m365group report activitystorage --period D7
33
33
  ```
34
34
 
35
35
  Get the total storage used across all group mailboxes and group sites for the last week and exports the report data in the specified path in text format
36
36
 
37
37
  ```sh
38
- m365 aad o365group report activitystorage --period D7 --output text > "o365groupactivitystorage.txt"
38
+ m365 aad m365group report activitystorage --period D7 --output text > "m365groupactivitystorage.txt"
39
39
  ```
40
40
 
41
41
  Get the total storage used across all group mailboxes and group sites for the last week and exports the report data in the specified path in json format
42
42
 
43
43
  ```sh
44
- m365 aad o365group report activitystorage --period D7 --output json > "o365groupactivitystorage.json"
44
+ m365 aad m365group report activitystorage --period D7 --output json > "m365groupactivitystorage.json"
45
45
  ```
46
46
 
47
47
  ## Response
@@ -86,4 +86,4 @@ m365 aad o365group report activitystorage --period D7 --output json > "o365group
86
86
  ```
87
87
 
88
88
  </TabItem>
89
- </Tabs>
89
+ </Tabs>
@@ -1,13 +1,13 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad o365group set
3
+ # aad m365group set
4
4
 
5
5
  Updates Microsoft 365 Group properties
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 aad o365group set [options]
10
+ m365 aad m365group set [options]
11
11
  ```
12
12
 
13
13
  ## Options
@@ -48,33 +48,33 @@ When specifying the path to the logo image you can use both relative and absolut
48
48
  Update Microsoft 365 Group display name
49
49
 
50
50
  ```sh
51
- m365 aad o365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --displayName Finance
51
+ m365 aad m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --displayName Finance
52
52
  ```
53
53
 
54
54
  Change Microsoft 365 Group visibility to public
55
55
 
56
56
  ```sh
57
- m365 aad o365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --isPrivate false
57
+ m365 aad m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --isPrivate false
58
58
  ```
59
59
 
60
60
  Add new Microsoft 365 Group owners
61
61
 
62
62
  ```sh
63
- m365 aad o365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --owners "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
63
+ m365 aad m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --owners "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
64
64
  ```
65
65
 
66
66
  Add new Microsoft 365 Group members
67
67
 
68
68
  ```sh
69
- m365 aad o365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --members "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
69
+ m365 aad m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --members "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
70
70
  ```
71
71
 
72
72
  Update Microsoft 365 Group logo
73
73
 
74
74
  ```sh
75
- m365 aad o365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --logoPath images/logo.png
75
+ m365 aad m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --logoPath images/logo.png
76
76
  ```
77
77
 
78
78
  ## Response
79
79
 
80
- The command won't return a response on success.
80
+ The command won't return a response on success.
@@ -1,13 +1,13 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad o365group teamify
3
+ # aad m365group teamify
4
4
 
5
5
  Creates a new Microsoft Teams team under existing Microsoft 365 group
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 aad o365group teamify [options]
10
+ m365 aad m365group teamify [options]
11
11
  ```
12
12
 
13
13
  ## Options
@@ -27,15 +27,15 @@ m365 aad o365group teamify [options]
27
27
  Creates a new Microsoft Teams team under existing Microsoft 365 group with id _e3f60f99-0bad-481f-9e9f-ff0f572fbd03_
28
28
 
29
29
  ```sh
30
- m365 aad o365group teamify --id e3f60f99-0bad-481f-9e9f-ff0f572fbd03
30
+ m365 aad m365group teamify --id e3f60f99-0bad-481f-9e9f-ff0f572fbd03
31
31
  ```
32
32
 
33
33
  Creates a new Microsoft Teams team under existing Microsoft 365 group with mailNickname _GroupName_
34
34
 
35
35
  ```sh
36
- m365 aad o365group teamify --mailNickname GroupName
36
+ m365 aad m365group teamify --mailNickname GroupName
37
37
  ```
38
38
 
39
39
  ## Response
40
40
 
41
- The command won't return a response on success.
41
+ The command won't return a response on success.
@@ -1,13 +1,13 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad o365group user add
3
+ # aad m365group user add
4
4
 
5
5
  Adds user to specified Microsoft 365 Group or Microsoft Teams team
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 aad o365group user add [options]
10
+ m365 aad m365group user add [options]
11
11
  ```
12
12
 
13
13
  ## Alias
@@ -39,13 +39,13 @@ m365 teams user add
39
39
  Add a new member to the specified Microsoft 365 Group
40
40
 
41
41
  ```sh
42
- m365 aad o365group user add --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
42
+ m365 aad m365group user add --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
43
43
  ```
44
44
 
45
45
  Add a new owner to the specified Microsoft 365 Group
46
46
 
47
47
  ```sh
48
- m365 aad o365group user add --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Owner
48
+ m365 aad m365group user add --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Owner
49
49
  ```
50
50
 
51
51
  Add a new member to the specified Microsoft Teams team
@@ -56,4 +56,4 @@ m365 teams user add --teamId '00000000-0000-0000-0000-000000000000' --userName '
56
56
 
57
57
  ## Response
58
58
 
59
- The command won't return a response on success.
59
+ The command won't return a response on success.
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # aad o365group user list
5
+ # aad m365group user list
6
6
 
7
7
  Lists users for the specified Microsoft 365 group
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 aad o365group user list [options]
12
+ m365 aad m365group user list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -29,19 +29,19 @@ m365 aad o365group user list [options]
29
29
  List all users and their role in the specified Microsoft 365 group
30
30
 
31
31
  ```sh
32
- m365 aad o365group user list --groupId '00000000-0000-0000-0000-000000000000'
32
+ m365 aad m365group user list --groupId '00000000-0000-0000-0000-000000000000'
33
33
  ```
34
34
 
35
35
  List all owners and their role in the specified Microsoft 365 group
36
36
 
37
37
  ```sh
38
- m365 aad o365group user list --groupId '00000000-0000-0000-0000-000000000000' --role Owner
38
+ m365 aad m365group user list --groupId '00000000-0000-0000-0000-000000000000' --role Owner
39
39
  ```
40
40
 
41
41
  List all guests and their role in the specified Microsoft 365 group
42
42
 
43
43
  ```sh
44
- m365 aad o365group user list --groupId '00000000-0000-0000-0000-000000000000' --role Guest
44
+ m365 aad m365group user list --groupId '00000000-0000-0000-0000-000000000000' --role Guest
45
45
  ```
46
46
 
47
47
  ## Response
@@ -81,7 +81,7 @@ m365 aad o365group user list --groupId '00000000-0000-0000-0000-000000000000' --
81
81
  <TabItem value="Markdown">
82
82
 
83
83
  ```md
84
- # aad o365group user list --groupId "1deaa428-8dde-4043-b028-5492226d6114"
84
+ # aad m365group user list --groupId "1deaa428-8dde-4043-b028-5492226d6114"
85
85
 
86
86
  Date: 2023-06-02
87
87
 
@@ -96,4 +96,4 @@ m365 aad o365group user list --groupId '00000000-0000-0000-0000-000000000000' --
96
96
  ```
97
97
 
98
98
  </TabItem>
99
- </Tabs>
99
+ </Tabs>
@@ -1,13 +1,13 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad o365group user remove
3
+ # aad m365group user remove
4
4
 
5
5
  Removes the specified user from specified Microsoft 365 Group or Microsoft Teams team
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 aad o365group user remove [options]
10
+ m365 aad m365group user remove [options]
11
11
  ```
12
12
 
13
13
  ## Alias
@@ -43,13 +43,13 @@ You can remove users from a Microsoft 365 Group or Microsoft Teams team if you a
43
43
  Removes user from the specified Microsoft 365 Group
44
44
 
45
45
  ```sh
46
- m365 aad o365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
46
+ m365 aad m365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
47
47
  ```
48
48
 
49
49
  Removes user from the specified Microsoft 365 Group without confirmation
50
50
 
51
51
  ```sh
52
- m365 aad o365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --force
52
+ m365 aad m365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --force
53
53
  ```
54
54
 
55
55
  Removes user from the specified Microsoft Teams team
@@ -60,4 +60,4 @@ m365 aad teams user remove --teamId '00000000-0000-0000-0000-000000000000' --use
60
60
 
61
61
  ## Response
62
62
 
63
- The command won't return a response on success.
63
+ The command won't return a response on success.
@@ -1,13 +1,13 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad o365group user set
3
+ # aad m365group user set
4
4
 
5
5
  Updates role of the specified user in the specified Microsoft 365 Group or Microsoft Teams team
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 aad o365group user set [options]
10
+ m365 aad m365group user set [options]
11
11
  ```
12
12
 
13
13
  ## Alias
@@ -43,13 +43,13 @@ The command will return an error if the user already has the specified role in t
43
43
  Promote the specified user to owner of the given Microsoft 365 Group
44
44
 
45
45
  ```sh
46
- m365 aad o365group user set --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Owner
46
+ m365 aad m365group user set --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Owner
47
47
  ```
48
48
 
49
49
  Demote the specified user from owner to member in the given Microsoft 365 Group
50
50
 
51
51
  ```sh
52
- m365 aad o365group user set --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Member
52
+ m365 aad m365group user set --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Member
53
53
  ```
54
54
 
55
55
  Promote the specified user to owner of the given Microsoft Teams team
@@ -66,4 +66,4 @@ m365 aad teams user set --teamId '00000000-0000-0000-0000-000000000000' --userNa
66
66
 
67
67
  ## Response
68
68
 
69
- The command won't return a response on success.
69
+ The command won't return a response on success.
@@ -87,7 +87,7 @@ If the user with the specified ID or username doesn't exist, or if the specified
87
87
  Update specific property _department_ of user with id _1caf7dcd-7e83-4c3a-94f7-932a1299c844_
88
88
 
89
89
  ```sh
90
- m365 aad user set --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --Department IT
90
+ m365 aad user set --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --department IT
91
91
  ```
92
92
 
93
93
  Update multiple properties of user by name
@@ -0,0 +1,78 @@
1
+ import CLISettings from '/docs/_clisettings.mdx';
2
+ import Global from '/docs/cmd/_global.mdx';
3
+ import Tabs from '@theme/Tabs';
4
+ import TabItem from '@theme/TabItem';
5
+
6
+ # cli config list
7
+
8
+ List all self set CLI for Microsoft 365 configurations
9
+
10
+ ## Usage
11
+
12
+ ```sh
13
+ m365 cli config list [options]
14
+ ```
15
+
16
+ ## Options
17
+
18
+ <Global />
19
+
20
+ ## Available settings
21
+
22
+ Following is the list of configuration settings available in CLI for Microsoft 365.
23
+
24
+ <CLISettings />
25
+
26
+ ## Examples
27
+
28
+ List all self set configuration keys with their value
29
+
30
+ ```sh
31
+ m365 cli config list
32
+ ```
33
+
34
+ ## Response
35
+
36
+ <Tabs>
37
+ <TabItem value="JSON">
38
+
39
+ ```json
40
+ {
41
+ "errorOutput": "stdout"
42
+ }
43
+ ```
44
+
45
+ </TabItem>
46
+ <TabItem value="Text">
47
+
48
+ ```text
49
+ errorOutput: stdout
50
+ ```
51
+
52
+ </TabItem>
53
+ <TabItem value="CSV">
54
+
55
+ ```csv
56
+ errorOutput
57
+ stdout
58
+ ```
59
+
60
+ </TabItem>
61
+ <TabItem value="Markdown">
62
+
63
+ ```md
64
+ # cli config list
65
+
66
+ Date: 29/6/2023
67
+
68
+ Property | Value
69
+ ---------|-------
70
+ errorOutput | stdout
71
+ ```
72
+
73
+ </TabItem>
74
+ </Tabs>
75
+
76
+ ## More information
77
+
78
+ - [Configuring the CLI for Microsoft 365](../../../user-guide/configuring-cli.mdx)
@@ -44,13 +44,13 @@ If the Power Automate flow with the name you specified doesn't exist, you will g
44
44
  Enables Power Automate flow owned by the currently signed-in user
45
45
 
46
46
  ```sh
47
- m365 flow enable --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
47
+ m365 flow enable --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
48
48
  ```
49
49
 
50
50
  Enables Power Automate flow owned by another user
51
51
 
52
52
  ```sh
53
- m365 flow enable --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
53
+ m365 flow enable --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin
54
54
  ```
55
55
 
56
56
  ## Response
@@ -157,6 +157,12 @@ Log in to Microsoft 365 using your own Azure AD application that's restricted on
157
157
  m365 login --appId 31359c7f-bd7e-475c-86db-fdb8c937548c --tenant 31359c7f-bd7e-475c-86db-fdb8c937548a
158
158
  ```
159
159
 
160
+ Log in to Microsoft 365 using your own Azure AD application and a personal information exchange (.pfx) file
161
+
162
+ ```sh
163
+ m365 login --authType certificate --appId 31359c7f-bd7e-475c-86db-fdb8c937548c --tenant 31359c7f-bd7e-475c-86db-fdb8c937548a --certificateFile /Users/user/dev/localhost.pfx --password 'pass@word1'
164
+ ```
165
+
160
166
  Log in to Microsoft 365 using the interactive browser authentication. Uses the identity of the current user.
161
167
 
162
168
  ```sh
@@ -0,0 +1,85 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # pa app permission ensure
4
+
5
+ Assigns/updates permissions to a Power Apps app
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 pa app permission ensure [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `--appName <appName>`
17
+ : The name (GUID) of the Microsoft Power App.
18
+
19
+ `--roleName <roleName>`
20
+ : Permission level given to the app. Valid values: `CanEdit`, `CanView`. Sharing with the entire tenant is only supported with `CanView` role.
21
+
22
+ `--userId [userId]`
23
+ : The Azure AD ID of the user. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
24
+
25
+ `--userName [userName]`
26
+ : The user principal name of the user. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
27
+
28
+ `--groupId [groupId]`
29
+ : The Azure AD ID of the group. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
30
+
31
+ `--groupName [groupName]`
32
+ : The name of the Azure AD group. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
33
+
34
+ `--tenant`
35
+ : Share the app with the entire tenant. When specifying this, only `CanView` role is supported. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
36
+
37
+ `--sendInvitationMail`
38
+ : When set, an invitation mail will be sent.
39
+
40
+ `--asAdmin`
41
+ : Run the command as admin for apps you don't own.
42
+
43
+ `-e, --environmentName [environmentName]`
44
+ : The name of the environment. Specify only a value when running the command as admin.
45
+ ```
46
+
47
+ <Global />
48
+
49
+ ## Remarks
50
+
51
+ :::note
52
+
53
+ When specifying a value for `groupId` or `groupName`, note that you can only grant permissions to security groups.
54
+
55
+ :::
56
+
57
+ ## Examples
58
+
59
+ Share a Power App app with another user with run-only permissions
60
+
61
+ ```sh
62
+ m365 pa app permission ensure --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --userName john.doe@contoso.com --roleName CanView --sendInvitationMail
63
+ ```
64
+
65
+ Add co-owner permissions for a security group to a Power Apps app
66
+
67
+ ```sh
68
+ m365 pa app permission ensure --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --groupName Developers --roleName CanEdit
69
+ ```
70
+
71
+ Add permissions as admin to a Power App app that you do not own
72
+
73
+ ```sh
74
+ m365 pa app permission ensure --environment Default-e535e809-c6a1-47b5-8951-d0898a64bf8a --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --userId 42a28ec6-972f-4fdd-b483-50ee4b237f91 --roleName CanEdit --asAdmin
75
+ ```
76
+
77
+ Share a Power Apps app with everyone in the tenant
78
+
79
+ ```sh
80
+ m365 pa app permission ensure --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --roleName CanView --tenant
81
+ ```
82
+
83
+ ## Response
84
+
85
+ The command won't return a response on success.
@@ -0,0 +1,74 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # pa app permission remove
4
+
5
+ Removes permissions to a Power Apps app
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 pa app permission remove [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `--appName <appName>`
17
+ : The name (GUID) of the Microsoft Power App.
18
+
19
+ `--userId [userId]`
20
+ : The Azure AD ID of the user. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
21
+
22
+ `--userName [userName]`
23
+ : The user principal name of the user. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
24
+
25
+ `--groupId [groupId]`
26
+ : The Azure AD ID of the group. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
27
+
28
+ `--groupName [groupName]`
29
+ : The name of the Azure AD group. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
30
+
31
+ `--tenant`
32
+ : When specifying this, tenant permissions (everyone in the tenant) will be removed. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
33
+
34
+ `--asAdmin`
35
+ : Run the command as admin for apps you don't own.
36
+
37
+ `-e, --environmentName [environmentName]`
38
+ : The name of the environment. Specify only a value when running the command as admin.
39
+
40
+ `-f, --force`
41
+ : Don't prompt for confirmation.
42
+ ```
43
+
44
+ <Global />
45
+
46
+ ## Examples
47
+
48
+ Remove permissions of a specific user for a specific app
49
+
50
+ ```sh
51
+ m365 pa app permission remove --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --userName john.doe@contoso.com
52
+ ```
53
+
54
+ Remove permissions of a specific security group for a specific app
55
+
56
+ ```sh
57
+ m365 pa app permission remove --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --groupName Developers
58
+ ```
59
+
60
+ Removes permissions as administrator for an app which you do not own
61
+
62
+ ```sh
63
+ m365 pa app permission remove --environment Default-e535e809-c6a1-47b5-8951-d0898a64bf8a --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --userId 42a28ec6-972f-4fdd-b483-50ee4b237f91 --asAdmin
64
+ ```
65
+
66
+ Unshare a Power Apps app with the entire tenant
67
+
68
+ ```sh
69
+ m365 pa app permission remove --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --tenant
70
+ ```
71
+
72
+ ## Response
73
+
74
+ The command won't return a response on success.
@@ -38,7 +38,7 @@ m365 planner plan add [options]
38
38
 
39
39
  ## Remarks
40
40
 
41
- - Related to the options `--shareWithUserIds` and `--shareWithUserNames`. If you are leveraging Microsoft 365 groups, use the `aad o365group user` commands to manage group membership to share the [group's](https://pnp.github.io/cli-microsoft365/cmd/aad/o365group/o365group-user-add/) plan. You can also add existing members of the group to this collection though it is not required for them to access the plan owned by the group.
41
+ - Related to the options `--shareWithUserIds` and `--shareWithUserNames`. If you are leveraging Microsoft 365 groups, use the `aad m365group user` commands to manage group membership to share the [group's](https://pnp.github.io/cli-microsoft365/cmd/aad/m365group/m365group-user-add/) plan. You can also add existing members of the group to this collection though it is not required for them to access the plan owned by the group.
42
42
 
43
43
  - Hint: Unlike for groups, a Planner Roster can contain only 1 plan.
44
44
 
@@ -32,13 +32,13 @@ m365 pp dataverse table get [options]
32
32
  List a table for the given environment
33
33
 
34
34
  ```sh
35
- m365 pp dataverse table get -e "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "aaduser"
35
+ m365 pp dataverse table get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "aaduser"
36
36
  ```
37
37
 
38
38
  List a table for the given environment as Admin
39
39
 
40
40
  ```sh
41
- m365 pp dataverse table get -e "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "aaduser" --asAdmin
41
+ m365 pp dataverse table get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "aaduser" --asAdmin
42
42
  ```
43
43
 
44
44
  ## Response
@@ -29,13 +29,13 @@ m365 pp dataverse table list [options]
29
29
  List all tables for the given environment
30
30
 
31
31
  ```sh
32
- m365 pp dataverse table list -e "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
32
+ m365 pp dataverse table list --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
33
33
  ```
34
34
 
35
35
  List all tables for the given environment as Admin
36
36
 
37
37
  ```sh
38
- m365 pp dataverse table list -e "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
38
+ m365 pp dataverse table list --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
39
39
  ```
40
40
 
41
41
  ## Response