@pnp/cli-microsoft365 6.8.0-beta.f473be5 → 6.8.0

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 (224) hide show
  1. package/.eslintrc.js +2 -0
  2. package/README.md +6 -1
  3. package/dist/Command.js +6 -0
  4. package/dist/chili/chili.js +298 -0
  5. package/dist/chili/index.js +20 -0
  6. package/dist/cli/Cli.js +2 -2
  7. package/dist/m365/aad/commands/user/user-add.js +30 -21
  8. package/dist/m365/app/commands/permission/permission-add.js +279 -0
  9. package/dist/m365/app/commands.js +1 -0
  10. package/dist/m365/commands/commands.js +2 -0
  11. package/dist/m365/commands/docs.js +42 -0
  12. package/dist/m365/commands/login.js +1 -1
  13. package/dist/m365/commands/setup.js +180 -0
  14. package/dist/m365/commands/setupPresets.js +25 -0
  15. package/dist/m365/pa/commands/app/app-consent-set.js +101 -0
  16. package/dist/m365/pa/commands.js +1 -0
  17. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +97 -0
  18. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +85 -0
  19. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +89 -0
  20. package/dist/m365/purview/commands.js +3 -0
  21. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.2.js +25 -0
  22. package/dist/m365/spfx/commands/project/project-doctor/rules/FN001035_DEP_fluentui_react.js +18 -0
  23. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021009_PKG_no_duplicate_oui_deps.js +11 -4
  24. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  25. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001035_DEP_fluentui_react.js +18 -0
  26. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +2 -0
  27. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.2.js +61 -0
  28. package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
  29. package/dist/m365/spfx/commands/spfx-doctor.js +29 -30
  30. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +146 -0
  31. package/dist/m365/spo/commands/file/file-list.js +15 -4
  32. package/dist/m365/spo/commands/file/file-remove.js +3 -0
  33. package/dist/m365/spo/commands/list/list-get.js +30 -3
  34. package/dist/m365/spo/commands/list/list-list.js +39 -2
  35. package/dist/m365/spo/commands/listitem/listitem-batch-set.js +308 -0
  36. package/dist/m365/spo/commands/page/page-section-add.js +2 -3
  37. package/dist/m365/spo/commands/site/site-recyclebinitem-move.js +119 -0
  38. package/dist/m365/spo/commands/site/site-recyclebinitem-remove.js +106 -0
  39. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +30 -39
  40. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +47 -0
  41. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +151 -0
  42. package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +152 -0
  43. package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +203 -0
  44. package/dist/m365/spo/commands/term/term-add.js +13 -4
  45. package/dist/m365/spo/commands/term/term-get.js +14 -5
  46. package/dist/m365/spo/commands/term/term-group-get.js +12 -3
  47. package/dist/m365/spo/commands/term/term-group-list.js +39 -4
  48. package/dist/m365/spo/commands/term/term-list.js +18 -9
  49. package/dist/m365/spo/commands/term/term-set-add.js +13 -4
  50. package/dist/m365/spo/commands/term/term-set-get.js +12 -3
  51. package/dist/m365/spo/commands/term/term-set-list.js +12 -3
  52. package/dist/m365/spo/commands.js +9 -0
  53. package/dist/m365/teams/commands/chat/chat-member-remove.js +137 -0
  54. package/dist/m365/teams/commands.js +1 -0
  55. package/dist/utils/formatting.js +35 -11
  56. package/dist/utils/pid.js +5 -0
  57. package/docs/docs/cmd/aad/o365group/o365group-get.md +0 -12
  58. package/docs/docs/cmd/aad/user/user-add.md +4 -0
  59. package/docs/docs/cmd/aad/user/user-set.md +2 -2
  60. package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +13 -13
  61. package/docs/docs/cmd/app/app-get.md +25 -6
  62. package/docs/docs/cmd/app/app-open.md +8 -2
  63. package/docs/docs/cmd/app/permission/permission-add.md +53 -0
  64. package/docs/docs/cmd/app/permission/permission-list.md +19 -19
  65. package/docs/docs/cmd/booking/business/business-get.md +30 -8
  66. package/docs/docs/cmd/booking/business/business-list.md +17 -8
  67. package/docs/docs/cmd/cli/cli-consent.md +6 -0
  68. package/docs/docs/cmd/cli/cli-doctor.md +17 -0
  69. package/docs/docs/cmd/cli/cli-issue.md +6 -0
  70. package/docs/docs/cmd/cli/cli-reconsent.md +6 -0
  71. package/docs/docs/cmd/cli/completion/completion-sh-setup.md +6 -0
  72. package/docs/docs/cmd/cli/config/config-get.md +6 -0
  73. package/docs/docs/cmd/docs.md +51 -0
  74. package/docs/docs/cmd/flow/environment/environment-list.md +18 -0
  75. package/docs/docs/cmd/flow/flow-get.md +20 -0
  76. package/docs/docs/cmd/flow/flow-list.md +17 -0
  77. package/docs/docs/cmd/graph/changelog/changelog-list.md +52 -0
  78. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +61 -0
  79. package/docs/docs/cmd/graph/schemaextension/schemaextension-get.md +61 -0
  80. package/docs/docs/cmd/graph/schemaextension/schemaextension-list.md +61 -0
  81. package/docs/docs/cmd/graph/schemaextension/schemaextension-remove.md +4 -0
  82. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -0
  83. package/docs/docs/cmd/graph/subscription/subscription-add.md +73 -0
  84. package/docs/docs/cmd/login.md +1 -1
  85. package/docs/docs/cmd/onedrive/onedrive-list.md +225 -0
  86. package/docs/docs/cmd/onedrive/report/report-activityfilecounts.md +39 -0
  87. package/docs/docs/cmd/onedrive/report/report-activityusercounts.md +39 -0
  88. package/docs/docs/cmd/onedrive/report/report-activityuserdetail.md +43 -0
  89. package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.md +38 -0
  90. package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.md +43 -0
  91. package/docs/docs/cmd/onedrive/report/report-usagefilecounts.md +38 -0
  92. package/docs/docs/cmd/onedrive/report/report-usagestorage.md +37 -0
  93. package/docs/docs/cmd/onenote/notebook/notebook-list.md +79 -0
  94. package/docs/docs/cmd/pa/app/app-consent-set.md +47 -0
  95. package/docs/docs/cmd/planner/plan/plan-get.md +1 -1
  96. package/docs/docs/cmd/planner/plan/plan-list.md +1 -1
  97. package/docs/docs/cmd/planner/roster/roster-add.md +2 -1
  98. package/docs/docs/cmd/planner/roster/roster-get.md +1 -1
  99. package/docs/docs/cmd/planner/roster/roster-remove.md +2 -1
  100. package/docs/docs/cmd/planner/task/task-get.md +0 -6
  101. package/docs/docs/cmd/planner/task/task-set.md +1 -1
  102. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.md +6 -7
  103. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +6 -7
  104. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +4 -4
  105. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +4 -4
  106. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +10 -10
  107. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +11 -11
  108. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +10 -10
  109. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +10 -10
  110. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +10 -10
  111. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +12 -12
  112. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +8 -9
  113. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +8 -9
  114. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +8 -8
  115. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +8 -8
  116. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.md +118 -0
  117. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.md +111 -0
  118. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.md +97 -0
  119. package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +17 -0
  120. package/docs/docs/cmd/search/externalconnection/externalconnection-list.md +17 -0
  121. package/docs/docs/cmd/setup.md +86 -0
  122. package/docs/docs/cmd/spfx/project/project-doctor.md +1 -1
  123. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  124. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +1 -1
  125. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.md +77 -0
  126. package/docs/docs/cmd/spo/commandset/commandset-set.md +1 -1
  127. package/docs/docs/cmd/spo/contenttype/contenttype-set.md +2 -2
  128. package/docs/docs/cmd/spo/customaction/customaction-add.md +1 -1
  129. package/docs/docs/cmd/spo/customaction/customaction-set.md +1 -1
  130. package/docs/docs/cmd/spo/file/file-list.md +9 -6
  131. package/docs/docs/cmd/spo/file/file-remove.md +12 -0
  132. package/docs/docs/cmd/spo/folder/folder-copy.md +1 -1
  133. package/docs/docs/cmd/spo/list/list-get.md +10 -0
  134. package/docs/docs/cmd/spo/list/list-list.md +28 -0
  135. package/docs/docs/cmd/spo/listitem/listitem-batch-set.md +67 -0
  136. package/docs/docs/cmd/spo/listitem/listitem-list.md +1 -1
  137. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +19 -0
  138. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +12 -0
  139. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +6 -0
  140. package/docs/docs/cmd/spo/page/page-column-get.md +15 -0
  141. package/docs/docs/cmd/spo/page/page-column-list.md +16 -0
  142. package/docs/docs/cmd/spo/page/page-control-get.md +18 -0
  143. package/docs/docs/cmd/spo/page/page-control-list.md +18 -0
  144. package/docs/docs/cmd/spo/page/page-copy.md +35 -0
  145. package/docs/docs/cmd/spo/page/page-get.md +39 -0
  146. package/docs/docs/cmd/spo/page/page-list.md +53 -0
  147. package/docs/docs/cmd/spo/page/page-section-get.md +12 -0
  148. package/docs/docs/cmd/spo/page/page-section-list.md +13 -0
  149. package/docs/docs/cmd/spo/page/page-template-list.md +31 -0
  150. package/docs/docs/cmd/spo/propertybag/propertybag-get.md +6 -0
  151. package/docs/docs/cmd/spo/propertybag/propertybag-list.md +13 -0
  152. package/docs/docs/cmd/spo/report/report-activityfilecounts.md +7 -0
  153. package/docs/docs/cmd/spo/report/report-activitypages.md +7 -0
  154. package/docs/docs/cmd/spo/report/report-activityusercounts.md +7 -0
  155. package/docs/docs/cmd/spo/report/report-activityuserdetail.md +7 -0
  156. package/docs/docs/cmd/spo/report/report-siteusagedetail.md +7 -0
  157. package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +7 -0
  158. package/docs/docs/cmd/spo/report/report-siteusagepages.md +7 -0
  159. package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +7 -0
  160. package/docs/docs/cmd/spo/report/report-siteusagestorage.md +7 -0
  161. package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +20 -0
  162. package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +20 -0
  163. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +20 -0
  164. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +18 -0
  165. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +20 -0
  166. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +17 -0
  167. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +13 -0
  168. package/docs/docs/cmd/spo/site/site-recyclebinitem-move.md +43 -0
  169. package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.md +45 -0
  170. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +1 -1
  171. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.md +103 -0
  172. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.md +49 -0
  173. package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.md +49 -0
  174. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.md +57 -0
  175. package/docs/docs/cmd/spo/term/term-add.md +107 -6
  176. package/docs/docs/cmd/spo/term/term-get.md +111 -10
  177. package/docs/docs/cmd/spo/term/term-group-get.md +71 -5
  178. package/docs/docs/cmd/spo/term/term-group-list.md +70 -2
  179. package/docs/docs/cmd/spo/term/term-list.md +80 -8
  180. package/docs/docs/cmd/spo/term/term-set-add.md +95 -11
  181. package/docs/docs/cmd/spo/term/term-set-get.md +92 -8
  182. package/docs/docs/cmd/spo/term/term-set-list.md +85 -5
  183. package/docs/docs/cmd/teams/app/app-list.md +17 -0
  184. package/docs/docs/cmd/teams/app/app-publish.md +18 -1
  185. package/docs/docs/cmd/teams/channel/channel-add.md +20 -0
  186. package/docs/docs/cmd/teams/channel/channel-get.md +21 -0
  187. package/docs/docs/cmd/teams/channel/channel-list.md +21 -0
  188. package/docs/docs/cmd/teams/channel/channel-member-list.md +20 -0
  189. package/docs/docs/cmd/teams/channel/channel-member-set.md +21 -0
  190. package/docs/docs/cmd/teams/chat/chat-get.md +22 -0
  191. package/docs/docs/cmd/teams/chat/chat-list.md +22 -0
  192. package/docs/docs/cmd/teams/chat/chat-member-list.md +20 -0
  193. package/docs/docs/cmd/teams/chat/chat-member-remove.md +52 -0
  194. package/docs/docs/cmd/teams/chat/chat-message-list.md +23 -0
  195. package/docs/docs/cmd/teams/funsettings/funsettings-list.md +15 -0
  196. package/docs/docs/cmd/teams/guestsettings/guestsettings-list.md +13 -0
  197. package/docs/docs/cmd/teams/membersettings/membersettings-list.md +17 -0
  198. package/docs/docs/cmd/teams/tab/tab-remove.md +1 -1
  199. package/docs/docs/cmd/todo/list/list-add.md +18 -0
  200. package/docs/docs/cmd/todo/list/list-get.md +18 -0
  201. package/docs/docs/cmd/todo/list/list-list.md +18 -0
  202. package/docs/docs/cmd/todo/task/task-get.md +21 -0
  203. package/docs/docs/cmd/todo/task/task-list.md +21 -0
  204. package/docs/docs/cmd/util/accesstoken/accesstoken-get.md +6 -0
  205. package/docs/docs/cmd/version.md +1 -1
  206. package/docs/docs/cmd/viva/connections/connections-app-create.md +3 -3
  207. package/docs/docs/cmd/yammer/group/group-list.md +42 -0
  208. package/docs/docs/cmd/yammer/message/message-add.md +32 -0
  209. package/docs/docs/cmd/yammer/message/message-get.md +32 -0
  210. package/docs/docs/cmd/yammer/message/message-list.md +34 -0
  211. package/docs/docs/cmd/yammer/network/network-list.md +70 -0
  212. package/docs/docs/cmd/yammer/report/report-activitycounts.md +7 -0
  213. package/docs/docs/cmd/yammer/report/report-activityusercounts.md +7 -0
  214. package/docs/docs/cmd/yammer/report/report-activityuserdetail.md +7 -0
  215. package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.md +7 -0
  216. package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.md +7 -0
  217. package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.md +7 -0
  218. package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.md +7 -0
  219. package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.md +7 -0
  220. package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.md +7 -0
  221. package/docs/docs/cmd/yammer/user/user-get.md +55 -0
  222. package/docs/docs/cmd/yammer/user/user-list.md +55 -0
  223. package/docs/docs/cmd/yammer/yammer-search.md +15 -3
  224. package/package.json +3 -2
