@pnp/cli-microsoft365 6.9.0-beta.6a23aba → 6.9.0-beta.8393174

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 (216) hide show
  1. package/.devcontainer/Dockerfile +12 -19
  2. package/.devcontainer/devcontainer.json +24 -17
  3. package/Dockerfile +3 -1
  4. package/dist/Auth.js +2 -8
  5. package/dist/AuthServer.js +2 -4
  6. package/dist/cli/Cli.js +16 -0
  7. package/dist/m365/aad/commands/app/app-add.js +258 -249
  8. package/dist/m365/aad/commands/app/app-get.js +65 -62
  9. package/dist/m365/aad/commands/app/app-remove.js +22 -23
  10. package/dist/m365/aad/commands/app/app-role-add.js +35 -34
  11. package/dist/m365/aad/commands/app/app-role-list.js +22 -23
  12. package/dist/m365/aad/commands/app/app-role-remove.js +76 -73
  13. package/dist/m365/aad/commands/app/app-set.js +103 -103
  14. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +16 -14
  15. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +43 -52
  16. package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +20 -16
  17. package/dist/m365/aad/commands/o365group/o365group-add.js +40 -37
  18. package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +7 -6
  19. package/dist/m365/aad/commands/o365group/o365group-list.js +6 -11
  20. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +7 -8
  21. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +23 -24
  22. package/dist/m365/aad/commands/o365group/o365group-set.js +15 -20
  23. package/dist/m365/aad/commands/o365group/o365group-teamify.js +15 -16
  24. package/dist/m365/aad/commands/o365group/o365group-user-list.js +17 -10
  25. package/dist/m365/aad/commands/o365group/o365group-user-set.js +17 -10
  26. package/dist/m365/aad/commands/policy/policy-list.js +12 -13
  27. package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +1 -3
  28. package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +19 -20
  29. package/dist/m365/aad/commands/sp/sp-add.js +22 -23
  30. package/dist/m365/aad/commands/sp/sp-get.js +22 -23
  31. package/dist/m365/app/commands/app-open.js +4 -14
  32. package/dist/m365/cli/commands/cli-issue.js +4 -10
  33. package/dist/m365/cli/commands/cli-reconsent.js +2 -8
  34. package/dist/m365/cli/commands/config/config-set.js +1 -0
  35. package/dist/m365/commands/docs.js +2 -8
  36. package/dist/m365/commands/login.js +20 -0
  37. package/dist/m365/commands/setupPresets.js +2 -0
  38. package/dist/m365/file/commands/convert/convert-pdf.js +147 -143
  39. package/dist/m365/file/commands/file-add.js +87 -93
  40. package/dist/m365/file/commands/file-list.js +49 -55
  41. package/dist/m365/flow/commands/flow-list.js +4 -4
  42. package/dist/m365/flow/commands/flow-remove.js +2 -3
  43. package/dist/m365/flow/commands/run/run-resubmit.js +11 -10
  44. package/dist/m365/onedrive/commands/onedrive-list.js +21 -32
  45. package/dist/m365/outlook/commands/message/message-list.js +18 -23
  46. package/dist/m365/outlook/commands/message/message-move.js +15 -20
  47. package/dist/m365/pa/commands/app/app-export.js +3 -4
  48. package/dist/m365/pa/commands/app/app-get.js +11 -9
  49. package/dist/m365/pa/commands/app/app-remove.js +1 -1
  50. package/dist/m365/pa/commands/pcf/pcf-init.js +1 -2
  51. package/dist/m365/pa/commands/solution/solution-init.js +1 -2
  52. package/dist/m365/pa/commands/solution/solution-reference-add.js +1 -2
  53. package/dist/m365/planner/commands/bucket/bucket-add.js +15 -13
  54. package/dist/m365/planner/commands/bucket/bucket-get.js +27 -28
  55. package/dist/m365/planner/commands/bucket/bucket-list.js +15 -13
  56. package/dist/m365/planner/commands/bucket/bucket-remove.js +33 -34
  57. package/dist/m365/planner/commands/bucket/bucket-set.js +33 -34
  58. package/dist/m365/planner/commands/plan/plan-add.js +49 -52
  59. package/dist/m365/planner/commands/plan/plan-set.js +19 -20
  60. package/dist/m365/planner/commands/task/task-add.js +75 -78
  61. package/dist/m365/planner/commands/task/task-checklistitem-add.js +11 -10
  62. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +10 -8
  63. package/dist/m365/planner/commands/task/task-get.js +53 -56
  64. package/dist/m365/planner/commands/task/task-list.js +23 -24
  65. package/dist/m365/planner/commands/task/task-reference-add.js +11 -10
  66. package/dist/m365/planner/commands/task/task-reference-remove.js +13 -14
  67. package/dist/m365/planner/commands/task/task-remove.js +44 -48
  68. package/dist/m365/planner/commands/task/task-set.js +83 -87
  69. package/dist/m365/pp/commands/card/card-get.js +6 -1
  70. package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +0 -5
  71. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +0 -5
  72. package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +0 -5
  73. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +0 -5
  74. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +0 -5
  75. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +0 -5
  76. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +0 -5
  77. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +0 -5
  78. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +0 -5
  79. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +0 -5
  80. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +0 -5
  81. package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +0 -5
  82. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +19 -22
  83. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +0 -5
  84. package/dist/m365/spfx/commands/project/JsonRule.js +1 -1
  85. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021003_PKG_engines_node.js +1 -0
  86. package/dist/m365/spo/commands/app/app-teamspackage-download.js +17 -24
  87. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +154 -0
  88. package/dist/m365/spo/commands/commandset/commandset-set.js +11 -2
  89. package/dist/m365/spo/commands/file/file-checkout-undo.js +119 -0
  90. package/dist/m365/spo/commands/homesite/homesite-remove.js +1 -1
  91. package/dist/m365/spo/commands/list/list-sensitivitylabel-ensure.js +127 -0
  92. package/dist/m365/spo/commands/navigation/navigation-node-add.js +31 -1
  93. package/dist/m365/spo/commands/navigation/navigation-node-set.js +31 -2
  94. package/dist/m365/{teams/Message.js → spo/commands/tenant/Solution.js} +1 -1
  95. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +156 -0
  96. package/dist/m365/spo/commands/tenant/tenant-commandset-add.js +215 -0
  97. package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +114 -0
  98. package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +50 -0
  99. package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +1 -1
  100. package/dist/m365/spo/commands.js +7 -0
  101. package/dist/m365/util/commands/accesstoken/accesstoken-get.js +10 -7
  102. package/dist/settingsNames.js +1 -0
  103. package/dist/utils/browserUtil.js +23 -0
  104. package/dist/utils/md.js +1 -3
  105. package/dist/utils/spo.js +60 -0
  106. package/docs/docs/cmd/aad/app/app-add.mdx +113 -0
  107. package/docs/docs/cmd/aad/app/app-get.mdx +217 -0
  108. package/docs/docs/cmd/aad/app/app-list.mdx +21 -0
  109. package/docs/docs/cmd/aad/app/app-role-add.mdx +4 -0
  110. package/docs/docs/cmd/aad/app/app-role-list.mdx +63 -0
  111. package/docs/docs/cmd/aad/app/app-role-remove.mdx +4 -0
  112. package/docs/docs/cmd/aad/app/app-set.mdx +4 -0
  113. package/docs/docs/cmd/aad/approleassignment/approleassignment-add.mdx +61 -0
  114. package/docs/docs/cmd/aad/approleassignment/approleassignment-list.mdx +59 -0
  115. package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.mdx +4 -0
  116. package/docs/docs/cmd/aad/group/group-get.mdx +24 -0
  117. package/docs/docs/cmd/aad/group/group-list.mdx +98 -0
  118. package/docs/docs/cmd/aad/groupsetting/groupsetting-add.mdx +114 -0
  119. package/docs/docs/cmd/aad/groupsetting/groupsetting-get.mdx +115 -0
  120. package/docs/docs/cmd/aad/groupsetting/groupsetting-list.mdx +115 -0
  121. package/docs/docs/cmd/aad/groupsetting/groupsetting-remove.mdx +4 -0
  122. package/docs/docs/cmd/aad/groupsetting/groupsetting-set.mdx +4 -0
  123. package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-get.mdx +63 -0
  124. package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-list.mdx +63 -0
  125. package/docs/docs/cmd/aad/o365group/o365group-add.mdx +122 -0
  126. package/docs/docs/cmd/aad/o365group/o365group-conversation-list.mdx +68 -0
  127. package/docs/docs/cmd/aad/o365group/o365group-conversation-post-list.mdx +77 -0
  128. package/docs/docs/cmd/aad/o365group/o365group-get.mdx +122 -0
  129. package/docs/docs/cmd/aad/o365group/o365group-list.mdx +99 -0
  130. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-clear.mdx +4 -0
  131. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-list.mdx +96 -0
  132. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-remove.mdx +4 -0
  133. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.mdx +4 -0
  134. package/docs/docs/cmd/aad/o365group/o365group-remove.mdx +4 -0
  135. package/docs/docs/cmd/aad/o365group/o365group-renew.mdx +4 -0
  136. package/docs/docs/cmd/aad/o365group/o365group-report-activitycounts.mdx +48 -0
  137. package/docs/docs/cmd/aad/o365group/o365group-report-activitydetail.mdx +60 -0
  138. package/docs/docs/cmd/aad/o365group/o365group-report-activityfilecounts.mdx +46 -0
  139. package/docs/docs/cmd/aad/o365group/o365group-report-activitygroupcounts.mdx +46 -0
  140. package/docs/docs/cmd/aad/o365group/o365group-report-activitystorage.mdx +46 -0
  141. package/docs/docs/cmd/aad/o365group/o365group-set.mdx +4 -0
  142. package/docs/docs/cmd/aad/o365group/o365group-teamify.mdx +4 -0
  143. package/docs/docs/cmd/aad/o365group/o365group-user-add.mdx +4 -0
  144. package/docs/docs/cmd/aad/o365group/o365group-user-list.mdx +56 -0
  145. package/docs/docs/cmd/aad/o365group/o365group-user-remove.mdx +4 -0
  146. package/docs/docs/cmd/aad/o365group/o365group-user-set.mdx +8 -4
  147. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-add.mdx +4 -0
  148. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-list.mdx +59 -0
  149. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.mdx +4 -0
  150. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-set.mdx +4 -0
  151. package/docs/docs/cmd/aad/policy/policy-list.mdx +77 -0
  152. package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.mdx +4 -0
  153. package/docs/docs/cmd/aad/siteclassification/siteclassification-enable.mdx +4 -0
  154. package/docs/docs/cmd/aad/siteclassification/siteclassification-get.mdx +57 -0
  155. package/docs/docs/cmd/aad/siteclassification/siteclassification-set.mdx +4 -0
  156. package/docs/docs/cmd/aad/sp/sp-add.mdx +136 -0
  157. package/docs/docs/cmd/aad/sp/sp-get.mdx +166 -0
  158. package/docs/docs/cmd/aad/user/user-get.mdx +75 -0
  159. package/docs/docs/cmd/aad/user/user-guest-add.mdx +23 -0
  160. package/docs/docs/cmd/aad/user/user-hibp.mdx +82 -0
  161. package/docs/docs/cmd/aad/user/user-license-add.mdx +2 -2
  162. package/docs/docs/cmd/aad/user/user-license-remove.mdx +2 -2
  163. package/docs/docs/cmd/aad/user/user-list.mdx +52 -0
  164. package/docs/docs/cmd/aad/user/user-password-validate.mdx +67 -0
  165. package/docs/docs/cmd/aad/user/user-signin-list.mdx +131 -0
  166. package/docs/docs/cmd/flow/flow-list.mdx +11 -3
  167. package/docs/docs/cmd/flow/run/run-list.mdx +0 -3
  168. package/docs/docs/cmd/login.mdx +39 -0
  169. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +0 -6
  170. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +0 -6
  171. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +0 -7
  172. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.mdx +0 -6
  173. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +0 -6
  174. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +0 -6
  175. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +0 -6
  176. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +0 -6
  177. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +0 -6
  178. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +0 -6
  179. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx +0 -6
  180. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx +0 -6
  181. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +0 -6
  182. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx +0 -6
  183. package/docs/docs/cmd/setup.mdx +2 -0
  184. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +72 -0
  185. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +12 -3
  186. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +55 -0
  187. package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +64 -0
  188. package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +7 -4
  189. package/docs/docs/cmd/spo/navigation/navigation-node-set.mdx +9 -0
  190. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +81 -0
  191. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +183 -0
  192. package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +155 -0
  193. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +114 -0
  194. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
  195. package/docs/docs/cmd/status.mdx +6 -3
  196. package/docs/docs/cmd/util/accesstoken/accesstoken-get.mdx +12 -2
  197. package/npm-shrinkwrap.json +299 -272
  198. package/package.json +17 -17
  199. package/dist/m365/aad/commands/approleassignment/AppRoleAssignment.js +0 -3
  200. package/dist/m365/aad/commands/approleassignment/ServicePrincipal.js +0 -3
  201. package/dist/m365/aad/commands/groupsetting/GroupSetting.js +0 -3
  202. package/dist/m365/aad/commands/groupsettingtemplate/GroupSettingTemplate.js +0 -3
  203. package/dist/m365/aad/commands/siteclassification/DirectorySetting.js +0 -10
  204. package/dist/m365/aad/commands/siteclassification/DirectorySettingTemplatesRsp.js +0 -3
  205. package/dist/m365/aad/commands/siteclassification/DirectorySettingValue.js +0 -3
  206. package/dist/m365/outlook/Message.js +0 -3
  207. package/dist/m365/spo/commands/site/SitePermission.js +0 -3
  208. package/dist/m365/teams/Channel.js +0 -3
  209. package/dist/m365/teams/ConversationMember.js +0 -3
  210. package/dist/m365/teams/Reply.js +0 -3
  211. package/dist/m365/teams/Tab.js +0 -3
  212. package/dist/m365/teams/Team.js +0 -3
  213. package/dist/m365/teams/TeamsApp.js +0 -3
  214. package/dist/m365/teams/TeamsAppInstallation.js +0 -3
  215. package/dist/m365/teams/TeamsTabConfiguration.js +0 -3
  216. package/dist/m365/teams/commands/Meeting.js +0 -3
