@pnp/cli-microsoft365 6.8.0-beta.a10f6e4 → 6.8.0-beta.ce342e4

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 (68) hide show
  1. package/.eslintrc.js +2 -0
  2. package/README.md +6 -1
  3. package/dist/m365/pa/commands/app/app-consent-set.js +101 -0
  4. package/dist/m365/pa/commands.js +1 -0
  5. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +97 -0
  6. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +85 -0
  7. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +89 -0
  8. package/dist/m365/purview/commands.js +3 -0
  9. package/dist/m365/spo/commands/file/file-list.js +15 -4
  10. package/dist/m365/spo/commands/file/file-remove.js +3 -0
  11. package/dist/m365/spo/commands/term/term-get.js +14 -5
  12. package/dist/m365/spo/commands/term/term-group-list.js +39 -4
  13. package/dist/m365/spo/commands/term/term-list.js +18 -9
  14. package/dist/m365/spo/commands/term/term-set-get.js +12 -3
  15. package/dist/m365/spo/commands.js +1 -0
  16. package/docs/docs/cmd/aad/o365group/o365group-get.md +0 -12
  17. package/docs/docs/cmd/cli/cli-consent.md +6 -0
  18. package/docs/docs/cmd/cli/cli-doctor.md +17 -0
  19. package/docs/docs/cmd/cli/cli-issue.md +6 -0
  20. package/docs/docs/cmd/cli/cli-reconsent.md +6 -0
  21. package/docs/docs/cmd/cli/completion/completion-sh-setup.md +6 -0
  22. package/docs/docs/cmd/cli/config/config-get.md +6 -0
  23. package/docs/docs/cmd/login.md +1 -1
  24. package/docs/docs/cmd/pa/app/app-consent-set.md +47 -0
  25. package/docs/docs/cmd/planner/task/task-get.md +0 -6
  26. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.md +118 -0
  27. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.md +111 -0
  28. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.md +97 -0
  29. package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +17 -0
  30. package/docs/docs/cmd/search/externalconnection/externalconnection-list.md +17 -0
  31. package/docs/docs/cmd/spo/file/file-list.md +9 -6
  32. package/docs/docs/cmd/spo/file/file-remove.md +12 -0
  33. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +19 -0
  34. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +12 -0
  35. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +6 -0
  36. package/docs/docs/cmd/spo/page/page-column-get.md +15 -0
  37. package/docs/docs/cmd/spo/page/page-column-list.md +16 -0
  38. package/docs/docs/cmd/spo/page/page-control-get.md +18 -0
  39. package/docs/docs/cmd/spo/page/page-control-list.md +18 -0
  40. package/docs/docs/cmd/spo/page/page-copy.md +35 -0
  41. package/docs/docs/cmd/spo/page/page-get.md +39 -0
  42. package/docs/docs/cmd/spo/page/page-list.md +53 -0
  43. package/docs/docs/cmd/spo/page/page-section-get.md +12 -0
  44. package/docs/docs/cmd/spo/page/page-section-list.md +13 -0
  45. package/docs/docs/cmd/spo/page/page-template-list.md +31 -0
  46. package/docs/docs/cmd/spo/propertybag/propertybag-get.md +6 -0
  47. package/docs/docs/cmd/spo/propertybag/propertybag-list.md +13 -0
  48. package/docs/docs/cmd/spo/report/report-activityfilecounts.md +7 -0
  49. package/docs/docs/cmd/spo/report/report-activitypages.md +7 -0
  50. package/docs/docs/cmd/spo/report/report-activityusercounts.md +7 -0
  51. package/docs/docs/cmd/spo/report/report-activityuserdetail.md +7 -0
  52. package/docs/docs/cmd/spo/report/report-siteusagedetail.md +7 -0
  53. package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +7 -0
  54. package/docs/docs/cmd/spo/report/report-siteusagepages.md +7 -0
  55. package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +7 -0
  56. package/docs/docs/cmd/spo/report/report-siteusagestorage.md +7 -0
  57. package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +20 -0
  58. package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +20 -0
  59. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +20 -0
  60. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +18 -0
  61. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +20 -0
  62. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +17 -0
  63. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +13 -0
  64. package/docs/docs/cmd/spo/term/term-get.md +111 -10
  65. package/docs/docs/cmd/spo/term/term-group-list.md +70 -2
  66. package/docs/docs/cmd/spo/term/term-list.md +80 -8
  67. package/docs/docs/cmd/spo/term/term-set-get.md +92 -8
  68. package/package.json +1 -1
@@ -10,35 +10,119 @@ m365 spo term set get [options]
10
10
 
11
11
  ## Options
12
12
 
13
+ `-u, --webUrl [webUrl]`
14
+ : If specified, allows you to get a term set from the tenant term store as well as the sitecollection specific term store. Defaults to the tenant admin site.
15
+
13
16
  `-i, --id [id]`
14
- : ID of the term set to retrieve. Specify `name` or `id` but not both
17
+ : ID of the term set to retrieve. Specify `name` or `id` but not both.
15
18
 
16
19
  `-n, --name [name]`