@@ -19,3 +19,228 @@ Retrieves a list of OneDrive sites from the tenant.
19
19
  ```sh
20
20
  m365 onedrive list
21
21
  ```
22
+
23
+ ## Response
24
+
25
+ === "JSON"
26
+
27
+ ```json
28
+ [
29
+ {
30
+ "_ObjectType_": "Microsoft.Online.SharePoint.TenantAdministration.SiteProperties",
31
+ "_ObjectIdentity_": "5555b5a0-d016-6000-aee2-595e1fa42910|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4\\\nSiteProperties\\\nhttps%3a%2f%2fcontoso-my.sharepoint.com%2fpersonal%2fjohn_contoso_onmicrosoft_com",
32
+ "AllowDownloadingNonWebViewableFiles": false,
33
+ "AllowEditing": false,
34
+ "AllowSelfServiceUpgrade": true,
35
+ "AnonymousLinkExpirationInDays": 0,
36
+ "AuthContextStrength": null,
37
+ "AuthenticationContextLimitedAccess": false,
38
+ "AuthenticationContextName": null,
39
+ "AverageResourceUsage": 0,
40
+ "BlockDownloadLinksFileType": 0,
41
+ "BlockDownloadMicrosoft365GroupIds": null,
42
+ "BlockDownloadPolicy": false,
43
+ "BlockGuestsAsSiteAdmin": 0,
44
+ "ClearRestrictedAccessControl": false,
45
+ "CommentsOnSitePagesDisabled": false,
46
+ "CompatibilityLevel": 15,
47
+ "ConditionalAccessPolicy": 0,
48
+ "CurrentResourceUsage": 0,
49
+ "DefaultLinkPermission": 0,
50
+ "DefaultLinkToExistingAccess": false,
51
+ "DefaultLinkToExistingAccessReset": false,
52
+ "DefaultShareLinkRole": 0,
53
+ "DefaultShareLinkScope": 0,
54
+ "DefaultSharingLinkType": 0,
55
+ "DenyAddAndCustomizePages": 2,
56
+ "Description": null,
57
+ "DisableAppViews": 0,
58
+ "DisableCompanyWideSharingLinks": 0,
59
+ "DisableFlows": 0,
60
+ "ExcludeBlockDownloadPolicySiteOwners": false,
61
+ "ExcludedBlockDownloadGroupIds": [],
62
+ "ExternalUserExpirationInDays": 0,
63
+ "GroupId": "/Guid(00000000-0000-0000-0000-000000000000)/",
64
+ "GroupOwnerLoginName": null,
65
+ "HasHolds": false,
66
+ "HubSiteId": "/Guid(00000000-0000-0000-0000-000000000000)/",
67
+ "IBMode": null,
68
+ "IBSegments": [],
69
+ "IBSegmentsToAdd": null,
70
+ "IBSegmentsToRemove": null,
71
+ "IsGroupOwnerSiteAdmin": false,
72
+ "IsHubSite": false,
73
+ "IsTeamsChannelConnected": false,
74
+ "IsTeamsConnected": false,
75
+ "LastContentModifiedDate": "/Date(2023,4,22,10,47,36,867)/",
76
+ "Lcid": 1033,
77
+ "LimitedAccessFileType": 0,
78
+ "ListsShowHeaderAndNavigation": false,
79
+ "LockIssue": null,
80
+ "LockState": "Unlock",
81
+ "LoopDefaultSharingLinkRole": 0,
82
+ "LoopDefaultSharingLinkScope": 0,
83
+ "LoopOverrideSharingCapability": false,
84
+ "LoopSharingCapability": 0,
85
+ "MediaTranscription": 0,
86
+ "OverrideBlockUserInfoVisibility": 0,
87
+ "OverrideSharingCapability": false,
88
+ "OverrideTenantAnonymousLinkExpirationPolicy": false,
89
+ "OverrideTenantExternalUserExpirationPolicy": false,
90
+ "Owner": "john@contoso.onmicrosoft.com",
91
+ "OwnerEmail": null,
92
+ "OwnerLoginName": null,
93
+ "OwnerName": null,
94
+ "PWAEnabled": 1,
95
+ "ReadOnlyAccessPolicy": false,
96
+ "ReadOnlyForBlockDownloadPolicy": false,
97
+ "ReadOnlyForUnmanagedDevices": false,
98
+ "RelatedGroupId": "/Guid(00000000-0000-0000-0000-000000000000)/",
99
+ "RequestFilesLinkEnabled": false,
100
+ "RequestFilesLinkExpirationInDays": 0,
101
+ "RestrictedAccessControl": false,
102
+ "RestrictedAccessControlGroups": null,
103
+ "RestrictedAccessControlGroupsToAdd": null,
104
+ "RestrictedAccessControlGroupsToRemove": null,
105
+ "RestrictedToRegion": 3,
106
+ "SandboxedCodeActivationCapability": 0,
107
+ "SensitivityLabel": "/Guid(00000000-0000-0000-0000-000000000000)/",
108
+ "SensitivityLabel2": null,
109
+ "SetOwnerWithoutUpdatingSecondaryAdmin": false,
110
+ "SharingAllowedDomainList": null,
111
+ "SharingBlockedDomainList": null,
112
+ "SharingCapability": 0,
113
+ "SharingDomainRestrictionMode": 0,
114
+ "SharingLockDownCanBeCleared": false,
115
+ "SharingLockDownEnabled": false,
116
+ "ShowPeoplePickerSuggestionsForGuestUsers": false,
117
+ "SiteDefinedSharingCapability": 2,
118
+ "SocialBarOnSitePagesDisabled": false,
119
+ "Status": "Active",
120
+ "StorageMaximumLevel": 1048576,
121
+ "StorageQuotaType": null,
122
+ "StorageUsage": 99,
123
+ "StorageWarningLevel": 943718,
124
+ "TeamsChannelType": 0,
125
+ "Template": "SPSPERS#10",
126
+ "TimeZoneId": 13,
127
+ "Title": "John",
128
+ "TitleTranslations": null,
129
+ "Url": "https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com",
130
+ "UserCodeMaximumLevel": 300,
131
+ "UserCodeWarningLevel": 200,
132
+ "WebsCount": 0
133
+ }
134
+ ]
135
+ ```
136
+
137
+ === "Text"
138
+
139
+ ```text
140
+ Title Url
141
+ ----- -----------------------------------------------------------------------
142
+ John https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com
143
+ ```
144
+
145
+ === "CSV"
146
+
147
+ ```csv
148
+ _ObjectType_,_ObjectIdentity_,AllowDownloadingNonWebViewableFiles,AllowEditing,AllowSelfServiceUpgrade,AnonymousLinkExpirationInDays,AuthenticationContextLimitedAccess,AverageResourceUsage,BlockDownloadLinksFileType,BlockDownloadPolicy,BlockGuestsAsSiteAdmin,ClearRestrictedAccessControl,CommentsOnSitePagesDisabled,CompatibilityLevel,ConditionalAccessPolicy,CurrentResourceUsage,DefaultLinkPermission,DefaultLinkToExistingAccess,DefaultLinkToExistingAccessReset,DefaultShareLinkRole,DefaultShareLinkScope,DefaultSharingLinkType,DenyAddAndCustomizePages,DisableAppViews,DisableCompanyWideSharingLinks,DisableFlows,ExcludeBlockDownloadPolicySiteOwners,ExternalUserExpirationInDays,GroupId,HasHolds,HubSiteId,IsGroupOwnerSiteAdmin,IsHubSite,IsTeamsChannelConnected,IsTeamsConnected,LastContentModifiedDate,Lcid,LimitedAccessFileType,ListsShowHeaderAndNavigation,LockState,LoopDefaultSharingLinkRole,LoopDefaultSharingLinkScope,LoopOverrideSharingCapability,LoopSharingCapability,MediaTranscription,OverrideBlockUserInfoVisibility,OverrideSharingCapability,OverrideTenantAnonymousLinkExpirationPolicy,OverrideTenantExternalUserExpirationPolicy,Owner,PWAEnabled,ReadOnlyAccessPolicy,ReadOnlyForBlockDownloadPolicy,ReadOnlyForUnmanagedDevices,RelatedGroupId,RequestFilesLinkEnabled,RequestFilesLinkExpirationInDays,RestrictedAccessControl,RestrictedToRegion,SandboxedCodeActivationCapability,SensitivityLabel,SetOwnerWithoutUpdatingSecondaryAdmin,SharingCapability,SharingDomainRestrictionMode,SharingLockDownCanBeCleared,SharingLockDownEnabled,ShowPeoplePickerSuggestionsForGuestUsers,SiteDefinedSharingCapability,SocialBarOnSitePagesDisabled,Status,StorageMaximumLevel,StorageUsage,StorageWarningLevel,TeamsChannelType,Template,TimeZoneId,Title,Url,UserCodeMaximumLevel,UserCodeWarningLevel,WebsCount
149
+ Microsoft.Online.SharePoint.TenantAdministration.SiteProperties,"7755b5a0-60dd-6000-884e-d3cee2eebe74|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4
150
+ SiteProperties
151
+ https%3a%2f%2fcontoso-my.sharepoint.com%2fpersonal%2fjohn_contoso_onmicrosoft_com",,,1,0,,0,0,,0,,,15,0,0,0,,,0,0,0,2,0,0,0,,0,/Guid(00000000-0000-0000-0000-000000000000)/,,/Guid(00000000-0000-0000-0000-000000000000)/,,,,,"/Date(2023,4,22,10,47,36,867)/",1033,0,,Unlock,0,0,,0,0,0,,,,john@contoso.onmicrosoft.com,1,,,,/Guid(00000000-0000-0000-0000-000000000000)/,,0,,3,0,/Guid(00000000-0000-0000-0000-000000000000)/,,0,0,,,,2,,Active,1048576,99,943718,0,SPSPERS#10,13,John,https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com,300,200,0
152
+ ```
153
+
154
+ === "Markdown"
155
+
156
+ ```md
157
+ # onedrive list
158
+
159
+ Date: 2023-05-22
160
+
161
+ ## John (https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com)
162
+
163
+ Property | Value
164
+ ---------|-------
165
+ \_ObjectType\_ | Microsoft.Online.SharePoint.TenantAdministration.SiteProperties
166
+ \_ObjectIdentity\_ | 8b55b5a0-3004-6000-aee2-525984e67e44\|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4<br>SiteProperties<br>https%3a%2f%2fcontoso-my.sharepoint.com%2fpersonal%2fjohn\_contoso\_onmicrosoft\_com
167
+ AllowDownloadingNonWebViewableFiles | false
168
+ AllowEditing | false
169
+ AllowSelfServiceUpgrade | true
170
+ AnonymousLinkExpirationInDays | 0
171
+ AuthenticationContextLimitedAccess | false
172
+ AverageResourceUsage | 0
173
+ BlockDownloadLinksFileType | 0
174
+ BlockDownloadPolicy | false
175
+ BlockGuestsAsSiteAdmin | 0
176
+ ClearRestrictedAccessControl | false
177
+ CommentsOnSitePagesDisabled | false
178
+ CompatibilityLevel | 15
179
+ ConditionalAccessPolicy | 0
180
+ CurrentResourceUsage | 0
181
+ DefaultLinkPermission | 0
182
+ DefaultLinkToExistingAccess | false
183
+ DefaultLinkToExistingAccessReset | false
184
+ DefaultShareLinkRole | 0
185
+ DefaultShareLinkScope | 0
186
+ DefaultSharingLinkType | 0
187
+ DenyAddAndCustomizePages | 2
188
+ DisableAppViews | 0
189
+ DisableCompanyWideSharingLinks | 0
190
+ DisableFlows | 0
191
+ ExcludeBlockDownloadPolicySiteOwners | false
192
+ ExternalUserExpirationInDays | 0
193
+ GroupId | /Guid(00000000-0000-0000-0000-000000000000)/
194
+ HasHolds | false
195
+ HubSiteId | /Guid(00000000-0000-0000-0000-000000000000)/
196
+ IsGroupOwnerSiteAdmin | false
197
+ IsHubSite | false
198
+ IsTeamsChannelConnected | false
199
+ IsTeamsConnected | false
200
+ LastContentModifiedDate | /Date(2023,4,22,10,47,36,867)/
201
+ Lcid | 1033
202
+ LimitedAccessFileType | 0
203
+ ListsShowHeaderAndNavigation | false
204
+ LockState | Unlock
205
+ LoopDefaultSharingLinkRole | 0
206
+ LoopDefaultSharingLinkScope | 0
207
+ LoopOverrideSharingCapability | false
208
+ LoopSharingCapability | 0
209
+ MediaTranscription | 0
210
+ OverrideBlockUserInfoVisibility | 0
211
+ OverrideSharingCapability | false
212
+ OverrideTenantAnonymousLinkExpirationPolicy | false
213
+ OverrideTenantExternalUserExpirationPolicy | false
214
+ Owner | john@contoso.onmicrosoft.com
215
+ PWAEnabled | 1
216
+ ReadOnlyAccessPolicy | false
217
+ ReadOnlyForBlockDownloadPolicy | false
218
+ ReadOnlyForUnmanagedDevices | false
219
+ RelatedGroupId | /Guid(00000000-0000-0000-0000-000000000000)/
220
+ RequestFilesLinkEnabled | false
221
+ RequestFilesLinkExpirationInDays | 0
222
+ RestrictedAccessControl | false
223
+ RestrictedToRegion | 3
224
+ SandboxedCodeActivationCapability | 0
225
+ SensitivityLabel | /Guid(00000000-0000-0000-0000-000000000000)/
226
+ SetOwnerWithoutUpdatingSecondaryAdmin | false
227
+ SharingCapability | 0
228
+ SharingDomainRestrictionMode | 0
229
+ SharingLockDownCanBeCleared | false
230
+ SharingLockDownEnabled | false
231
+ ShowPeoplePickerSuggestionsForGuestUsers | false
232
+ SiteDefinedSharingCapability | 2
233
+ SocialBarOnSitePagesDisabled | false
234
+ Status | Active
235
+ StorageMaximumLevel | 1048576
236
+ StorageUsage | 99
237
+ StorageWarningLevel | 943718
238
+ TeamsChannelType | 0
239
+ Template | SPSPERS#10
240
+ TimeZoneId | 13
241
+ Title | John
242
+ Url | https://contoso-my.sharepoint.com/personal/john\_contoso\_onmicrosoft\_com
243
+ UserCodeMaximumLevel | 300
244
+ UserCodeWarningLevel | 200
245
+ WebsCount | 0
246
+ ```
@@ -37,3 +37,42 @@ Gets the number of unique, licensed users that performed file interactions again
37
37
  ```sh
38
38
  m365 onedrive report activityfilecounts --period D7 --output json > "activityfilecounts.json"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ === "JSON"
44
+
45
+ ```json
46
+ [
47
+ {
48
+ "Report Refresh Date": "2023-05-20",
49
+ "Viewed Or Edited": "",
50
+ "Synced": "",
51
+ "Shared Internally": "",
52
+ "Shared Externally": "",
53
+ "Report Date": "2023-05-20",
54
+ "Report Period": "7"
55
+ }
56
+ ]
57
+ ```
58
+
59
+ === "Text"
60
+
61
+ ```text
62
+ Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
63
+ 2023-05-20,,,,,2023-05-20,7
64
+ ```
65
+
66
+ === "CSV"
67
+
68
+ ```csv
69
+ Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
70
+ 2023-05-20,,,,,2023-05-20,7
71
+ ```
72
+
73
+ === "Markdown"
74
+
75
+ ```md
76
+ Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
77
+ 2023-05-20,,,,,2023-05-20,7
78
+ ```
@@ -37,3 +37,42 @@ Gets the trend in the number of active OneDrive users for the last week and expo
37
37
  ```sh
