@pnp/cli-microsoft365 7.3.0-beta.e0b37b9 → 7.4.0-beta.4388d3c

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 (241) hide show
  1. package/.eslintrc.cjs +1 -0
  2. package/README.md +1 -1
  3. package/allCommands.json +1 -1
  4. package/allCommandsFull.json +1 -1
  5. package/dist/Auth.js +3 -0
  6. package/dist/m365/app/commands/app-get.js +1 -1
  7. package/dist/m365/app/commands/permission/permission-list.js +1 -1
  8. package/dist/m365/base/PowerAutomateCommand.js +18 -0
  9. package/dist/m365/{aad/commands.js → entra/aadCommands.js} +2 -1
  10. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-add.js +12 -8
  11. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-get.js +18 -14
  12. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-list.js +6 -2
  13. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-add.js +16 -12
  14. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-get.js +116 -0
  15. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-list.js +16 -12
  16. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-remove.js +18 -14
  17. package/dist/m365/{aad → entra}/commands/app/app-add.js +25 -21
  18. package/dist/m365/{aad → entra}/commands/app/app-get.js +17 -13
  19. package/dist/m365/{aad → entra}/commands/app/app-list.js +7 -3
  20. package/dist/m365/{aad → entra}/commands/app/app-permission-add.js +16 -12
  21. package/dist/m365/{aad → entra}/commands/app/app-remove.js +17 -13
  22. package/dist/m365/{aad → entra}/commands/app/app-role-add.js +18 -14
  23. package/dist/m365/{aad → entra}/commands/app/app-role-list.js +15 -11
  24. package/dist/m365/{aad → entra}/commands/app/app-role-remove.js +17 -13
  25. package/dist/m365/{aad → entra}/commands/app/app-set.js +18 -14
  26. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-add.js +17 -13
  27. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-list.js +16 -12
  28. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-remove.js +17 -13
  29. package/dist/m365/{aad → entra}/commands/group/group-get.js +17 -13
  30. package/dist/m365/{aad → entra}/commands/group/group-list.js +16 -12
  31. package/dist/m365/{aad → entra}/commands/group/group-remove.js +19 -15
  32. package/dist/m365/{aad → entra}/commands/group/group-user-list.js +17 -13
  33. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-add.js +12 -8
  34. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-get.js +12 -8
  35. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-list.js +7 -3
  36. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-remove.js +14 -10
  37. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-set.js +12 -8
  38. package/dist/m365/{aad → entra}/commands/groupsettingtemplate/groupsettingtemplate-get.js +17 -13
  39. package/dist/m365/{aad → entra}/commands/groupsettingtemplate/groupsettingtemplate-list.js +7 -3
  40. package/dist/m365/{aad → entra}/commands/license/license-list.js +6 -2
  41. package/dist/m365/{aad → entra}/commands/m365group/m365group-add.js +19 -15
  42. package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-list.js +12 -8
  43. package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-post-list.js +16 -12
  44. package/dist/m365/{aad → entra}/commands/m365group/m365group-get.js +12 -8
  45. package/dist/m365/{aad → entra}/commands/m365group/m365group-list.js +12 -8
  46. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-clear.js +12 -8
  47. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-list.js +12 -8
  48. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-remove.js +16 -12
  49. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-restore.js +16 -12
  50. package/dist/m365/{aad → entra}/commands/m365group/m365group-remove.js +17 -13
  51. package/dist/m365/{aad → entra}/commands/m365group/m365group-renew.js +12 -8
  52. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitycounts.js +4 -0
  53. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitydetail.js +4 -0
  54. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activityfilecounts.js +4 -0
  55. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitygroupcounts.js +4 -0
  56. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitystorage.js +4 -0
  57. package/dist/m365/{aad → entra}/commands/m365group/m365group-set.js +19 -15
  58. package/dist/m365/{aad → entra}/commands/m365group/m365group-teamify.js +16 -12
  59. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-add.js +14 -13
  60. package/dist/m365/entra/commands/m365group/m365group-user-list.js +154 -0
  61. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-remove.js +14 -13
  62. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-set.js +14 -13
  63. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-add.js +12 -8
  64. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-list.js +12 -8
  65. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-remove.js +10 -6
  66. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-set.js +10 -6
  67. package/dist/m365/{aad → entra}/commands/policy/policy-list.js +16 -12
  68. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-disable.js +12 -8
  69. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-enable.js +12 -8
  70. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-get.js +6 -2
  71. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-set.js +14 -10
  72. package/dist/m365/{aad → entra}/commands/sp/sp-add.js +17 -13
  73. package/dist/m365/{aad → entra}/commands/sp/sp-get.js +16 -12
  74. package/dist/m365/{aad → entra}/commands/sp/sp-list.js +12 -8
  75. package/dist/m365/{aad → entra}/commands/user/user-add.js +18 -14
  76. package/dist/m365/{aad → entra}/commands/user/user-get.js +16 -12
  77. package/dist/m365/{aad → entra}/commands/user/user-guest-add.js +12 -8
  78. package/dist/m365/{aad → entra}/commands/user/user-hibp.js +14 -10
  79. package/dist/m365/{aad → entra}/commands/user/user-license-add.js +16 -12
  80. package/dist/m365/{aad → entra}/commands/user/user-license-list.js +16 -12
  81. package/dist/m365/{aad → entra}/commands/user/user-license-remove.js +16 -12
  82. package/dist/m365/{aad → entra}/commands/user/user-list.js +12 -8
  83. package/dist/m365/{aad → entra}/commands/user/user-password-validate.js +10 -6
  84. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-clear.js +12 -8
  85. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-list.js +6 -2
  86. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-remove.js +14 -10
  87. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-restore.js +12 -8
  88. package/dist/m365/{aad → entra}/commands/user/user-remove.js +16 -12
  89. package/dist/m365/{aad → entra}/commands/user/user-set.js +18 -14
  90. package/dist/m365/{aad → entra}/commands/user/user-signin-list.js +15 -11
  91. package/dist/m365/entra/commands.js +85 -0
  92. package/dist/m365/external/commands/connection/connection-schema-add.js +36 -3
  93. package/dist/m365/flow/commands/environment/environment-get.js +3 -3
  94. package/dist/m365/flow/commands/environment/environment-list.js +3 -3
  95. package/dist/m365/flow/commands/flow-disable.js +3 -3
  96. package/dist/m365/flow/commands/flow-enable.js +3 -3
  97. package/dist/m365/flow/commands/flow-get.js +3 -3
  98. package/dist/m365/flow/commands/flow-list.js +14 -12
  99. package/dist/m365/flow/commands/flow-remove.js +3 -3
  100. package/dist/m365/flow/commands/owner/owner-ensure.js +3 -3
  101. package/dist/m365/flow/commands/owner/owner-list.js +3 -3
  102. package/dist/m365/flow/commands/owner/owner-remove.js +3 -3
  103. package/dist/m365/flow/commands/run/run-cancel.js +3 -3
  104. package/dist/m365/flow/commands/run/run-get.js +3 -3
  105. package/dist/m365/flow/commands/run/run-list.js +8 -7
  106. package/dist/m365/flow/commands/run/run-resubmit.js +4 -4
  107. package/dist/m365/pa/commands/app/app-get.js +26 -11
  108. package/dist/m365/pa/commands/app/app-remove.js +19 -2
  109. package/dist/m365/spo/commands/group/group-member-remove.js +1 -1
  110. package/dist/m365/spo/commands/group/group-set.js +1 -1
  111. package/dist/m365/spo/commands/listitem/listitem-batch-add.js +18 -7
  112. package/dist/m365/spo/commands/page/page-add.js +7 -28
  113. package/dist/m365/spo/commands/site/site-set.js +1 -1
  114. package/dist/m365/teams/commands/app/app-install.js +1 -1
  115. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +1 -1
  116. package/dist/utils/aadAdministrativeUnit.js +4 -4
  117. package/docs/docs/cmd/adaptivecard/adaptivecard-send.mdx +1 -1
  118. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-add.mdx +10 -4
  119. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-get.mdx +9 -3
  120. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-list.mdx +9 -3
  121. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-add.mdx +13 -7
  122. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-get.mdx +136 -0
  123. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-list.mdx +16 -10
  124. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-remove.mdx +9 -3
  125. package/docs/docs/cmd/{aad → entra}/app/app-add.mdx +44 -38
  126. package/docs/docs/cmd/{aad → entra}/app/app-get.mdx +23 -17
  127. package/docs/docs/cmd/{aad → entra}/app/app-list.mdx +11 -5
  128. package/docs/docs/cmd/entra/app/app-permission-add.mdx +68 -0
  129. package/docs/docs/cmd/entra/app/app-remove.mdx +65 -0
  130. package/docs/docs/cmd/entra/app/app-role-add.mdx +74 -0
  131. package/docs/docs/cmd/{aad → entra}/app/app-role-list.mdx +20 -14
  132. package/docs/docs/cmd/entra/app/app-role-remove.mdx +84 -0
  133. package/docs/docs/cmd/entra/app/app-set.mdx +103 -0
  134. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-add.mdx +14 -8
  135. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-list.mdx +12 -6
  136. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-remove.mdx +13 -7
  137. package/docs/docs/cmd/{aad → entra}/group/group-get.mdx +15 -9
  138. package/docs/docs/cmd/{aad → entra}/group/group-list.mdx +13 -7
  139. package/docs/docs/cmd/entra/group/group-remove.mdx +50 -0
  140. package/docs/docs/cmd/{aad → entra}/group/group-user-list.mdx +17 -11
  141. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-add.mdx +11 -5
  142. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-get.mdx +9 -3
  143. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-list.mdx +10 -4
  144. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-remove.mdx +9 -3
  145. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-set.mdx +10 -4
  146. package/docs/docs/cmd/{aad → entra}/groupsettingtemplate/groupsettingtemplate-get.mdx +11 -5
  147. package/docs/docs/cmd/{aad → entra}/groupsettingtemplate/groupsettingtemplate-list.mdx +10 -4
  148. package/docs/docs/cmd/{aad → entra}/license/license-list.mdx +9 -3
  149. package/docs/docs/cmd/{aad → entra}/m365group/m365group-add.mdx +17 -11
  150. package/docs/docs/cmd/{aad → entra}/m365group/m365group-conversation-list.mdx +9 -3
  151. package/docs/docs/cmd/{aad → entra}/m365group/m365group-conversation-post-list.mdx +10 -4
  152. package/docs/docs/cmd/{aad → entra}/m365group/m365group-get.mdx +10 -4
  153. package/docs/docs/cmd/{aad → entra}/m365group/m365group-list.mdx +13 -7
  154. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-clear.mdx +9 -3
  155. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-list.mdx +12 -6
  156. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-remove.mdx +10 -4
  157. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-restore.mdx +10 -4
  158. package/docs/docs/cmd/{aad → entra}/m365group/m365group-remove.mdx +10 -4
  159. package/docs/docs/cmd/{aad → entra}/m365group/m365group-renew.mdx +8 -2
  160. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitycounts.mdx +10 -4
  161. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitydetail.mdx +11 -5
  162. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activityfilecounts.mdx +10 -4
  163. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitygroupcounts.mdx +10 -4
  164. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitystorage.mdx +10 -4
  165. package/docs/docs/cmd/{aad → entra}/m365group/m365group-set.mdx +12 -6
  166. package/docs/docs/cmd/{aad → entra}/m365group/m365group-teamify.mdx +9 -3
  167. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-add.mdx +9 -3
  168. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +131 -0
  169. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-remove.mdx +9 -5
  170. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-set.mdx +10 -6
  171. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-add.mdx +15 -9
  172. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-list.mdx +11 -5
  173. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-remove.mdx +13 -7
  174. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-set.mdx +12 -6
  175. package/docs/docs/cmd/{aad → entra}/policy/policy-list.mdx +14 -8
  176. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-disable.mdx +9 -3
  177. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-enable.mdx +10 -4
  178. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-get.mdx +9 -3
  179. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-set.mdx +11 -5
  180. package/docs/docs/cmd/{aad → entra}/sp/sp-add.mdx +25 -19
  181. package/docs/docs/cmd/{aad → entra}/sp/sp-get.mdx +12 -6
  182. package/docs/docs/cmd/{aad → entra}/sp/sp-list.mdx +10 -4
  183. package/docs/docs/cmd/{aad → entra}/user/user-add.mdx +12 -6
  184. package/docs/docs/cmd/{aad → entra}/user/user-get.mdx +16 -10
  185. package/docs/docs/cmd/{aad → entra}/user/user-guest-add.mdx +11 -5
  186. package/docs/docs/cmd/{aad → entra}/user/user-hibp.mdx +10 -4
  187. package/docs/docs/cmd/{aad → entra}/user/user-license-add.mdx +10 -4
  188. package/docs/docs/cmd/{aad → entra}/user/user-license-list.mdx +11 -5
  189. package/docs/docs/cmd/{aad → entra}/user/user-license-remove.mdx +9 -3
  190. package/docs/docs/cmd/{aad → entra}/user/user-list.mdx +12 -6
  191. package/docs/docs/cmd/{aad → entra}/user/user-password-validate.mdx +9 -3
  192. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-clear.mdx +9 -3
  193. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-list.mdx +9 -3
  194. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-remove.mdx +9 -3
  195. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-restore.mdx +8 -2
  196. package/docs/docs/cmd/{aad → entra}/user/user-remove.mdx +9 -3
  197. package/docs/docs/cmd/{aad → entra}/user/user-set.mdx +15 -9
  198. package/docs/docs/cmd/{aad → entra}/user/user-signin-list.mdx +19 -13
  199. package/docs/docs/cmd/external/connection/connection-schema-add.mdx +14 -1
  200. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +1 -1
  201. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +1 -1
  202. package/docs/docs/cmd/pa/app/app-get.mdx +15 -0
  203. package/docs/docs/cmd/pa/app/app-remove.mdx +14 -0
  204. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  205. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +1 -1
  206. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +1 -1
  207. package/docs/docs/cmd/spo/commandset/commandset-add.mdx +1 -1
  208. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +1 -1
  209. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +1 -1
  210. package/docs/docs/cmd/spo/customaction/customaction-add.mdx +1 -1
  211. package/docs/docs/cmd/spo/customaction/customaction-set.mdx +1 -1
  212. package/docs/docs/cmd/spo/field/field-set.mdx +1 -1
  213. package/docs/docs/cmd/spo/list/list-view-set.mdx +1 -1
  214. package/docs/docs/cmd/spo/listitem/listitem-add.mdx +1 -1
  215. package/docs/docs/cmd/spo/listitem/listitem-batch-add.mdx +26 -4
  216. package/docs/docs/cmd/spo/listitem/listitem-set.mdx +1 -1
  217. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.mdx +1 -1
  218. package/docs/docs/cmd/spo/page/page-control-set.mdx +1 -1
  219. package/docs/docs/cmd/spo/page/page-set.mdx +2 -2
  220. package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
  221. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
  222. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +1 -1
  223. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
  224. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
  225. package/docs/docs/cmd/spo/term/term-add.mdx +1 -1
  226. package/docs/docs/cmd/spo/term/term-group-add.mdx +1 -1
  227. package/docs/docs/cmd/spo/term/term-set-add.mdx +1 -1
  228. package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
  229. package/npm-shrinkwrap.json +6 -14
  230. package/package.json +2 -2
  231. package/dist/m365/aad/commands/m365group/m365group-user-list.js +0 -94
  232. package/docs/docs/cmd/aad/app/app-permission-add.mdx +0 -62
  233. package/docs/docs/cmd/aad/app/app-remove.mdx +0 -59
  234. package/docs/docs/cmd/aad/app/app-role-add.mdx +0 -68
  235. package/docs/docs/cmd/aad/app/app-role-remove.mdx +0 -78
  236. package/docs/docs/cmd/aad/app/app-set.mdx +0 -97
  237. package/docs/docs/cmd/aad/group/group-remove.mdx +0 -44
  238. package/docs/docs/cmd/aad/m365group/m365group-user-list.mdx +0 -99
  239. /package/dist/m365/{aad → entra}/commands/approleassignment/ServicePrincipal.js +0 -0
  240. /package/dist/m365/{aad → entra}/commands/m365group/GroupExtended.js +0 -0
  241. /package/dist/m365/{aad → entra}/commands/siteclassification/SiteClassificationSettings.js +0 -0