17
- : Name of the term set to retrieve. Specify `name` or `id` but not both
20
+ : Name of the term set to retrieve. Specify `name` or `id` but not both.
18
21
 
19
22
  `--termGroupId [termGroupId]`
20
- : ID of the term group to which the term set belongs. Specify `termGroupId` or `termGroupName` but not both
23
+ : ID of the term group to which the term set belongs. Specify `termGroupId` or `termGroupName` but not both.
21
24
 
22
25
  `--termGroupName [termGroupName]`
23
- : Name of the term group to which the term set belongs. Specify `termGroupId` or `termGroupName` but not both
26
+ : Name of the term group to which the term set belongs. Specify `termGroupId` or `termGroupName` but not both.
24
27
 
25
28
  --8<-- "docs/cmd/_global.md"
26
29
 
27
30
  ## Remarks
28
31
 
29
32
  !!! important
30
- To use this command you have to have permissions to access the tenant admin site.
33
+ To use this command without the --webUrl option you have to have permissions to access the tenant admin site.
34
+
35
+ When using the `--webUrl` option you can connect to the term store with limited permissions, and do not need the SharePoint Adminstrator role. You need to be a site visitor or more. It allows you to get a term set from the tenant term store as well as a term set from the sitecollection term store.
31
36
 
32
37
  ## Examples
33
38
 
34
- Get information about a taxonomy term set using its ID
39
+ Get information about a taxonomy term set using its ID.
35
40
 
36
41
  ```sh
37
42
  m365 spo term set get --id 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termGroupName PnPTermSets
38
43
  ```
39
44
 
40
- Get information about a taxonomy term set using its name
45
+ Get information about a taxonomy term set using its name.
41
46
 
42
47
  ```sh
43
- m365 spo term set get --name PnPTermSets --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb
48
+ m365 spo term set get --name PnP-Organizations --termGroupId 0a099ee9-e231-4ae9-a5b6-d7f94a0d241d
44
49
  ```
50
+
51
+ Get information about a taxonomy term set using its ID from the specified sitecollection.
52
+
53
+ ```sh
54
+ m365 spo term set get --id 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termGroupName PnPTermSets --webUrl https://contoso.sharepoint.com/sites/project-x
55
+ ```
56
+
57
+ ## Response
58
+
59
+ === "JSON"
60
+
61
+ ```json
62
+ {
63
+ "CreatedDate": "2019-09-03T06:41:32.110Z",
64
+ "Id": "0e8f395e-ff58-4d45-9ff7-e331ab728beb",
65
+ "LastModifiedDate": "2019-09-03T06:41:32.260Z",
66
+ "Name": "PnP-Organizations",
67
+ "CustomProperties": {
68
+ "SearchCenterNavVer": "15"
69
+ },
70
+ "CustomSortOrder": null,
71
+ "IsAvailableForTagging": true,
72
+ "Owner": "",
73
+ "Contact": "",
74
+ "Description": "",
75
+ "IsOpenForTermCreation": true,
76
+ "Names": {
77
+ "1033": "PnP-Organizations"
78
+ },
79
+ "Stakeholders": []
80
+ }
81
+ ```
82
+
83
+ === "Text"
84
+
85
+ ```text
86
+ Contact :
87
+ CreatedDate : 2019-09-03T06:41:32.110Z
88
+ CustomProperties : {"SearchCenterNavVer":"15"}
89
+ CustomSortOrder : null
90
+ Description :
91
+ Id : 0e8f395e-ff58-4d45-9ff7-e331ab728beb
92
+ IsAvailableForTagging: true
93
+ IsOpenForTermCreation: true
94
+ LastModifiedDate : 2019-09-03T06:41:32.260Z
95
+ Name : PnP-Organizations
96
+ Names : {"1033":"PnP-Organizations"}
97
+ Owner :
98
+ Stakeholders : []
99
+ ```
100
+
101
+ === "CSV"
102
+
103
+ ```csv
104
+ CreatedDate,Id,LastModifiedDate,Name,IsAvailableForTagging,Owner,Contact,Description,IsOpenForTermCreation
105
+ 2019-09-03T06:41:32.110Z,0e8f395e-ff58-4d45-9ff7-e331ab728beb,2019-09-03T06:41:32.260Z,PnP-Organizations,1,,,,1
106
+ ```
107
+
108
+ === "Markdown"
109
+
110
+ ```md
111
+ # spo term set get --name "PnP-Organizations" --termGroupName "PnPTermSets"
112
+
113
+ Date: 5/9/2023
114
+
115
+ ## PnP-Organizations (0e8f395e-ff58-4d45-9ff7-e331ab728beb)
116
+
117
+ Property | Value
118
+ ---------|-------
119
+ CreatedDate | 2019-09-03T06:41:32.110Z
120
+ Id | 0e8f395e-ff58-4d45-9ff7-e331ab728beb
121
+ LastModifiedDate | 2019-09-03T06:41:32.260Z
122
+ Name | PnP-Organizations
123
+ IsAvailableForTagging | true
124
+ Owner |
125
+ Contact |
126
+ Description |
127
+ IsOpenForTermCreation | true
128
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "6.8.0-beta.a10f6e4",
3
+ "version": "6.8.0-beta.ce342e4",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",