38
38
  m365 onedrive report activityusercounts --period D7 --output json > "activityusercounts.json"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ === "JSON"
44
+
45
+ ```json
46
+ [
47
+ {
48
+ "Report Refresh Date": "2023-05-20",
49
+ "Viewed Or Edited": "",
50
+ "Synced": "",
51
+ "Shared Internally": "",
52
+ "Shared Externally": "",
53
+ "Report Date": "2023-05-20",
54
+ "Report Period": "7"
55
+ }
56
+ ]
57
+ ```
58
+
59
+ === "Text"
60
+
61
+ ```text
62
+ Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
63
+ 2023-05-20,,,,,2023-05-20,7
64
+ ```
65
+
66
+ === "CSV"
67
+
68
+ ```csv
69
+ Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
70
+ 2023-05-20,,,,,2023-05-20,7
71
+ ```
72
+
73
+ === "Markdown"
74
+
75
+ ```md
76
+ Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
77
+ 2023-05-20,,,,,2023-05-20,7
78
+ ```
@@ -46,3 +46,46 @@ Gets details about OneDrive activity by user for the last week and exports the r
46
46
  ```sh
47
47
  m365 onedrive report activityuserdetail --period D7 --output json > "onedriveactivityuserdetail.json"
48
48
  ```
49
+
50
+ ## Response
51
+
52
+ === "JSON"
53
+
54
+ ```json
55
+ [
56
+ {
57
+ "Report Refresh Date": "2023-05-20",
58
+ "User Principal Name": "30B283368E548933B1D03A64A6B14A89",
59
+ "Is Deleted": "False",
60
+ "Deleted Date": "",
61
+ "Last Activity Date": "2022-12-27",
62
+ "Viewed Or Edited File Count": "0",
63
+ "Synced File Count": "0",
64
+ "Shared Internally File Count": "0",
65
+ "Shared Externally File Count": "0",
66
+ "Assigned Products": "MICROSOFT POWER APPS PLAN 2 TRIAL+POWER VIRTUAL AGENTS VIRAL TRIAL+MICROSOFT POWER AUTOMATE FREE+POWER BI (FREE)+OFFICE 365 E3 DEVELOPER",
67
+ "Report Period": "7"
68
+ }
69
+ ]
70
+ ```
71
+
72
+ === "Text"
73
+
74
+ ```text
75
+ Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Viewed Or Edited File Count,Synced File Count,Shared Internally File Count,Shared Externally File Count,Assigned Products,Report Period
76
+ 2023-05-20,30B283368E548933B1D03A64A6B14A89,False,,2022-12-27,0,0,0,0,MICROSOFT POWER APPS PLAN 2 TRIAL+POWER VIRTUAL AGENTS VIRAL TRIAL+MICROSOFT POWER AUTOMATE FREE+POWER BI (FREE)+OFFICE 365 E3 DEVELOPER,7
77
+ ```
78
+
79
+ === "CSV"
80
+
81
+ ```csv
82
+ Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Viewed Or Edited File Count,Synced File Count,Shared Internally File Count,Shared Externally File Count,Assigned Products,Report Period
83
+ 2023-05-20,30B283368E548933B1D03A64A6B14A89,False,,2022-12-27,0,0,0,0,MICROSOFT POWER APPS PLAN 2 TRIAL+POWER VIRTUAL AGENTS VIRAL TRIAL+MICROSOFT POWER AUTOMATE FREE+POWER BI (FREE)+OFFICE 365 E3 DEVELOPER,7
84
+ ```
85
+
86
+ === "Markdown"
87
+
88
+ ```md
89
+ Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Viewed Or Edited File Count,Synced File Count,Shared Internally File Count,Shared Externally File Count,Assigned Products,Report Period
90
+ 2023-05-20,30B283368E548933B1D03A64A6B14A89,False,,2022-12-27,0,0,0,0,MICROSOFT POWER APPS PLAN 2 TRIAL+POWER VIRTUAL AGENTS VIRAL TRIAL+MICROSOFT POWER AUTOMATE FREE+POWER BI (FREE)+OFFICE 365 E3 DEVELOPER,7
91
+ ```
@@ -41,3 +41,41 @@ Gets the trend in the number of active OneDrive for Business sites for the last
41
41
  ```sh
42
42
  m365 onedrive report usageaccountcounts --period D7 --output json > "usageaccountcounts.json"
43
43
  ```