@@ -0,0 +1,84 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # entra app role remove
4
+
5
+ Removes role from the specified Entra app registration
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 entra app role remove [options]
11
+ ```
12
+
13
+ ## Alias
14
+
15
+ ```sh
16
+ m365 aad app role remove [options]
17
+ ```
18
+
19
+ ## Options
20
+
21
+ ```md definition-list
22
+ `--appId [appId]`
23
+ : Application (client) ID of the Entra application registration from which role should be removed. Specify either `appId`, `appObjectId` or `appName`
24
+
25
+ `--appObjectId [appObjectId]`
26
+ : Object ID of the Entra application registration from which role should be removed. Specify either `appId`, `appObjectId` or `appName`
27
+
28
+ `--appName [appName]`
29
+ : Name of the Entra application registration from which role should be removed. Specify either `appId`, `appObjectId` or `appName`
30
+
31
+ `-n, --name [name]`
32
+ : Name of the role to remove. Specify either `name`, `id` or `claim`
33
+
34
+ `-i, --id [id]`
35
+ : Id of the role to remove. Specify either `name`, `id` or `claim`
36
+
37
+ `-c, --claim [claim]`
38
+ : Claim value of the role to remove. Specify either `name`, `id` or `claim`
39
+
40
+ `-f, --force`
41
+ : Don't prompt for confirmation to remove the role.
42
+ ```
43
+
44
+ <Global />
45
+
46
+ ## Remarks
47
+
48
+ For best performance use the `appObjectId` option to reference the Entra application registration from which to remove the role. If you use `appId` or `appName`, this command will first need to find the corresponding object ID for that application.
49
+
50
+ If the command finds multiple Entra application registrations with the specified app name, it will prompt you to disambiguate which app it should use, listing the discovered object IDs.
51
+
52
+ If the command finds multiple roles with the specified role name, it will prompt you to disambiguate which role it should use, listing the claim values.
53
+
54
+ If the role to be removed is 'Enabled', this command will disable the role first and then remove.
55
+
56
+ ## Examples
57
+
58
+ Remove role from a Entra application registration using object ID and role name options. Will prompt for confirmation before deleting the role.
59
+
60
+ ```sh
61
+ m365 entra app role remove --appObjectId d75be2e1-0204-4f95-857d-51a37cf40be8 --name "Get Product"
62
+ ```
63
+
64
+ Remove role from a Entra application registration using app (client) ID and role claim options. Will prompt for confirmation before deleting the role.
65
+
66
+ ```sh
67
+ m365 entra app role remove --appId e75be2e1-0204-4f95-857d-51a37cf40be8 --claim "Product.Get"
68
+ ```
69
+
70
+ Remove role from a Entra application registration using app name and role claim options. Will prompt for confirmation before deleting the role.
71
+
72
+ ```sh
73
+ m365 entra app role remove --appName "My app" --claim "Product.Get"
74
+ ```
75
+
76
+ Remove role from a Entra application registration using object ID and role id options. Will NOT prompt for confirmation before deleting the role.
77
+
78
+ ```sh
79
+ m365 entra app role remove --appObjectId d75be2e1-0204-4f95-857d-51a37cf40be8 --id 15927ce6-1933-4b2f-b029-4dee3d53f4dd --force
80
+ ```
81
+
82
+ ## Response
83
+
84
+ The command won't return a response on success.
@@ -0,0 +1,103 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # entra app set
4
+
5
+ Updates Entra app registration
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 entra app set [options]
11
+ ```
12
+
13
+ ## Alias
14
+
15
+ ```sh
16
+ m365 aad app set [options]
17
+ ```
18
+
19
+ ## Options
20
+
21
+ ```md definition-list
22
+ `--appId [appId]`
23
+ : Application (client) ID of the Entra application registration to update. Specify either `appId`, `objectId` or `name`.
24
+
25
+ `--objectId [objectId]`
26
+ : Object ID of the Entra application registration to update. Specify either `appId`, `objectId` or `name`.
27
+
28
+ `--name [name]`
29
+ : Name of the Entra application registration to update. Specify either `appId`, `objectId` or `name`.
30
+
31
+ `-u, --uris [uris]`
32
+ : Comma-separated list of Application ID URIs to update.
33
+
34
+ `-r, --redirectUris [redirectUris]`
35
+ : Comma-separated list of redirect URIs to add to the app registration. Requires `platform` to be specified.
36
+
37
+ `-p, --platform [platform]`
38
+ : Platform for which the `redirectUri` should be configured. Allowed values `spa`, `web`, `publicClient`.
39
+
40
+ `--redirectUrisToRemove [redirectUrisToRemove]`
41
+ : Comma-separated list of existing redirect URIs to remove. Specify, when you want to replace existing redirect URIs with another.
42
+
43
+ `--certificateFile [certificateFile]`
44
+ : Path to the file with certificate public key. Specify either `certificateFile` or `certificateBase64Encoded`.
45
+
46
+ `--certificateBase64Encoded [certificateBase64Encoded]`
47
+ : Base64-encoded string with certificate public key. Specify either `certificateFile` or `certificateBase64Encoded`.
48
+
49
+ `--certificateDisplayName [certificateDisplayName]`
50
+ : Display name for the certificate. If not given, the displayName will be set to the certificate subject. When specified, also specify either `certificateFile` or `certificateBase64Encoded`.
51
+ ```
52
+
53
+ <Global />
54
+
55
+ ## Remarks
56
+
57
+ For best performance use the `objectId` option to reference the Entra application registration to update. If you use `appId` or `name`, this command will first need to find the corresponding object ID for that application.
58
+
59
+ If the command finds multiple Entra application registrations with the specified app name, it will prompt you to disambiguate which app it should use, listing the discovered object IDs.
60
+
61
+ When a certificate is specified it will be added to the list of certificates of the app without changing existing certificates.
62
+
63
+ ## Examples
64
+
65
+ Update the app URI of the Entra application registration specified by its object ID
66
+
67
+ ```sh
68
+ m365 entra app set --objectId d75be2e1-0204-4f95-857d-51a37cf40be8 --uris https://contoso.com/e75be2e1-0204-4f95-857d-51a37cf40be8
69
+ ```
70
+
71
+ Update the app URI of the Entra application registration specified by its app (client) ID
72
+
73
+ ```sh
74
+ m365 entra app set --appId e75be2e1-0204-4f95-857d-51a37cf40be8 --uris https://contoso.com/e75be2e1-0204-4f95-857d-51a37cf40be8
75
+ ```
76
+
77
+ Update the app URI of the Entra application registration specified by its name
78
+
79
+ ```sh
80
+ m365 entra app set --name "My app" --uris https://contoso.com/e75be2e1-0204-4f95-857d-51a37cf40be8
81
+ ```
82
+
83
+ Add a new redirect URI for SPA authentication
84
+
85
+ ```sh
86
+ m365 entra app set --objectId 95cfe30d-ed44-4f9d-b73d-c66560f72e83 --redirectUris https://contoso.com/auth --platform spa
87
+ ```
88
+
89
+ Replace one redirect URI with another for SPA authentication
90
+
91
+ ```sh
92
+ m365 entra app set --objectId 95cfe30d-ed44-4f9d-b73d-c66560f72e83 --redirectUris https://contoso.com/auth --platform spa --redirectUrisToRemove https://contoso.com/old-auth
93
+ ```
94
+
95
+ Add a certificate to the app
96
+
97
+ ```sh
98
+ m365 entra app set --appId e75be2e1-0204-4f95-857d-51a37cf40be8 --certificateDisplayName "Some certificate name" --certificateFile "c:\temp\some-certificate.cer"
99
+ ```
100
+
101
+ ## Response
102
+
103
+ The command won't return a response on success.
@@ -2,12 +2,18 @@ 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 approleassignment add
5
+ # entra approleassignment add
6
6
 