@@ -0,0 +1,114 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spo tenant commandset list
6
+
7
+ Retrieves a list of ListView Command Sets that are installed tenant-wide
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ spo tenant commandset list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ <Global />
18
+
19
+ ## Examples
20
+
21
+ Retrieves a list of ListView Command Sets.
22
+
23
+ ```sh
24
+ m365 spo tenant commandset list
25
+ ```
26
+
27
+ ## Response
28
+
29
+ <Tabs>
30
+ <TabItem value="JSON">
31
+
32
+ ```json
33
+ [
34
+ {
35
+ "FileSystemObjectType": 0,
36
+ "Id": 9,
37
+ "ServerRedirectedEmbedUri": null,
38
+ "ServerRedirectedEmbedUrl": "",
39
+ "ID": 9,
40
+ "ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
41
+ "Title": "HelloWorld",
42
+ "Modified": "2023-05-25T12:11:21Z",
43
+ "Created": "2023-05-25T12:11:21Z",
44
+ "AuthorId": 9,
45
+ "EditorId": 9,
46
+ "OData__UIVersionString": "1.0",
47
+ "Attachments": false,
48
+ "GUID": "6c47dd94-f5d5-4ea8-8b39-920385a56c37",
49
+ "OData__ColorTag": null,
50
+ "ComplianceAssetId": null,
51
+ "TenantWideExtensionComponentId": "f61d4ae8-3480-4541-930b-d641233c4fea",
52
+ "TenantWideExtensionComponentProperties": "{\"sampleTextOne\":\"One item is selected in the list.\", \"sampleTextTwo\":\"This command is always visible.\"}",
53
+ "TenantWideExtensionWebTemplate": null,
54
+ "TenantWideExtensionListTemplate": 100,
55
+ "TenantWideExtensionLocation": "ClientSideExtension.ListViewCommandSet.CommandBar",
56
+ "TenantWideExtensionSequence": 0,
57
+ "TenantWideExtensionHostProperties": null,
58
+ "TenantWideExtensionDisabled": false
59
+ }
60
+ ]
61
+ ```
62
+
63
+ </TabItem>
64
+ <TabItem value="Text">
65
+
66
+ ```text
67
+ TenantWideExtensionComponentId : f61d4ae8-3480-4541-930b-d641233c4fea
68
+ TenantWideExtensionListTemplate: 100
69
+ Title : HelloWorld
70
+ ```
71
+
72
+ </TabItem>
73
+ <TabItem value="CSV">
74
+
75
+ ```csv
76
+ FileSystemObjectType,Id,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionDisabled
77
+ 0,9,,9,0x00693E2C487575B448BD420C12CEAE7EFE,HelloWorld,2023-05-25T12:11:21Z,2023-05-25T12:11:21Z,9,9,1.0,,6c47dd94-f5d5-4ea8-8b39-920385a56c37,f61d4ae8-3480-4541-930b-d641233c4fea,"{""sampleTextOne"":""One item is selected in the list."", ""sampleTextTwo"":""This command is always visible.""}",100,ClientSideExtension.ListViewCommandSet.CommandBar,0,
78
+ ```
79
+
80
+ </TabItem>
81
+ <TabItem value="Markdown">
82
+
83
+ ```md
84
+ # spo tenant commandset list
85
+
86
+ Date: 5/25/2023
87
+
88
+ ## HelloWorld (9)
89
+
90
+ Property | Value
91
+ ---------|-------
92
+ FileSystemObjectType | 0
93
+ Id | 9
94
+ ServerRedirectedEmbedUrl |
95
+ ID | 9
96
+ ContentTypeId | 0x00693E2C487575B448BD420C12CEAE7EFE
97
+ Title | HelloWorld
98
+ Modified | 2023-05-25T12:11:21Z
99
+ Created | 2023-05-25T12:11:21Z
100
+ AuthorId | 9
101
+ EditorId | 9
102
+ OData\_\_UIVersionString | 1.0
103
+ Attachments | false
104
+ GUID | 6c47dd94-f5d5-4ea8-8b39-920385a56c37
105
+ TenantWideExtensionComponentId | f61d4ae8-3480-4541-930b-d641233c4fea
106
+ TenantWideExtensionComponentProperties | {"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}
107
+ TenantWideExtensionListTemplate | 100
108
+ TenantWideExtensionLocation | ClientSideExtension.ListViewCommandSet.CommandBar
109
+ TenantWideExtensionSequence | 0
110
+ TenantWideExtensionDisabled | false
111
+ ```
112
+
113
+ </TabItem>
114
+ </Tabs>
@@ -22,7 +22,7 @@ spo tenant commandset set [options]
22
22
  `-l, --listType [listType]`
