@pnp/cli-microsoft365 11.10.0-beta.6474466 → 11.10.0-beta.68e3b93

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 (44) hide show
  1. package/.devcontainer/Dockerfile +1 -1
  2. package/Dockerfile +1 -1
  3. package/allCommands.json +1 -1
  4. package/allCommandsFull.json +1 -1
  5. package/dist/Auth.js +4 -2
  6. package/dist/m365/outlook/commands/event/event-get.js +77 -0
  7. package/dist/m365/outlook/commands.js +1 -0
  8. package/dist/m365/pp/commands/website/Webrole.js +2 -0
  9. package/dist/m365/pp/commands/website/website-remove.js +80 -0
  10. package/dist/m365/pp/commands/website/website-webrole-list.js +61 -0
  11. package/dist/m365/pp/commands.js +3 -1
  12. package/dist/m365/spo/commands/web/{web-alert-list.js → web-rule-list.js} +7 -4
  13. package/dist/m365/spo/commands/web/{web-alert-remove.js → web-rule-remove.js} +7 -4
  14. package/dist/m365/spo/commands.js +2 -0
  15. package/dist/utils/powerPlatform.js +20 -0
  16. package/docs/docs/cmd/outlook/event/event-get.mdx +280 -0
  17. package/docs/docs/cmd/pp/website/website-remove.mdx +89 -0
  18. package/docs/docs/cmd/pp/website/website-webrole-list.mdx +139 -0
  19. package/docs/docs/cmd/spo/field/field-add.mdx +19 -0
  20. package/docs/docs/cmd/spo/field/field-get.mdx +19 -0
  21. package/docs/docs/cmd/spo/field/field-list.mdx +19 -0
  22. package/docs/docs/cmd/spo/field/field-remove.mdx +21 -0
  23. package/docs/docs/cmd/spo/field/field-set.mdx +21 -0
  24. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +21 -0
  25. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +21 -0
  26. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +21 -0
  27. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +21 -0
  28. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +21 -0
  29. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +21 -0
  30. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +21 -0
  31. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +19 -0
  32. package/docs/docs/cmd/spo/hubsite/hubsite-connect.mdx +21 -0
  33. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +19 -0
  34. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.mdx +21 -0
  35. package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +19 -0
  36. package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +19 -0
  37. package/docs/docs/cmd/spo/hubsite/hubsite-register.mdx +19 -0
  38. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.mdx +21 -0
  39. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.mdx +21 -0
  40. package/docs/docs/cmd/spo/hubsite/hubsite-set.mdx +19 -0
  41. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.mdx +21 -0
  42. package/docs/docs/cmd/spo/web/{web-alert-list.mdx → web-rule-list.mdx} +13 -7
  43. package/docs/docs/cmd/spo/web/{web-alert-remove.mdx → web-rule-remove.mdx} +10 -4
  44. package/package.json +1 -1