44
+
45
+ ## Response
46
+
47
+ === "JSON"
48
+
49
+ ```json
50
+ [
51
+ {
52
+ "Report Refresh Date": "2023-05-20",
53
+ "Site Type": "All",
54
+ "Total": "1",
55
+ "Active": "0",
56
+ "Report Date": "2023-05-20",
57
+ "Report Period": "7"
58
+ }
59
+ ]
60
+ ```
61
+
62
+ === "Text"
63
+
64
+ ```text
65
+ Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
66
+ 2023-05-20,All,1,0,2023-05-20,7
67
+ ```
68
+
69
+ === "CSV"
70
+
71
+ ```csv
72
+ Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
73
+ 2023-05-20,All,1,0,2023-05-20,7
74
+ ```
75
+
76
+ === "Markdown"
77
+
78
+ ```md
79
+ Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
80
+ 2023-05-20,All,1,0,2023-05-20,7
81
+ ```
@@ -46,3 +46,46 @@ Gets details about OneDrive usage by account for the last week and exports the r
46
46
  ```sh
47
47
  m365 onedrive report usageaccountdetail --period D7 --output json > "onedriveusageaccountdetail.json"
48
48
  ```
49
+
50
+ ## Response
51
+
52
+ === "JSON"
53
+
54
+ ```json
55
+ [
56
+ {
57
+ "Report Refresh Date": "2023-05-20",
58
+ "Site URL": "93212C12CBFBD450189A52F29CF6397F",
59
+ "Owner Display Name": "24C1B29099C8749194796DFEF8B50A40",
60
+ "Is Deleted": "False",
61
+ "Last Activity Date": "2022-12-27",
62
+ "File Count": "128",
63
+ "Active File Count": "0",
64
+ "Storage Used (Byte)": "104122210",
65
+ "Storage Allocated (Byte)": "1099511627776",
66
+ "Owner Principal Name": "30B283368E548933B1D03A64A6B14A89",
67
+ "Report Period": "7"
68
+ }
69
+ ]
70
+ ```
71
+
72
+ === "Text"
73
+
74
+ ```text
75
+ Report Refresh Date,Site URL,Owner Display Name,Is Deleted,Last Activity Date,File Count,Active File Count,Storage Used (Byte),Storage Allocated (Byte),Owner Principal Name,Report Period
76
+ 2023-05-20,93212C12CBFBD450189A52F29CF6397F,24C1B29099C8749194796DFEF8B50A40,False,2022-12-27,128,0,104122210,1099511627776,30B283368E548933B1D03A64A6B14A89,7
77
+ ```
78
+
79
+ === "CSV"
80
+
81
+ ```csv
82
+ Report Refresh Date,Site URL,Owner Display Name,Is Deleted,Last Activity Date,File Count,Active File Count,Storage Used (Byte),Storage Allocated (Byte),Owner Principal Name,Report Period
83
+ 2023-05-20,93212C12CBFBD450189A52F29CF6397F,24C1B29099C8749194796DFEF8B50A40,False,2022-12-27,128,0,104122210,1099511627776,30B283368E548933B1D03A64A6B14A89,7
84
+ ```
85
+
86
+ === "Markdown"
87
+
88
+ ```md
89
+ Report Refresh Date,Site URL,Owner Display Name,Is Deleted,Last Activity Date,File Count,Active File Count,Storage Used (Byte),Storage Allocated (Byte),Owner Principal Name,Report Period
90
+ 2023-05-20,93212C12CBFBD450189A52F29CF6397F,24C1B29099C8749194796DFEF8B50A40,False,2022-12-27,128,0,104122210,1099511627776,30B283368E548933B1D03A64A6B14A89,7
91
+ ```
@@ -41,3 +41,41 @@ Gets the total number of files across all sites and how many are active files fo
41
41
  ```sh
42
42
  m365 onedrive report usagefilecounts --period D7 --output json > "usagefilecounts.json"
43
43
  ```