23
23
  : The list or library type to register the ListView Command Set on. Allowed values `List` or `Library`.
24
24
 
25
- `-i, --clientSideComponentId [clientSideComponentId]`
25
+ `-c, --clientSideComponentId [clientSideComponentId]`
26
26
  : The Client Side Component Id (GUID) of the ListView Command Set.
27
27
 
28
28
  `-p, --clientSideComponentProperties [clientSideComponentProperties]`
@@ -38,7 +38,8 @@ m365 status
38
38
  "connectedAs": "john.doe@contoso.onmicrosoft.com",
39
39
  "authType": "DeviceCode",
40
40
  "appId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
41
- "appTenant": "common"
41
+ "appTenant": "common",
42
+ "cloudType": "Public"
42
43
  }
43
44
  ```
44
45
 
@@ -50,14 +51,15 @@ m365 status
50
51
  appTenant : common
51
52
  authType : DeviceCode
52
53
  connectedAs: john.doe@contoso.onmicrosoft.com
54
+ cloudType : Public
53
55
  ```
54
56
 
55
57
  </TabItem>
56
58
  <TabItem value="CSV">
57
59
 
58
60
  ```csv
59
- connectedAs,authType,appId,appTenant
60
- john.doe@contoso.onmicrosoft.com,DeviceCode,31359c7f-bd7e-475c-86db-fdb8c937548e,common
61
+ connectedAs,authType,appId,appTenant,cloudType
62
+ john.doe@contoso.onmicrosoft.com,DeviceCode,31359c7f-bd7e-475c-86db-fdb8c937548e,common,Public
61
63
  ```