7
- Adds service principal permissions also known as scopes and app role assignments for specified Azure AD application registration
7
+ Adds service principal permissions also known as scopes and app role assignments for specified Entra application registration
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra approleassignment add [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad approleassignment add [options]
13
19
  ```
@@ -45,22 +51,22 @@ This command can also be used to assign permissions to system or user-assigned m
45
51
 
46
52
  ## Examples
47
53
 
48
- Adds SharePoint _Sites.Read.All_ application permissions to Azure AD application with app id _57907bf8-73fa-43a6-89a5-1f603e29e451_
54
+ Adds SharePoint _Sites.Read.All_ application permissions to Entra application with app id _57907bf8-73fa-43a6-89a5-1f603e29e451_
49
55
 
50
56
  ```sh
51
- m365 aad approleassignment add --appId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "SharePoint" --scopes "Sites.Read.All"
57
+ m365 entra approleassignment add --appId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "SharePoint" --scopes "Sites.Read.All"
52
58
  ```
53
59
 
54
- Adds multiple Microsoft Graph application permissions to an Azure AD application with the name _MyAppName__
60
+ Adds multiple Microsoft Graph application permissions to an Entra application with the name _MyAppName__
55
61
 
56
62
  ```sh
57
- m365 aad approleassignment add --appDisplayName "MyAppName" --resource "Microsoft Graph" --scopes "Mail.Read,Mail.Send"
63
+ m365 entra approleassignment add --appDisplayName "MyAppName" --resource "Microsoft Graph" --scopes "Mail.Read,Mail.Send"
58
64
  ```
59
65
 
60
66
  Adds Microsoft Graph _Mail.Read_ application permissions to a system-managed identity app with objectId _57907bf8-73fa-43a6-89a5-1f603e29e451_
61
67
 
62
68
  ```sh
63
- m365 aad approleassignment add --appObjectId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "Microsoft Graph" --scopes "Mail.Read"
69
+ m365 entra approleassignment add --appObjectId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "Microsoft Graph" --scopes "Mail.Read"
64
70
  ```
65
71
 
66
72
  ## Response
@@ -106,7 +112,7 @@ m365 aad approleassignment add --appObjectId "57907bf8-73fa-43a6-89a5-1f603e29e4
106
112
  <TabItem value="Markdown">
107
113
 
108
114
  ```md
109
- # aad approleassignment add --appId "e89804ac-a571-48cf-b2ba-fd57b5d49993" --resource "Microsoft Graph" --scopes "Mail.Read"
115
+ # entra approleassignment add --appId "e89804ac-a571-48cf-b2ba-fd57b5d49993" --resource "Microsoft Graph" --scopes "Mail.Read"
110
116
 
111
117
  Date: 2023-06-01
112
118
 
@@ -2,12 +2,18 @@ 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 approleassignment list
5
+ # entra approleassignment list
6
6
 
7
7
  Lists app role assignments for the specified application registration
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra approleassignment list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad approleassignment list [options]
13
19
  ```
@@ -36,24 +42,24 @@ Specify either the `appId`, `appObjectId` or `appDisplayName`. If you specify mo
36
42
  List app roles assigned to service principal with Application (client) ID _b2307a39-e878-458b-bc90-03bc578531d6_.
37
43
 
38
44
  ```sh
39
- m365 aad approleassignment list --appId b2307a39-e878-458b-bc90-03bc578531d6
45
+ m365 entra approleassignment list --appId b2307a39-e878-458b-bc90-03bc578531d6
40
46
  ```
41
47
 
42
48
  List app roles assigned to service principal with Application display name _MyAppName_.
43
49
 
44
50
  ```sh
45
- m365 aad approleassignment list --appDisplayName 'MyAppName'
51
+ m365 entra approleassignment list --appDisplayName 'MyAppName'
46
52
  ```
47
53
 
48
54
  List app roles assigned to service principal with ObjectId _b2307a39-e878-458b-bc90-03bc578531dd_.
49
55
 
50
56
  ```sh
51
- m365 aad approleassignment list --appObjectId b2307a39-e878-458b-bc90-03bc578531dd
57
+ m365 entra approleassignment list --appObjectId b2307a39-e878-458b-bc90-03bc578531dd
52
58
  ```
53
59
 
54
60
  ## More information
55
61
 
56
- - Application and service principal objects in Azure Active Directory (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
62
+ - Application and service principal objects in Entra ID (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
57
63
 
58
64
  ## Response
59
65
 
@@ -95,7 +101,7 @@ m365 aad approleassignment list --appObjectId b2307a39-e878-458b-bc90-03bc578531
95
101
  <TabItem value="Markdown">
96
102
 
97
103
  ```md
98
- # aad approleassignment list --appId "e89804ac-a571-48cf-b2ba-fd57b5d49993"
104
+ # entra approleassignment list --appId "e89804ac-a571-48cf-b2ba-fd57b5d49993"
99
105
 
100
106
  Date: 2023-06-01
101
107
 
@@ -1,11 +1,17 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad approleassignment remove
3
+ # entra approleassignment remove
4
4
 
5
- Deletes an app role assignment for the specified Azure AD Application Registration
5
+ Deletes an app role assignment for the specified Entra application registration
6
6
 
7
7
  ## Usage
8
8
 
9
+ ```sh
10
+ m365 entra approleassignment remove [options]
11
+ ```
12
+
13
+ ## Alias
14
+
9
15
  ```sh
10
16
  m365 aad approleassignment remove [options]
11
17
  ```
@@ -46,22 +52,22 @@ This command can also be used to assign permissions to system- or user-assigned
46
52
 
47
53
  ## Examples
48
54
 
49
- Deletes SharePoint _Sites.Read.All_ application permissions from Azure AD application with app id _57907bf8-73fa-43a6-89a5-1f603e29e451_
55
+ Deletes SharePoint _Sites.Read.All_ application permissions from Entra application with app id _57907bf8-73fa-43a6-89a5-1f603e29e451_
50
56
 
51
57
  ```sh
52
- m365 aad approleassignment remove --appId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "SharePoint" --scopes "Sites.Read.All"
58
+ m365 entra approleassignment remove --appId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "SharePoint" --scopes "Sites.Read.All"
53
59
  ```
54
60
 
55
- Deletes multiple Microsoft Graph application permissions from an Azure AD application with name _MyAppName_
61
+ Deletes multiple Microsoft Graph application permissions from an Entra application with name _MyAppName_
56
62
 
57
63
  ```sh
58
- m365 aad approleassignment remove --appDisplayName "MyAppName" --resource "Microsoft Graph" --scopes "Mail.Read,Mail.Send"
64
+ m365 entra approleassignment remove --appDisplayName "MyAppName" --resource "Microsoft Graph" --scopes "Mail.Read,Mail.Send"
59
65
  ```
60
66
 
61
67
  Deletes Microsoft Graph _Mail.Read_ application permissions from a system-managed identity app with objectId _57907bf8-73fa-43a6-89a5-1f603e29e451_
62
68
 
63
69
  ```sh
64
- m365 aad approleassignment remove --appObjectId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "Microsoft Graph" --scopes "Mail.Read"
70
+ m365 entra approleassignment remove --appObjectId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "Microsoft Graph" --scopes "Mail.Read"
65
71
  ```
66
72
 
67
73
  ## Response
@@ -2,12 +2,18 @@ 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 group get
5
+ # entra group get
6
6
 
7
- Gets information about the specified Azure AD Group
7
+ Gets information about the specified Entra group
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra group get [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad group get [options]
13
19
  ```
@@ -16,26 +22,26 @@ m365 aad group get [options]
16
22
 
17
23
  ```md definition-list
18
24
  `-i, --id [id]`
19
- : The object Id of the Azure AD group. Specify either `id` or `displayName` but not both.
25
+ : The object Id of the Entra group. Specify either `id` or `displayName` but not both.
20
26
 
21
27
  `-n, --displayName [displayName]`
22
- : The display name of the Azure AD group. Specify either `id` or `displayName` but not both.
28
+ : The display name of the Entra group. Specify either `id` or `displayName` but not both.
23
29
  ```
24
30
 
25
31
  <Global />
26
32
 
27
33
  ## Examples
28
34
 
29
- Get information about an Azure AD Group by id
35
+ Get information about an Entra Group by id
30
36
 
31
37
  ```sh
32
- m365 aad group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844
38
+ m365 entra group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844
33
39
  ```
34
40
 
35
- Get information about an Azure AD Group by its display name
41
+ Get information about an Entra Group by its display name
36
42
 
37
43
  ```sh
38
- m365 aad group get --displayName Finance
44
+ m365 entra group get --displayName Finance
39
45
  ```
40
46
 
41
47
  ## Response
@@ -139,7 +145,7 @@ m365 aad group get --displayName Finance
139
145
  <TabItem value="Markdown">
140
146
 
141
147
  ```md
142
- # aad group get --id "c541afac-508e-40c7-8880-5a601b41737b"
148
+ # entra group get --id "c541afac-508e-40c7-8880-5a601b41737b"
143
149
 
144
150
  Date: 2022-11-13
145
151
 
@@ -2,12 +2,18 @@ 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 group list
5
+ # entra group list
6
6
 
7
- Lists Azure AD groups
7
+ Lists Entra groups
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra group list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad group list [options]
13
19
  ```
@@ -23,16 +29,16 @@ m365 aad group list [options]
23
29
 
24
30
  ## Examples
25
31
 
26
- Lists all groups defined in Azure Active Directory.
32
+ Lists all groups defined in Entra ID.
27
33
 
28
34
  ```sh
29
- m365 aad group list
35
+ m365 entra group list
30
36
  ```
31
37
 
32
- List all security groups defined in Azure Active Directory.
38
+ List all security groups defined in Entra ID.
33
39
 
34
40
  ```sh
35
- m365 aad group list --type security
41
+ m365 entra group list --type security
36
42
  ```
37
43
 
38
44
  ## Response
@@ -108,7 +114,7 @@ m365 aad group list --type security
108
114
  <TabItem value="Markdown">
109
115
 
110
116
  ```md
111
- # aad group list
117
+ # entra group list
112
118
 
113
119
  Date: 2023-06-01
114
120
 
@@ -0,0 +1,50 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # entra group remove
4
+
5
+ Removes an Entra group
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 entra group remove [options]
11
+ ```
12
+
13
+ ## Alias
14
+
15
+ ```sh
16
+ m365 aad group remove [options]
17
+ ```
18
+
19
+ ## Options
20
+
21
+ ```md definition-list
22
+ `-i, --id [id]`
23
+ : The ID of the Entra group. Specify either `id` or `displayName` but not both.
24
+
25
+ `-n, --displayName [displayName]`
26
+ : The display name of the Entra group. Specify either `id` or `displayName` but not both.
27
+
28
+ `-f, --force`
29
+ : Don't prompt for confirmation.
30
+ ```
31
+
32
+ <Global />
33
+
34
+ ## Examples
35
+
36
+ Remove an Entra group by display name
37
+
38
+ ```sh
39
+ m365 entra group remove --displayName Developers
40
+ ```
41
+
42
+ Remove an Entra group by ID
43
+
44
+ ```sh
45
+ m365 entra group remove --id 016bf125-195b-43c5-a1a0-28ccd3192c6d
46
+ ```
47
+
48
+ ## Response
49
+
50
+ The command won't return a response on success.
@@ -2,12 +2,18 @@ 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 group user list
5
+ # entra group user list
6
6
 
7
- Lists users of a specific Azure AD group
7
+ Lists users of a specific Entra group
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra group user list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad group user list [options]
13
19
  ```
@@ -16,10 +22,10 @@ m365 aad group user list [options]
16
22
 
17
23
  ```md definition-list
18
24
  `-i, --groupId [groupId]`
19
- : The ID of the Azure AD group. Specify `groupId` or `groupDisplayName` but not both.
25
+ : The ID of the Entra group. Specify `groupId` or `groupDisplayName` but not both.
20
26
 
21
27
  `-n, --groupDisplayName [groupDisplayName]`
22
- : The display name of the Azure AD group. Specify `groupId` or `groupDisplayName` but not both.
28
+ : The display name of the Entra group. Specify `groupId` or `groupDisplayName` but not both.
23
29
 
24
30
  `-r, --role [role]`
25
31
  : Filter the results to only users with the given role: `Owner`, `Member`.
@@ -42,31 +48,31 @@ When the `properties` option includes values with a `/`, for example: `manager/d
42
48
  List all group users from a group specified by ID.
43
49
 
44
50
  ```sh
45
- m365 aad group user list --groupId 03cba9da-3974-46c1-afaf-79caa2e45bbe
51
+ m365 entra group user list --groupId 03cba9da-3974-46c1-afaf-79caa2e45bbe
46
52
  ```
47
53
 
48
54
  List all owners from a group specified by display name.
49
55
 
50
56
  ```sh
51
- m365 aad group user list --groupDisplayName Developers --role Owner
57
+ m365 entra group user list --groupDisplayName Developers --role Owner
52
58
  ```
53
59
 
54
60
  List all group users from a group specified by name. For each one return the display name, e-mail address, and manager display name.
55
61
 
56
62
  ```sh
57
- m365 aad group user list --groupDisplayName Developers --properties "displayName,mail,manager/displayName"
63
+ m365 entra group user list --groupDisplayName Developers --properties "displayName,mail,manager/displayName"
58
64
  ```
59
65
 
60
66
  List all group users from a group specified by name. For each one return the display name, e-mail address, and manager information.
61
67
 
62
68
  ```sh
63
- m365 aad group user list --groupDisplayName Developers --properties "displayName,mail,manager/*"
69
+ m365 entra group user list --groupDisplayName Developers --properties "displayName,mail,manager/*"
64
70
  ```
65
71
 
66
72
  List all group members that are guest users.
67
73
 
68
74
  ```sh
69
- m365 aad group user list --groupDisplayName Developers --filter "userType eq 'Guest'"
75
+ m365 entra group user list --groupDisplayName Developers --filter "userType eq 'Guest'"
70
76
  ```
71
77
 
72
78
  ## Response
@@ -111,7 +117,7 @@ m365 aad group user list --groupDisplayName Developers --filter "userType eq 'Gu
111
117
  <TabItem value="Markdown">
112
118
 
113
119
  ```md
114
- # aad group user list --groupId "1deaa428-8dde-4043-b028-5492226d6114"
120
+ # entra group user list --groupId "1deaa428-8dde-4043-b028-5492226d6114"
115
121
 
116
122
  Date: 2023-10-02
117
123
 
@@ -132,4 +138,4 @@ m365 aad group user list --groupDisplayName Developers --filter "userType eq 'Gu
132
138
 
133
139
  ## More information
134
140
 
135
- - View the documentation to see what userproperties can be included: [https://pnp.github.io/cli-microsoft365/cmd/aad/user/user-get#more-information](https://pnp.github.io/cli-microsoft365/cmd/aad/user/user-get#more-information)
141
+ - View the documentation to see what userproperties can be included: [https://pnp.github.io/cli-microsoft365/cmd/entra/user/user-get#more-information](https://pnp.github.io/cli-microsoft365/cmd/entra/user/user-get#more-information)
@@ -2,12 +2,18 @@ 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 groupsetting add
5
+ # entra groupsetting add
6
6
 
7
7
  Creates a group setting
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra groupsetting add [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad groupsetting add [options]
13
19
  ```
@@ -23,11 +29,11 @@ m365 aad groupsetting add [options]
23
29
 
24
30
  ## Remarks
25
31
 
26
- To create a group setting, you have to specify the ID of the group setting template that should be used to create the setting. You can retrieve the ID of the template using the [aad groupsettingtemplate list](../groupsettingtemplate/groupsettingtemplate-list.mdx) command.
32
+ To create a group setting, you have to specify the ID of the group setting template that should be used to create the setting. You can retrieve the ID of the template using the [entra groupsettingtemplate list](../groupsettingtemplate/groupsettingtemplate-list.mdx) command.
27
33
 
28
34
  To specify values for the different properties specified in the group setting template, include additional options that match the property in the group setting template. For example `--ClassificationList 'HBI, MBI, LBI, GDPR'` will set the list of classifications to use on modern SharePoint sites.
29
35
 
30
- Each group setting template specifies default value for each property. If you don't specify a value for the particular property yourself, the default value from the group setting template will be used. To find out which properties are available for the particular group setting template, use the [aad groupsettingtemplate get](../groupsettingtemplate/groupsettingtemplate-get.mdx) command.
36
+ Each group setting template specifies default value for each property. If you don't specify a value for the particular property yourself, the default value from the group setting template will be used. To find out which properties are available for the particular group setting template, use the [entra groupsettingtemplate get](../groupsettingtemplate/groupsettingtemplate-get.mdx) command.
31
37
 
32
38
  If the specified templateId doesn't reference a valid group setting template, you will get a _Resource 'xyz' does not exist or one of its queried reference-property objects are not present._ error.
33
39
 
@@ -38,7 +44,7 @@ If you try to add a group setting using a template, for which a setting already
38
44
  Configure classification for modern SharePoint sites
39
45
 
40
46
  ```sh
41
- m365 aad groupsetting add --templateId 62375ab9-6b52-47ed-826b-58e47e0e304b --UsageGuidelinesUrl https://contoso.sharepoint.com/sites/compliance --ClassificationList 'HBI, MBI, LBI, GDPR' --DefaultClassification MBI
47
+ m365 entra groupsetting add --templateId 62375ab9-6b52-47ed-826b-58e47e0e304b --UsageGuidelinesUrl https://contoso.sharepoint.com/sites/compliance --ClassificationList 'HBI, MBI, LBI, GDPR' --DefaultClassification MBI
42
48
  ```
43
49
 
44
50
  ## Response
@@ -138,7 +144,7 @@ m365 aad groupsetting add --templateId 62375ab9-6b52-47ed-826b-58e47e0e304b --Us
138
144
  <TabItem value="Markdown">
139
145
 
140
146
  ```md
141
- # aad groupsetting add --templateId "62375ab9-6b52-47ed-826b-58e47e0e304b" --UsageGuidelinesUrl "https://contoso.sharepoint.com/sites/compliance" --ClassificationList "HBI, MBI, LBI, GDPR" --DefaultClassification "MBI"
147
+ # entra groupsetting add --templateId "62375ab9-6b52-47ed-826b-58e47e0e304b" --UsageGuidelinesUrl "https://contoso.sharepoint.com/sites/compliance" --ClassificationList "HBI, MBI, LBI, GDPR" --DefaultClassification "MBI"
142
148
 
143
149
  Date: 2023-06-01
144
150