44
+
45
+ ## Response
46
+
47
+ === "JSON"
48
+
49
+ ```json
50
+ [
51
+ {
52
+ "Report Refresh Date": "2023-05-20",
53
+ "Site Type": "All",
54
+ "Total": "128",
55
+ "Active": "0",
56
+ "Report Date": "2023-05-20",
57
+ "Report Period": "7"
58
+ }
59
+ ]
60
+ ```
61
+
62
+ === "Text"
63
+
64
+ ```text
65
+ Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
66
+ 2023-05-20,All,128,0,2023-05-20,7
67
+ ```
68
+
69
+ === "CSV"
70
+
71
+ ```csv
72
+ Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
73
+ 2023-05-20,All,128,0,2023-05-20,7
74
+ ```
75
+
76
+ === "Markdown"
77
+
78
+ ```md
79
+ Report Refresh Date,Site Type,Total,Active,Report Date,Report Period
80
+ 2023-05-20,All,128,0,2023-05-20,7
81
+ ```
@@ -37,3 +37,40 @@ Gets the trend on the amount of storage you are using in OneDrive for Business f
37
37
  ```sh
38
38
  m365 onedrive report usagestorage --period D7 --output json > "usagestorage.json"
39
39
  ```
40
+
41
+ ## Response
42
+
43
+ === "JSON"
44
+
45
+ ```json
46
+ [
47
+ {
48
+ "Report Refresh Date": "2023-05-20",
49
+ "Site Type": "OneDrive",
50
+ "Storage Used (Byte)": "104122210",
51
+ "Report Date": "2023-05-20",
52
+ "Report Period": "7"
53
+ }
54
+ ]
55
+ ```
56
+
57
+ === "Text"
58
+
59
+ ```text
60
+ Report Refresh Date,Site Type,Storage Used (Byte),Report Date,Report Period
61
+ 2023-05-20,OneDrive,104122210,2023-05-20,7
62
+ ```
63
+
64
+ === "CSV"
65
+
66
+ ```csv
67
+ Report Refresh Date,Site Type,Storage Used (Byte),Report Date,Report Period
68
+ 2023-05-20,OneDrive,104122210,2023-05-20,7
69
+ ```
70
+
71
+ === "Markdown"
72
+
73
+ ```md
74
+ Report Refresh Date,Site Type,Storage Used (Byte),Report Date,Report Period
75
+ 2023-05-20,OneDrive,104122210,2023-05-20,7
76
+ ```
@@ -65,6 +65,85 @@ List Microsoft OneNote notebooks for site https://contoso.sharepoint.com/sites/t
65
65
  m365 onenote notebook list --webUrl https://contoso.sharepoint.com/sites/testsite