@@ -0,0 +1,89 @@
1
+ import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # pp website remove
6
+
7
+ Removes the specified Power Pages website from the list of active sites.
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 pp website remove [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-u, --url [url]`
19
+ : The URL of the website to remove. Specify either `url`, `name` or `id`.
20
+
21
+ `-n, --name [name]`
22
+ : The name of the website to remove. Specify either `url`, `name` or `id`.
23
+
24
+ `-i, --id [id]`
25
+ : The WebSite Id (GUID) of the website to remove. Specify either `url`, `name` or `id`.
26
+
27
+ `-e, --environmentName <environmentName>`
28
+ : The name of the environment from which to remove the Power Pages website.
29
+
30
+ `-f, --force`
31
+ : Don't prompt for confirmation
32
+ ```
33
+
34
+ <Global />
35
+
36
+ ## Permissions
37
+
38
+ <Tabs>
39
+ <TabItem value="Delegated">
40
+
41
+ | Resource | Permissions |
42
+ |--------------------|---------------------------|
43
+ | Power Platform API | PowerPages.Websites.Write |
44
+
45
+ </TabItem>
46
+ </Tabs>
47
+
48
+ ## Examples
49
+
50
+ Remove Power Pages website by name.
51
+
52
+ ```sh
53
+ m365 pp website remove --name Demo --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
54
+ ```
55
+
56
+ Remove Power Pages website by name without confirmation.
57
+
58
+ ```sh
59
+ m365 pp website remove --name Demo --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --force
60
+ ```
61
+
62
+ Remove Power Pages website by id.
63
+
64
+ ```sh
65
+ m365 pp website remove --id 4916bb2c-91e1-4716-91d5-b6171928fac9 --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
66
+ ```
67
+
68
+ Remove Power Pages website by id without confirmation.
69
+
70
+ ```sh
71
+ m365 pp website remove --id 4916bb2c-91e1-4716-91d5-b6171928fac9 --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --force
72
+ ```
73
+
74
+ Remove Power Pages website by url.
75
+
76
+ ```sh
77
+ m365 pp website remove --url https://site-0uaq9.powerappsportals.com --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
78
+ ```
79
+
80
+ Remove Power Pages website by url without confirmation.
81
+
82
+ ```sh
83
+ m365 pp website remove --url https://site-0uaq9.powerappsportals.com --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --force
84
+ ```
85
+
86
+ ## Response
87
+
88
+ The command won't return a response on success.
89
+
@@ -0,0 +1,139 @@
1
+ import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # pp website webrole list
6
+
7
+ Lists all webroles for the specified Power Pages website.
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 pp website webrole list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `--websiteId [websiteId]`
19
+ : ID of the Power Pages website. Specify either `websiteId` or `websiteName` but not both.
20
+
21
+ `--websiteName [websiteName]`
22
+ : The unique name (not the display name) of the Power Pages website. Specify either `websiteId` or `websiteName` but not both.
23
+
24
+ `-e, --environmentName <environmentName>`
25
+ : The name of the environment where the Power Pages websites are located.
26
+
27
+ `--asAdmin`
28
+ : Run the command as admin and retrieve Power Pages websites for environments you do not have explicitly assigned permissions to.
29
+ ```
30
+
31
+ <Global />
32
+
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |--------------------|--------------------------|
40
+ | Power Platform API | PowerPages.Websites.Read |
41
+ | Dynamics CRM | user_impersonation |
42
+
43
+ </TabItem>
44
+ </Tabs>
45
+
46
+ ## Examples
47
+
48
+ List all webroles for the site by name.
49
+
50
+ ```sh
51
+ m365 pp website webrole list --websiteName "Contoso" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
52
+ ```
53
+
54
+ List all webroles for the site by name as admin.
55
+
56
+ ```sh
57
+ m365 pp website webrole list --websiteName "Contoso" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
58
+ ```
59
+
60
+ List all webroles for the site by id.
61
+
62
+ ```sh
63
+ m365 pp website webrole list --websiteId "2ca3eaa5-140f-4175-8261-3272edf9f339" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
64
+ ```
65
+
66
+ List all webroles for the site by id as admin.
67
+
68
+ ```sh
69
+ m365 pp website webrole list --websiteId "2ca3eaa5-140f-4175-8261-3272edf9f339" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
70
+ ```
71
+
72
+ ## Response
73
+
74
+ <Tabs>
75
+ <TabItem value="JSON">
76
+
77
+ ```json
78
+ [
79
+ {
80
+ "mspp_webroleid": "a242a363-6077-4cb7-b2d1-1714502d129a",
81
+ "mspp_name": "Anonymous Users",
82
+ "mspp_description": "Role for anonymous users",
83
+ "mspp_key": null,
84
+ "mspp_authenticatedusersrole": false,
85
+ "mspp_anonymoususersrole": true,
86
+ "mspp_createdon": "2026-01-21T22:10:56Z",
87
+ "mspp_modifiedon": "2026-01-21T22:10:56Z",
88
+ "statecode": 0,
89
+ "statuscode": 1,
90
+ "_mspp_websiteid_value": "5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce",
91
+ "_mspp_createdby_value": "b7aa2026-a8c1-f011-bbd2-000d3a66196e",
92
+ "_mspp_modifiedby_value": "b7aa2026-a8c1-f011-bbd2-000d3a66196e"
93
+ }
94
+ ]
95
+ ```
96
+
97
+ </TabItem>
98
+ <TabItem value="Text">
99
+
100
+ ```text
101
+ mspp_webroleid mspp_name statuscode
102
+ ------------------------------------ --------------- ----------
103
+ a242a363-6077-4cb7-b2d1-1714502d129a Anonymous Users 1
104
+ ```
105
+
106
+ </TabItem>
107
+ <TabItem value="CSV">
108
+
109
+ ```csv
110
+ mspp_modifiedon,mspp_key,mspp_description,mspp_authenticatedusersrole,statecode,_mspp_createdby_value,statuscode,mspp_anonymoususersrole,mspp_webroleid,mspp_createdon,_mspp_modifiedby_value,mspp_name,_mspp_websiteid_value
111
+ 2026-01-21T22:10:56Z,,Role for anonymous users,0,0,b7aa2026-a8c1-f011-bbd2-000d3a66196e,1,1,a242a363-6077-4cb7-b2d1-1714502d129a,2026-01-21T22:10:56Z,b7aa2026-a8c1-f011-bbd2-000d3a66196e,Anonymous Users,5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce
112
+ ```
113
+
114
+ </TabItem>
115
+ <TabItem value="Markdown">
116
+
117
+ ```md
118
+ # pp website webrole list --websiteName "Contoso" --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
119
+
120
+ Date: 2/8/2026
121
+
122
+ Property | Value
123
+ ---------|-------
124
+ mspp\_modifiedon | 2026-01-21T22:10:53Z
125
+ mspp\_description | Role for anonymous users
126
+ mspp\_authenticatedusersrole | true
127
+ statecode | 0
128
+ \_mspp\_createdby\_value | b7aa2026-a8c1-f011-bbd2-000d3a66196e
129
+ statuscode | 1
130
+ mspp\_anonymoususersrole | false
131
+ mspp\_webroleid | cc3bf86b-204c-4a97-b0b6-f788c62ae5e8
132
+ mspp\_createdon | 2026-01-21T22:10:53Z
133
+ \_mspp\_modifiedby\_value | b7aa2026-a8c1-f011-bbd2-000d3a66196e
134
+ mspp\_name | Authenticated Users
135
+ \_mspp\_websiteid\_value | 5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce
136
+ ```
137
+
138
+ </TabItem>
139
+ </Tabs>
@@ -40,6 +40,25 @@ m365 spo field add [options]
40
40
 
41
41
  If the specified field already exists, you will get a _A duplicate field name "your-field" was found._ error.
42
42
 
43
+ ## Permissions
44
+
45
+ <Tabs>
46
+ <TabItem value="Delegated">
47
+
48
+ | Resource | Permissions |
49
+ |------------|----------------|
50
+ | SharePoint | AllSites.Write |
51
+
52
+ </TabItem>
53
+ <TabItem value="Application">
54
+
55
+ | Resource | Permissions |
56
+ |------------|---------------------|
57
+ | SharePoint | Sites.ReadWrite.All |
58
+
59
+ </TabItem>
60
+ </Tabs>
61
+
43
62
  ## Examples
44
63
 
45
64
  Create a date time site column.
@@ -39,6 +39,25 @@ m365 spo field get [options]
39
39
 
40
40
  <Global />
41
41
 
42
+ ## Permissions
43
+
44
+ <Tabs>
45
+ <TabItem value="Delegated">
46
+
47
+ | Resource | Permissions |
48
+ |------------|---------------|
49
+ | SharePoint | AllSites.Read |
50
+
51
+ </TabItem>
52
+ <TabItem value="Application">
53
+
54
+ | Resource | Permissions |
55
+ |------------|----------------|
56
+ | SharePoint | Sites.Read.All |
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
42
61
  ## Examples
43
62
 
44
63
  Retrieves site column by id located in the specified site.
@@ -30,6 +30,25 @@ m365 spo field list [options]
30
30
 
31
31
  <Global />
32
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|---------------|
40
+ | SharePoint | AllSites.Read |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|----------------|
47
+ | SharePoint | Sites.Read.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
33
52
  ## Examples
34
53
 
35
54
  Retrieves site columns for the specified site.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo field remove
4
6
 
@@ -43,6 +45,25 @@ m365 spo field remove [options]
43
45
 
44
46
  <Global />
45
47
 
48
+ ## Permissions
49
+
50
+ <Tabs>
51
+ <TabItem value="Delegated">
52
+
53
+ | Resource | Permissions |
54
+ |------------|----------------|
55
+ | SharePoint | AllSites.Write |
56
+
57
+ </TabItem>
58
+ <TabItem value="Application">
59
+
60
+ | Resource | Permissions |
61
+ |------------|---------------------|
62
+ | SharePoint | Sites.ReadWrite.All |
63
+
64
+ </TabItem>
65
+ </Tabs>
66
+
46
67
  ## Examples
47
68
 
48
69
  Remove the site column with the specified ID, located in the specified site.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo field set
4
6
 
@@ -50,6 +52,25 @@ When updating column formatting for a field with the `--CustomFormatter` option,
50
52
 
51
53
  :::
52
54
 
55
+ ## Permissions
56
+
57
+ <Tabs>
58
+ <TabItem value="Delegated">
59
+
60
+ | Resource | Permissions |
61
+ |------------|-----------------|
62
+ | SharePoint | AllSites.Manage |
63
+
64
+ </TabItem>
65
+ <TabItem value="Application">
66
+
67
+ | Resource | Permissions |
68
+ |------------|------------------|
69
+ | SharePoint | Sites.Manage.All |
70
+
71
+ </TabItem>
72
+ </Tabs>
73
+
53
74
  ## Examples
54
75
 
55
76
  Update the title of the site column specified by its internal name and push changes to existing lists.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file checkout undo
4
6
 
@@ -28,6 +30,25 @@ m365 spo file checkout undo [options]
28
30
 
29
31
  <Global />
30
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|----------------|
40
+ | SharePoint | AllSites.Write |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|---------------------|
47
+ | SharePoint | Sites.ReadWrite.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
31
52
  ## Examples
32
53
 
33
54
  Discards a checked-out file with a specific ID.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file retentionlabel ensure
4
6
 
@@ -37,6 +39,25 @@ You can also use [spo listitem retentionlabel remove](./../../../cmd/spo/listite
37
39
 
38
40
  The `--assetId` option has to do with event-based retention. Event-based retention is about starting a retention period when a specific event occurs, instead of the moment a document was labeled or created.
39
41
 
42
+ ## Permissions
43
+
44
+ <Tabs>
45
+ <TabItem value="Delegated">
46
+
47
+ | Resource | Permissions |
48
+ |------------|----------------|
49
+ | SharePoint | AllSites.Write |
50
+
51
+ </TabItem>
52
+ <TabItem value="Application">
53
+
54
+ | Resource | Permissions |
55
+ |------------|---------------------|
56
+ | SharePoint | Sites.ReadWrite.All |
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
40
61
  ## Examples
41
62
 
42
63
  Applies a retention label to a file based on the label name and the fileUrl.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file retentionlabel remove
4
6
 
@@ -28,6 +30,25 @@ m365 spo file retentionlabel remove [options]
28
30
 
29
31
  <Global />
30
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|----------------|
40
+ | SharePoint | AllSites.Write |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|---------------------|
47
+ | SharePoint | Sites.ReadWrite.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
31
52
  ## Examples
32
53
 
33
54
  Removes the retention label from a file in a given site based on the file id.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file roleassignment add
4
6
 
@@ -46,6 +48,25 @@ m365 spo file roleassignment add [options]
46
48
 
47
49
  <Global />
48
50
 
51
+ ## Permissions
52
+
53
+ <Tabs>
54
+ <TabItem value="Delegated">
55
+
56
+ | Resource | Permissions |
57
+ |------------|----------------------|
58
+ | SharePoint | AllSites.FullControl |
59
+
60
+ </TabItem>
61
+ <TabItem value="Application">
62
+
63
+ | Resource | Permissions |
64
+ |------------|-----------------------|
65
+ | SharePoint | Sites.FullControl.All |
66
+
67
+ </TabItem>
68
+ </Tabs>
69
+
49
70
  ## Examples
50
71
 
51
72
  Adds a role assignment to a file with a specified id. It will use a principal id and a specific role definition id.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file roleassignment remove
4
6
 
@@ -43,6 +45,25 @@ m365 spo file roleassignment remove [options]
43
45
 
44
46
  <Global />
45
47
 
48
+ ## Permissions
49
+
50
+ <Tabs>
51
+ <TabItem value="Delegated">
52
+
53
+ | Resource | Permissions |
54
+ |------------|----------------------|
55
+ | SharePoint | AllSites.FullControl |
56
+
57
+ </TabItem>
58
+ <TabItem value="Application">
59
+
60
+ | Resource | Permissions |
61
+ |------------|-----------------------|
62
+ | SharePoint | Sites.FullControl.All |
63
+
64
+ </TabItem>
65
+ </Tabs>
66
+
46
67
  ## Examples
47
68
 
48
69
  Remove a role assignment by principal id from a file by id.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file roleinheritance break
4
6
 
@@ -31,6 +33,25 @@ m365 spo file roleinheritance break [options]
31
33
 
32
34
  <Global />
33
35
 
36
+ ## Permissions
37
+
38
+ <Tabs>
39
+ <TabItem value="Delegated">
40
+
41
+ | Resource | Permissions |
42
+ |------------|----------------------|
43
+ | SharePoint | AllSites.FullControl |
44
+
45
+ </TabItem>
46
+ <TabItem value="Application">
47
+
48
+ | Resource | Permissions |
49
+ |------------|-----------------------|
50
+ | SharePoint | Sites.FullControl.All |
51
+
52
+ </TabItem>
53
+ </Tabs>
54
+
34
55
  ## Examples
35
56
 
36
57
  Break the inheritance of a file with a specific id (UniqueId).
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo file roleinheritance reset
4
6
 
@@ -28,6 +30,25 @@ m365 spo file roleinheritance reset [options]
28
30
 
29
31
  <Global />
30
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|----------------------|
40
+ | SharePoint | AllSites.FullControl |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|-----------------------|
47
+ | SharePoint | Sites.FullControl.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
31
52
  ## Examples
32
53
 
33
54
  Reset inheritance of file with the specified id (UniqueId) located in the specified site.
@@ -27,6 +27,25 @@ m365 spo file sharinginfo get [options]
27
27
 
28
28
  <Global />
29
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |------------|---------------|
37
+ | SharePoint | AllSites.Read |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |------------|----------------|
44
+ | SharePoint | Sites.Read.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
30
49
  ## Examples
31
50
 
32
51
  Get file sharing information report for the file with the specified server-relative url located in the specified site.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo hubsite connect
4
6
 
@@ -44,6 +46,25 @@ To use this command you must be a Global or SharePoint administrator.
44
46
 
45
47
  To connect a regular site to a hub site, use command [spo site hubsite connect](../site/site-hubsite-connect.mdx).
46
48
 
49
+ ## Permissions
50
+
51
+ <Tabs>
52
+ <TabItem value="Delegated">
53
+
54
+ | Resource | Permissions |
55
+ |------------|----------------------|
56
+ | SharePoint | AllSites.FullControl |
57
+
58
+ </TabItem>
59
+ <TabItem value="Application">
60
+
61
+ | Resource | Permissions |
62
+ |------------|-----------------------|
63
+ | SharePoint | Sites.FullControl.All |
64
+
65
+ </TabItem>
66
+ </Tabs>
67
+
47
68
  ## Examples
48
69
 
49
70
  Connect a specific hub site to specific parent hub site by ID.
@@ -30,6 +30,25 @@ By default, the hub site data is returned from the server's cache. To refresh th
30
30
 
31
31
  If the specified site is not connected to a hub site site and is not a hub site itself, no data will be retrieved.
32
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |------------|---------------|
40
+ | SharePoint | AllSites.Read |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |------------|----------------|
47
+ | SharePoint | Sites.Read.All |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
33
52
  ## Examples
34
53
 
35
54
  Get information about the hub site data for a specific site with URL.