62
64
 
63
65
  </TabItem>
@@ -76,6 +78,7 @@ m365 status
76
78
  authType | DeviceCode
77
79
  appId | 31359c7f-bd7e-475c-86db-fdb8c937548e
78
80
  appTenant | common
81
+ cloudType | Public
79
82
  ```
80
83
 
81
84
  </TabItem>
@@ -26,9 +26,13 @@ m365 util accesstoken get [options]
26
26
 
27
27
  ## Remarks
28
28
 
29
- The `util accesstoken get` command returns an access token for the specified resource. If an access token has been previously retrieved and is still valid, the command will return the cached token. If you want to ensure that the returned access token is valid for as long as possible, you can force the command to retrieve a new access token by using the `--new` option.
29
+ :::tip
30
+
31
+ Instead of specifying the full URL of the resource, you can use one of the following shorthand identifiers: `sharepoint`, `graph`.
30
32
 
31
- If the URL of your SharePoint tenant has been previously retrieved, you can use `sharepoint` as the resource to retrieve access token for SharePoint. To verify if the URL of your SharePoint tenant has been previously retrieved, use the [`spo get`](../../spo/spo-get.mdx) command. To explicitly set the URL of your SharePoint tenant use the [`spo set`](../../spo/spo-set.mdx) command.
33
+ :::
34
+
35
+ The `util accesstoken get` command returns an access token for the specified resource. If an access token has been previously retrieved and is still valid, the command will return the cached token. If you want to ensure that the returned access token is valid for as long as possible, you can force the command to retrieve a new access token by using the `--new` option.
32
36
 
33
37
  ## Examples
34
38
 
@@ -44,6 +48,12 @@ Get access token for SharePoint Online using the shorthand identifier
44
48
  m365 util accesstoken get --resource sharepoint
45
49
  ```
46
50
 
51
+ Get access token for Microsoft Graph using the shorthand identifier
52
+
53
+ ```sh
54
+ m365 util accesstoken get --resource graph
55
+ ```
56
+
47
57
  Get a new access token for SharePoint Online
48
58
 
49
59
  ```sh