66
66
  ```
67
67
 
68
+ ## Response
69
+
70
+ === "JSON"
71
+
72
+ ```json
73
+ [
74
+ {
75
+ "id": "1-9cf762f6-b931-4035-8bf3-67c710887c5a",
76
+ "self": "https://graph.microsoft.com/v1.0/users/0649d0bd-53dc-4e1d-a357-76f1d92d447b/onenote/notebooks/1-9cf762f6-b931-4035-8bf3-67c710887c5a",
77
+ "createdDateTime": "2018-11-17T13:06:42Z",
78
+ "displayName": "TeamsNotebook(Shared)",
79
+ "lastModifiedDateTime": "2018-11-17T13:06:42Z",
80
+ "isDefault": false,
81
+ "userRole": "Owner",
82
+ "isShared": false,
83
+ "sectionsUrl": "https://graph.microsoft.com/v1.0/users/0649d0bd-53dc-4e1d-a357-76f1d92d447b/onenote/notebooks/1-9cf762f6-b931-4035-8bf3-67c710887c5a/sections",
84
+ "sectionGroupsUrl": "https://graph.microsoft.com/v1.0/users/0649d0bd-53dc-4e1d-a357-76f1d92d447b/onenote/notebooks/1-9cf762f6-b931-4035-8bf3-67c710887c5a/sectionGroups",
85
+ "createdBy": {
86
+ "user": {
87
+ "id": "0649d0bd-53dc-4e1d-a357-76f1d92d447b",
88
+ "displayName": "John"
89
+ }
90
+ },
91
+ "lastModifiedBy": {
92
+ "user": {
93
+ "id": "0649d0bd-53dc-4e1d-a357-76f1d92d447b",
94
+ "displayName": "John"
95
+ }
96
+ },
97
+ "links": {
98
+ "oneNoteClientUrl": {
99
+ "href": "onenote:https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com/Documents/Notebooks/TeamsNotebook(Shared)"
100
+ },
101
+ "oneNoteWebUrl": {
102
+ "href": "https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com/Documents/Notebooks/TeamsNotebook(Shared)"
103
+ }
104
+ }
105
+ }
106
+ ]
107
+ ```
108
+
109
+ === "Text"
110
+
111
+ ```text
112
+ createdDateTime: 2018-11-17T13:06:42Z
113
+ displayName : TeamsNotebook(Shared)
114
+ id : 1-9cf762f6-b931-4035-8bf3-67c710887c5a
115
+ ```
116
+
117
+ === "CSV"
118
+
119
+ ```csv
120
+ id,self,createdDateTime,displayName,lastModifiedDateTime,isDefault,userRole,isShared,sectionsUrl,sectionGroupsUrl
121
+ 1-9cf762f6-b931-4035-8bf3-67c710887c5a,https://graph.microsoft.com/v1.0/users/0649d0bd-53dc-4e1d-a357-76f1d92d447b/onenote/notebooks/1-9cf762f6-b931-4035-8bf3-67c710887c5a,2018-11-17T13:06:42Z,TeamsNotebook(Shared),2018-11-17T13:06:42Z,,Owner,,https://graph.microsoft.com/v1.0/users/0649d0bd-53dc-4e1d-a357-76f1d92d447b/onenote/notebooks/1-9cf762f6-b931-4035-8bf3-67c710887c5a/sections,https://graph.microsoft.com/v1.0/users/0649d0bd-53dc-4e1d-a357-76f1d92d447b/onenote/notebooks/1-9cf762f6-b931-4035-8bf3-67c710887c5a/sectionGroups
122
+ ```
123
+
124
+ === "Markdown"
125
+
126
+ ```md
127
+ # onenote notebook list
128
+
129
+ Date: 2023-05-22
130
+
131
+ ## TeamsNotebook(Shared) (1-9cf762f6-b931-4035-8bf3-67c710887c5a)
132
+
133
+ Property | Value
134
+ ---------|-------
135
+ id | 1-9cf762f6-b931-4035-8bf3-67c710887c5a
136
+ self | https://graph.microsoft.com/v1.0/users/0649d0bd-53dc-4e1d-a357-76f1d92d447b/onenote/notebooks/1-9cf762f6-b931-4035-8bf3-67c710887c5a
137
+ createdDateTime | 2018-11-17T13:06:42Z
138
+ displayName | TeamsNotebook(Shared)
139
+ lastModifiedDateTime | 2018-11-17T13:06:42Z
140
+ isDefault | false
141
+ userRole | Owner
142
+ isShared | false
143
+ sectionsUrl | https://graph.microsoft.com/v1.0/users/0649d0bd-53dc-4e1d-a357-76f1d92d447b/onenote/notebooks/1-9cf762f6-b931-4035-8bf3-67c710887c5a/sections
144
+ sectionGroupsUrl | https://graph.microsoft.com/v1.0/users/0649d0bd-53dc-4e1d-a357-76f1d92d447b/onenote/notebooks/1-9cf762f6-b931-4035-8bf3-67c710887c5a/sectionGroups
145
+ ```
146
+
68
147
  ## More information
69
148
 
70
149
  - List notebooks (MS Graph docs): [https://docs.microsoft.com/en-us/graph/api/onenote-list-notebooks?view=graph-rest-1.0&tabs=http](https://docs.microsoft.com/en-us/graph/api/onenote-list-notebooks?view=graph-rest-1.0&tabs=http)
@@ -0,0 +1,47 @@
1
+ # pa app consent set
2
+
3
+ Configures if users can bypass the API Consent window for the selected canvas app
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 pa app consent set [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environment <environment>`
14
+ : The name of the environment.
15
+
16
+ `-n, --name <name>`
17
+ : The name of the Power App to update
18
+
19
+ `-b, --bypass <bypass>`
20
+ : Set to `true` to allow users to bypass the API Consent window. Set to `false` to disable the bypass.
21
+
22
+ `--confirm`
23
+ : Don't prompt for confirmation
24
+
25
+ --8<-- "docs/cmd/_global.md"
26
+
27
+ ## Remarks
28
+
29
+ This command only works for canvas apps.
30
+
31
+ ## Examples
32
+
33
+ Enables the bypass for the specified canvas app
34
+
35
+ ```sh
36
+ m365 pa app consent set --environment 4be50206-9576-4237-8b17-38d8aadfaa36 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --bypass true
37
+ ```
38
+
39
+ Disables the bypass consent for the specified canvas app
40
+
41
+ ```sh
42
+ m365 pa app consent set --environment 4be50206-9576-4237-8b17-38d8aadfaa36 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --bypass false --confirm
43
+ ```
44
+
45
+ ## Response
46
+
47
+ The command won't return a response on success.
@@ -30,7 +30,7 @@ m365 planner plan get [options]
30
30
  ## Remarks
31
31
 
32
32
  !!! attention
33
- When using `rosterId`, the command is based on an API that is currently in preview and is subject to change once the API reached general availability.
33
+ When using `rosterId`, the command is based on an API that is currently in preview and is subject to change once the API reached general availability.
34
34
 
35
35
  ## Examples
36
36