@pnp/cli-microsoft365 6.3.0-beta.fee5cdb → 6.3.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.
- package/dist/appInsights.js +2 -1
- package/dist/cli/Cli.js +70 -2
- package/dist/m365/aad/commands/license/license-list.js +41 -0
- package/dist/m365/aad/commands/user/user-add.js +223 -0
- package/dist/m365/aad/commands/user/user-license-add.js +88 -0
- package/dist/m365/aad/commands/user/user-license-list.js +99 -0
- package/dist/m365/aad/commands/user/user-license-remove.js +114 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +1 -1
- package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +41 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +92 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +77 -0
- package/dist/m365/aad/commands/user/user-remove.js +107 -0
- package/dist/m365/aad/commands.js +9 -0
- package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +3 -0
- package/dist/m365/flow/commands/environment/environment-get.js +26 -11
- package/dist/m365/pp/commands/environment/environment-get.js +18 -9
- package/dist/m365/spo/commands/file/file-move.js +0 -2
- package/dist/m365/spo/commands/folder/folder-copy.js +0 -2
- package/dist/m365/spo/commands/folder/folder-move.js +0 -2
- package/dist/m365/spo/commands/site/site-add.js +0 -3
- package/dist/m365/spo/commands/site/site-remove.js +0 -3
- package/dist/m365/spo/commands/site/site-set.js +0 -2
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +0 -1
- package/dist/m365/teams/commands/team/team-add.js +3 -8
- package/dist/utils/session.js +18 -0
- package/dist/utils/spo.js +3 -12
- package/docs/docs/cmd/aad/license/license-list.md +87 -0
- package/docs/docs/cmd/aad/user/user-add.md +168 -0
- package/docs/docs/cmd/aad/user/user-license-add.md +108 -0
- package/docs/docs/cmd/aad/user/user-license-list.md +98 -0
- package/docs/docs/cmd/aad/user/user-license-remove.md +43 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.md +1 -1
- package/docs/docs/cmd/aad/user/user-recyclebinitem-list.md +82 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.md +45 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.md +99 -0
- package/docs/docs/cmd/aad/user/user-remove.md +51 -0
- package/docs/docs/cmd/aad/user/user-set.md +1 -1
- package/docs/docs/cmd/flow/environment/environment-get.md +31 -3
- package/docs/docs/cmd/spo/homesite/homesite-get.md +20 -1
- package/docs/docs/cmd/spo/homesite/homesite-remove.md +8 -2
- package/docs/docs/cmd/spo/homesite/homesite-set.md +8 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +9 -9
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +34 -5
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +6 -6
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +36 -19
- package/docs/docs/cmd/spo/hubsite/hubsite-list.md +59 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-register.md +30 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +6 -6
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -4
- package/docs/docs/cmd/spo/hubsite/hubsite-set.md +40 -15
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -4
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +7 -1
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +9 -3
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +8 -2
- package/docs/docs/cmd/spo/list/list-add.md +123 -57
- package/docs/docs/cmd/spo/list/list-contenttype-add.md +50 -5
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -4
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +49 -4
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +6 -6
- package/docs/docs/cmd/spo/list/list-get.md +70 -4
- package/docs/docs/cmd/spo/list/list-list.md +70 -2
- package/docs/docs/cmd/spo/list/list-remove.md +6 -6
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +2 -2
- package/docs/docs/cmd/spo/list/list-retentionlabel-get.md +36 -3
- package/docs/docs/cmd/spo/list/list-retentionlabel-remove.md +3 -3
- package/docs/docs/cmd/spo/list/list-roleassignment-add.md +6 -6
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +3 -3
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -9
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +7 -7
- package/docs/docs/cmd/spo/list/list-set.md +61 -61
- package/docs/docs/cmd/spo/list/list-sitescript-get.md +35 -3
- package/docs/docs/cmd/spo/list/list-view-add.md +66 -5
- package/docs/docs/cmd/spo/list/list-view-field-add.md +10 -10
- package/docs/docs/cmd/spo/list/list-view-get.md +61 -0
- package/docs/docs/cmd/spo/list/list-view-list.md +61 -0
- package/docs/docs/cmd/spo/list/list-view-set.md +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-add.md +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-get.md +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-list.md +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-add.md +29 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +17 -2
- package/docs/docs/cmd/spo/listitem/listitem-get.md +57 -0
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +6 -0
- package/docs/docs/cmd/spo/listitem/listitem-list.md +28 -0
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +15 -0
- package/docs/docs/cmd/spo/listitem/listitem-set.md +30 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-add.md +22 -0
- package/npm-shrinkwrap.json +1 -0
- package/package.json +3 -2
|
@@ -18,7 +18,7 @@ m365 aad user recyclebinitem clear [options]
|
|
|
18
18
|
## Remarks
|
|
19
19
|
|
|
20
20
|
!!! important
|
|
21
|
-
To use this command you must be a Global administrator, User administrator or Privileged Authentication administrator
|
|
21
|
+
To use this command you must be a Global administrator, User administrator or Privileged Authentication administrator.
|
|
22
22
|
|
|
23
23
|
!!! note
|
|
24
24
|
After running this command, it may take a minute before all deleted users are effectively removed from the tenant.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# aad user recyclebinitem list
|
|
2
|
+
|
|
3
|
+
Lists users from the recycle bin in the current tenant
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 aad user recyclebinitem list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
--8<-- "docs/cmd/_global.md"
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
List all removed users
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
m365 aad user recyclebinitem list
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Response
|
|
24
|
+
|
|
25
|
+
=== "JSON"
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
[
|
|
29
|
+
{
|
|
30
|
+
"businessPhones": [],
|
|
31
|
+
"displayName": "John Doe",
|
|
32
|
+
"givenName": "John Doe",
|
|
33
|
+
"jobTitle": "Developer",
|
|
34
|
+
"mail": "john@contoso.com",
|
|
35
|
+
"mobilePhone": "0476345130",
|
|
36
|
+
"officeLocation": "Washington",
|
|
37
|
+
"preferredLanguage": "nl-BE",
|
|
38
|
+
"surname": "John",
|
|
39
|
+
"userPrincipalName": "7e06b56615f340138bf879874d52e68ajohn@contoso.com",
|
|
40
|
+
"id": "7e06b566-15f3-4013-8bf8-79874d52e68a"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
=== "Text"
|
|
46
|
+
|
|
47
|
+
```text
|
|
48
|
+
id displayName userPrincipalName
|
|
49
|
+
------------------------------------ ----------- -----------------------------------------------
|
|
50
|
+
7e06b566-15f3-4013-8bf8-79874d52e68a John Doe 7e06b56615f340138bf879874d52e68ajohn@contoso.com
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
=== "CSV"
|
|
54
|
+
|
|
55
|
+
```csv
|
|
56
|
+
id,displayName,userPrincipalName
|
|
57
|
+
7e06b566-15f3-4013-8bf8-79874d52e68a,John Doe,7e06b56615f340138bf879874d52e68ajohn@contoso.com
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
=== "Markdown"
|
|
61
|
+
|
|
62
|
+
```md
|
|
63
|
+
# aad user recyclebinitem list
|
|
64
|
+
|
|
65
|
+
Date: 14/02/2023
|
|
66
|
+
|
|
67
|
+
## John Doe (7e06b566-15f3-4013-8bf8-79874d52e68a)
|
|
68
|
+
|
|
69
|
+
Property | Value
|
|
70
|
+
---------|-------
|
|
71
|
+
businessPhones | []
|
|
72
|
+
displayName | John Doe
|
|
73
|
+
givenName | John Doe
|
|
74
|
+
jobTitle | Developer
|
|
75
|
+
mail | john@contoso.com
|
|
76
|
+
mobilePhone | 0476345130
|
|
77
|
+
officeLocation | Washington
|
|
78
|
+
preferredLanguage | nl-BE
|
|
79
|
+
surname | John
|
|
80
|
+
userPrincipalName | 7e06b56615f340138bf879874d52e68ajohn@contoso.com
|
|
81
|
+
id | 7e06b566-15f3-4013-8bf8-79874d52e68a
|
|
82
|
+
```
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# aad user recyclebinitem remove
|
|
2
|
+
|
|
3
|
+
Removes a user from the recycle bin in the current tenant
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 aad user recyclebinitem remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`--id <id>`
|
|
14
|
+
: ID of the deleted user.
|
|
15
|
+
|
|
16
|
+
`--confirm`
|
|
17
|
+
: Don't prompt for confirmation.
|
|
18
|
+
|
|
19
|
+
--8<-- "docs/cmd/_global.md"
|
|
20
|
+
|
|
21
|
+
## Remarks
|
|
22
|
+
|
|
23
|
+
!!! important
|
|
24
|
+
To use this command you must be a Global administrator, User administrator or Privileged Authentication administrator.
|
|
25
|
+
|
|
26
|
+
!!! note
|
|
27
|
+
After running this command, it may take a minute before the deleted user is effectively removed from the tenant.
|
|
28
|
+
|
|
29
|
+
## Examples
|
|
30
|
+
|
|
31
|
+
Removes a specific user from the recycle bin
|
|
32
|
+
|
|
33
|
+
```sh
|
|
34
|
+
m365 aad user recyclebinitem remove --id 59f80e08-24b1-41f8-8586-16765fd830d3
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Removes a specific user from the recycle bin without confirmation prompt
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
m365 aad user recyclebinitem remove --id 59f80e08-24b1-41f8-8586-16765fd830d3 --confirm
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Response
|
|
44
|
+
|
|
45
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# aad user recyclebinitem restore
|
|
2
|
+
|
|
3
|
+
Restores a user from the recycle bin in the current tenant
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 aad user recyclebinitem restore [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`--id <id>`
|
|
14
|
+
: ID of the deleted user.
|
|
15
|
+
|
|
16
|
+
--8<-- "docs/cmd/_global.md"
|
|
17
|
+
|
|
18
|
+
## Remarks
|
|
19
|
+
|
|
20
|
+
!!! important
|
|
21
|
+
To use this command you must be a Global administrator, User administrator or Privileged Authentication administrator
|
|
22
|
+
|
|
23
|
+
!!! note
|
|
24
|
+
After running this command, it may take a minute before the user will reappear in the active users.
|
|
25
|
+
|
|
26
|
+
## Examples
|
|
27
|
+
|
|
28
|
+
Restore user from the recycle bin
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
m365 aad user recyclebinitem restore --id 990e2425-f595-43bc-85ed-b89a44093793
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Response
|
|
35
|
+
|
|
36
|
+
=== "JSON"
|
|
37
|
+
|
|
38
|
+
```json
|
|
39
|
+
{
|
|
40
|
+
"id": "990e2425-f595-43bc-85ed-b89a44093793",
|
|
41
|
+
"businessPhones": [],
|
|
42
|
+
"displayName": "John Doe",
|
|
43
|
+
"givenName": "John",
|
|
44
|
+
"jobTitle": "Sales Manager",
|
|
45
|
+
"mail": null,
|
|
46
|
+
"mobilePhone": null,
|
|
47
|
+
"officeLocation": null,
|
|
48
|
+
"preferredLanguage": "nl-BE",
|
|
49
|
+
"surname": "Doe",
|
|
50
|
+
"userPrincipalName": "john.doe@contoso.com",
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
=== "Text"
|
|
55
|
+
|
|
56
|
+
```text
|
|
57
|
+
businessPhones : []
|
|
58
|
+
displayName : John Doe
|
|
59
|
+
givenName : John
|
|
60
|
+
id : 990e2425-f595-43bc-85ed-b89a44093793
|
|
61
|
+
jobTitle : Sales Manager
|
|
62
|
+
mail : null
|
|
63
|
+
mobilePhone : null
|
|
64
|
+
officeLocation : null
|
|
65
|
+
preferredLanguage: nl-BE
|
|
66
|
+
surname : Doe
|
|
67
|
+
userPrincipalName: john.doe@contoso.com
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
=== "CSV"
|
|
71
|
+
|
|
72
|
+
```csv
|
|
73
|
+
id,businessPhones,displayName,givenName,jobTitle,mail,mobilePhone,officeLocation,preferredLanguage,surname,userPrincipalName
|
|
74
|
+
990e2425-f595-43bc-85ed-b89a44093793,[],John Doe,John,Sales Manager,,,,nl-BE,Doe,john.doe@contoso.com
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
=== "Markdown"
|
|
78
|
+
|
|
79
|
+
```md
|
|
80
|
+
# user recyclebin restore --id 990e2425-f595-43bc-85ed-b89a44093793
|
|
81
|
+
|
|
82
|
+
Date: 16/02/2023
|
|
83
|
+
|
|
84
|
+
## John Doe (990e2425-f595-43bc-85ed-b89a44093793)
|
|
85
|
+
|
|
86
|
+
Property | Value
|
|
87
|
+
---------|-------
|
|
88
|
+
id | 990e2425-f595-43bc-85ed-b89a44093793
|
|
89
|
+
businessPhones | []
|
|
90
|
+
displayName | John Doe
|
|
91
|
+
givenName | John
|
|
92
|
+
jobTitle | Sales Manager
|
|
93
|
+
mail | null
|
|
94
|
+
mobilePhone | null
|
|
95
|
+
officeLocation | null
|
|
96
|
+
preferredLanguage | nl-BE
|
|
97
|
+
surname | Doe
|
|
98
|
+
userPrincipalName | john.doe@contoso.com
|
|
99
|
+
```
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# aad user remove
|
|
2
|
+
|
|
3
|
+
Removes a specific user
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 aad user remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`--id [id]`
|
|
14
|
+
: The ID of the user. Specify either `id` or `userName` but not both.
|
|
15
|
+
|
|
16
|
+
`--userName [userName]`
|
|
17
|
+
: User principal name of the user. Specify either `id` or `userName` but not both.
|
|
18
|
+
|
|
19
|
+
`--confirm`
|
|
20
|
+
: Don't prompt for confirmation.
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Remarks
|
|
25
|
+
|
|
26
|
+
!!! important
|
|
27
|
+
If the user with the specified id or user name doesn't exist, you will get a `Resource 'xyz' does not exist or one of its queried reference-property objects are not present.` error.
|
|
28
|
+
|
|
29
|
+
!!! important
|
|
30
|
+
To use this command you must be a Global administrator, User administrator or Privileged Authentication administrator.
|
|
31
|
+
|
|
32
|
+
!!! note
|
|
33
|
+
After running this command, it may take a minute before the user is effectively moved to the recycle bin.
|
|
34
|
+
|
|
35
|
+
## Examples
|
|
36
|
+
|
|
37
|
+
Removes a specific user by id
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
m365 aad user remove --id a33bd401-9117-4e0e-bb7b-3f61c1539e10
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Removes a specific user by its UPN
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
m365 aad user remove --name john.doe@contoso.com
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Response
|
|
50
|
+
|
|
51
|
+
The command won't return a response on success.
|
|
@@ -74,7 +74,7 @@ m365 aad user set --objectId 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --accountEnabl
|
|
|
74
74
|
Reset password of a given user by userPrincipalName and require the user to change the password on the next sign in
|
|
75
75
|
|
|
76
76
|
```sh
|
|
77
|
-
m365 aad user set --userPrincipalName steve@contoso.onmicrosoft.com --resetPassword --
|
|
77
|
+
m365 aad user set --userPrincipalName steve@contoso.onmicrosoft.com --resetPassword --newPassword 6NLUId79Lc24 --forceChangePasswordNextSignIn
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
Change password of the currently logged in user
|
|
@@ -10,8 +10,8 @@ m365 flow environment get [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-n, --name
|
|
14
|
-
: The name of the environment to get information about
|
|
13
|
+
`-n, --name [name]`
|
|
14
|
+
: The name of the environment to get information about. When not specified, the default environment is retrieved.
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
17
17
|
|
|
@@ -24,12 +24,17 @@ If the environment with the name you specified doesn't exist, you will get the `
|
|
|
24
24
|
|
|
25
25
|
## Examples
|
|
26
26
|
|
|
27
|
-
Get information about
|
|
27
|
+
Get information about a Microsoft Flow environment specified by name
|
|
28
28
|
|
|
29
29
|
```sh
|
|
30
30
|
m365 flow environment get --name Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
+
Get information about the default Microsoft Flow environment
|
|
34
|
+
```sh
|
|
35
|
+
m365 flow environment get
|
|
36
|
+
```
|
|
37
|
+
|
|
33
38
|
## Response
|
|
34
39
|
|
|
35
40
|
### Standard response
|
|
@@ -129,3 +134,26 @@ m365 flow environment get --name Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
|
129
134
|
name,id,location,displayName,provisioningState,environmentSku,azureRegionHint,isDefault
|
|
130
135
|
Default-d87a7535-dd31-4437-bfe1-95340acd55c5,/providers/Microsoft.ProcessSimple/environments/Default-d87a7535-dd31-4437-bfe1-95340acd55c5,india,contoso (default),Succeeded,Default,centralindia,1
|
|
131
136
|
```
|
|
137
|
+
|
|
138
|
+
=== "Markdown"
|
|
139
|
+
|
|
140
|
+
```md
|
|
141
|
+
# flow environment get
|
|
142
|
+
|
|
143
|
+
Date: 8/2/2023
|
|
144
|
+
|
|
145
|
+
## contoso (default) (/providers/Microsoft.ProcessSimple/environments/Default-d87a7535-dd31-4437-bfe1-95340acd55c5)
|
|
146
|
+
|
|
147
|
+
Property | Value
|
|
148
|
+
---------|-------
|
|
149
|
+
name | Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
150
|
+
location | india
|
|
151
|
+
type | Microsoft.ProcessSimple/environments
|
|
152
|
+
id | /providers/Microsoft.ProcessSimple/environments/Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
153
|
+
properties | {"displayName":"contoso (default)","createdTime":"2019-12-21T18:32:11.8708704Z","createdBy":{"id":"SYSTEM","displayName": "SYSTEM","type": "NotSpecified"},"provisioningState":"Succeeded","creationType":"DefaultTenant","environmentSku":"Default","environmentType":"NotSpecified","states":{"management":{"id":"NotSpecified"},"runtime":{"runtimeReasonCode":"NotSpecified","requestedBy":{"displayName":"SYSTEM","type":"NotSpecified"},"id":"Enabled"}},"isDefault":true,"isPayAsYouGoEnabled":false,"azureRegionHint":"centralindia","runtimeEndpoints":{"microsoft.BusinessAppPlatform":"https://india.api.bap.microsoft.com","microsoft.CommonDataModel":"https://india.api.cds.microsoft.com","microsoft.PowerApps":"https://india.api.powerapps.com",microsoft.PowerAppsAdvisor":"https://india.api.advisor.powerapps.com","microsoft.PowerVirtualAgents":"https://powervamg.in-il101.gateway.prod.island.powerapps.com","microsoft.ApiManagement":"https://management.INDIA.azure-apihub.net","microsoft.Flow":"https://india.api.flow.microsoft.com"},"linkedEnvironmentMetadata":{"type":"NotSpecified","resourceId":"3aa550bf-52ac-42fc-98f7-5d1833c1501c","friendlyName":"contoso (default)","uniqueName":"orgfc80770f","domainName":"orgfc80770f","version":"9.2.22105.00154","instanceUrl":"https://orgfc80770f.crm8.dynamics.com/","instanceApiUrl":"https://orgfc80770f.api.crm8.dynamics.com","baseLanguage":1033,"instanceState":"Ready","createdTime":"2019-12-25T15:46:14.433Z"},"environmentFeatures":{"isOpenApiEnabled":false},"cluster":{"category":"Prod","number":"101","uriSuffix":"in-il101.gateway.prod.island","geoShortName":"IN","environment":"Prod"},"governanceConfiguration":{"protectionLevel":"Basic"}}
|
|
154
|
+
displayName | contoso (default)
|
|
155
|
+
provisioningState | Succeeded
|
|
156
|
+
environmentSku | Default
|
|
157
|
+
azureRegionHint | centralindia
|
|
158
|
+
isDefault | true
|
|
159
|
+
```
|
|
@@ -14,7 +14,7 @@ m365 spo homesite get [options]
|
|
|
14
14
|
|
|
15
15
|
## Examples
|
|
16
16
|
|
|
17
|
-
Get information about the Home Site
|
|
17
|
+
Get information about the Home Site.
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
20
|
m365 spo homesite get
|
|
@@ -51,6 +51,25 @@ m365 spo homesite get
|
|
|
51
51
|
af80c11f-0138-4d72-bb37-514542c3aabb,6f90666d-b0e7-40c3-991f-4ab051d00a70,https://contoso.sharepoint.com/sites/intra/siteassets/work.png,Intranet,https://contoso.sharepoint.com/sites/intra
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
=== "Markdown"
|
|
55
|
+
|
|
56
|
+
```md
|
|
57
|
+
# spo homesite get
|
|
58
|
+
|
|
59
|
+
Date: 2/20/2023
|
|
60
|
+
|
|
61
|
+
## Intranet (https://contoso.sharepoint.com/sites/intra)
|
|
62
|
+
|
|
63
|
+
Property | Value
|
|
64
|
+
---------|-------
|
|
65
|
+
IsInDraftMode | false
|
|
66
|
+
SiteId | af80c11f-0138-4d72-bb37-514542c3aabb
|
|
67
|
+
WebId |6f90666d-b0e7-40c3-991f-4ab051d00a70
|
|
68
|
+
LogoUrl | https://contoso.sharepoint.com/sites/intra/siteassets/work.png
|
|
69
|
+
Title | Intranet
|
|
70
|
+
Url | https://contoso.sharepoint.com/sites/intra
|
|
71
|
+
```
|
|
72
|
+
|
|
54
73
|
## More information
|
|
55
74
|
|
|
56
75
|
- SharePoint home sites: a landing for your organization on the intelligent intranet: [https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933)
|
|
@@ -11,7 +11,7 @@ m365 spo homesite remove [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`--confirm`
|
|
14
|
-
: Do not prompt for confirmation before removing the Home Site
|
|
14
|
+
: Do not prompt for confirmation before removing the Home Site.
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ m365 spo homesite remove [options]
|
|
|
20
20
|
|
|
21
21
|
## Examples
|
|
22
22
|
|
|
23
|
-
Removes the current Home Site without confirmation
|
|
23
|
+
Removes the current Home Site without confirmation.
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
26
|
m365 spo homesite remove --confirm
|
|
@@ -46,6 +46,12 @@ m365 spo homesite remove --confirm
|
|
|
46
46
|
https://contoso.sharepoint.com has been removed as a Home site. It may take some time for the change to apply. Check aka.ms/homesites for details.
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
+
=== "Markdown"
|
|
50
|
+
|
|
51
|
+
```md
|
|
52
|
+
https://contoso.sharepoint.com has been removed as a Home site. It may take some time for the change to apply. Check aka.ms/homesites for details.
|
|
53
|
+
```
|
|
54
|
+
|
|
49
55
|
## More information
|
|
50
56
|
|
|
51
57
|
- SharePoint home sites, a landing for your organization on the intelligent intranet: [https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933)
|
|
@@ -11,7 +11,7 @@ m365 spo homesite set [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --siteUrl <siteUrl>`
|
|
14
|
-
: The URL of the site to set as Home Site
|
|
14
|
+
: The URL of the site to set as Home Site.
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ m365 spo homesite set [options]
|
|
|
20
20
|
|
|
21
21
|
## Examples
|
|
22
22
|
|
|
23
|
-
Set the specified site as the Home Site
|
|
23
|
+
Set the specified site as the Home Site.
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
26
|
m365 spo homesite set --siteUrl https://contoso.sharepoint.com/sites/comms
|
|
@@ -46,6 +46,12 @@ m365 spo homesite set --siteUrl https://contoso.sharepoint.com/sites/comms
|
|
|
46
46
|
The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details.
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
+
=== "Markdown"
|
|
50
|
+
|
|
51
|
+
```md
|
|
52
|
+
The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details.
|
|
53
|
+
```
|
|
54
|
+
|
|
49
55
|
## More information
|
|
50
56
|
|
|
51
57
|
- SharePoint home sites: a landing for your organization on the intelligent intranet: [https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933)
|
|
@@ -11,22 +11,22 @@ m365 spo hubsite connect [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-i, --id [id]`
|
|
14
|
-
: ID of the hub site. Specify either `id`, `title
|
|
14
|
+
: ID of the hub site. Specify either `id`, `title`, or `url` but not multiple.
|
|
15
15
|
|
|
16
16
|
`-t, --title [title]`
|
|
17
|
-
: Title of the hub site. Specify either `id`, `title
|
|
17
|
+
: Title of the hub site. Specify either `id`, `title`, or `url` but not multiple.
|
|
18
18
|
|
|
19
19
|
`-u, --url [url]`
|
|
20
|
-
: Absolute or server-relative URL of the hub site. Specify either `id`, `title
|
|
20
|
+
: Absolute or server-relative URL of the hub site. Specify either `id`, `title`, or `url` but not multiple.
|
|
21
21
|
|
|
22
22
|
`--parentId [parentId]`
|
|
23
|
-
: ID of the parent hub site. Specify either `parentId`, `parentTitle
|
|
23
|
+
: ID of the parent hub site. Specify either `parentId`, `parentTitle`, or `parentUrl` but not multiple.
|
|
24
24
|
|
|
25
25
|
`--parentTitle [parentTitle]`
|
|
26
|
-
: Title of the parent hub site. Specify either `parentId`, `parentTitle
|
|
26
|
+
: Title of the parent hub site. Specify either `parentId`, `parentTitle`, or `parentUrl` but not multiple.
|
|
27
27
|
|
|
28
28
|
`--parentUrl [parentUrl]`
|
|
29
|
-
: Absolute or server-relative URL of the parent hub site. Specify either `parentId`, `parentTitle
|
|
29
|
+
: Absolute or server-relative URL of the parent hub site. Specify either `parentId`, `parentTitle`, or `parentUrl` but not multiple.
|
|
30
30
|
|
|
31
31
|
--8<-- "docs/cmd/_global.md"
|
|
32
32
|
|
|
@@ -39,19 +39,19 @@ To connect a regular site to a hub site, use command [spo site hubsite connect](
|
|
|
39
39
|
|
|
40
40
|
## Examples
|
|
41
41
|
|
|
42
|
-
Connect a specific hub site to specific parent hub site by ID
|
|
42
|
+
Connect a specific hub site to specific parent hub site by ID.
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
45
|
m365 spo hubsite connect --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a --parentId 637ed2ea-b65b-4a4b-a3d7-ad86953224a4
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Connect a specific hub site to specific parent hub site by URL
|
|
48
|
+
Connect a specific hub site to specific parent hub site by URL.
|
|
49
49
|
|
|
50
50
|
```sh
|
|
51
51
|
m365 spo hubsite connect --url https://contoso.sharepoint.com/sites/project-x --parentUrl https://contoso.sharepoint.com/sites/projects
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
Connect a specific hub site with title to a parent hub site with ID
|
|
54
|
+
Connect a specific hub site with title to a parent hub site with ID.
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
57
|
m365 spo hubsite connect --title "My hub site" --parentId 637ed2ea-b65b-4a4b-a3d7-ad86953224a4
|
|
@@ -11,23 +11,22 @@ m365 spo hubsite data get [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: URL of the site for which to retrieve hub site data
|
|
14
|
+
: URL of the site for which to retrieve hub site data.
|
|
15
15
|
|
|
16
16
|
`-f, --forceRefresh`
|
|
17
|
-
: Set, to refresh the server cache with the latest updates
|
|
17
|
+
: Set, to refresh the server cache with the latest updates.
|
|
18
18
|
|
|
19
19
|
--8<-- "docs/cmd/_global.md"
|
|
20
20
|
|
|
21
21
|
## Remarks
|
|
22
22
|
|
|
23
|
-
By default, the hub site data is returned from the server's cache. To refresh the data with the latest updates, use the `-f, --forceRefresh` option. Use this option, if you just made changes and need to see them right
|
|
24
|
-
away.
|
|
23
|
+
By default, the hub site data is returned from the server's cache. To refresh the data with the latest updates, use the `-f, --forceRefresh` option. Use this option, if you just made changes and need to see them right away.
|
|
25
24
|
|
|
26
25
|
If the specified site is not connected to a hub site site and is not a hub site itself, no data will be retrieved.
|
|
27
26
|
|
|
28
27
|
## Examples
|
|
29
28
|
|
|
30
|
-
Get information about the hub site data for a site with URL
|
|
29
|
+
Get information about the hub site data for a specific site with URL.
|
|
31
30
|
|
|
32
31
|
```sh
|
|
33
32
|
m365 spo hubsite data get --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
@@ -90,6 +89,36 @@ m365 spo hubsite data get --webUrl https://contoso.sharepoint.com/sites/project-
|
|
|
90
89
|
None,7EDE94FF,Intranet,https://contoso.sharepoint.com/sites/intra,https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png,637696294610000000,false,1,[],false,184644fb-90ed-4841-a7ad-6930cf819060,,,1e1232eb-1a78-4726-8bb9-56af3640228d,"[""af80c11f-0138-4d72-bb37-514542c3aabb""]",4d128b52-7228-46b5-8765-5b338476054d,1
|
|
91
90
|
```
|
|
92
91
|
|
|
92
|
+
=== "Markdown"
|
|
93
|
+
|
|
94
|
+
```md
|
|
95
|
+
# spo hubsite data get --webUrl "https://contoso.sharepoint.com/sites/intra"
|
|
96
|
+
|
|
97
|
+
Date: 2/20/2023
|
|
98
|
+
|
|
99
|
+
## Intranet (https://contoso.sharepoint.com/sites/intra)
|
|
100
|
+
|
|
101
|
+
Property | Value
|
|
102
|
+
---------|-------
|
|
103
|
+
headerEmphasis | None
|
|
104
|
+
themeKey | 7EDE94FF
|
|
105
|
+
name | Intranet
|
|
106
|
+
url | https://contoso.sharepoint.com/sites/intra
|
|
107
|
+
logoUrl | https://contoso.sharepoint.com/sites/intra/SiteAssets/work.png
|
|
108
|
+
logoFileHash | 637696294610000000
|
|
109
|
+
usesMetadataNavigation | false
|
|
110
|
+
megaMenuEnabled | true
|
|
111
|
+
navigation | []
|
|
112
|
+
isNavAudienceTargeted | false
|
|
113
|
+
siteDesignId | 184644fb-90ed-4841-a7ad-6930cf819060
|
|
114
|
+
requiresJoinApproval | false
|
|
115
|
+
hideNameInNavigation | false
|
|
116
|
+
parentHubSiteId | 1e1232eb-1a78-4726-8bb9-56af3640228d
|
|
117
|
+
relatedHubSiteIds | ["af80c11f-0138-4d72-bb37-514542c3aabb"]
|
|
118
|
+
tenantInstanceId | 4d128b52-7228-46b5-8765-5b338476054d
|
|
119
|
+
isSameTenantInstance | true
|
|
120
|
+
```
|
|
121
|
+
|
|
93
122
|
## More information
|
|
94
123
|
|
|
95
124
|
- SharePoint hub sites new in Microsoft 365: [https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547](https://techcommunity.microsoft.com/t5/SharePoint-Blog/SharePoint-hub-sites-new-in-Office-365/ba-p/109547)
|
|
@@ -11,13 +11,13 @@ m365 spo hubsite disconnect [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-i, --id [id]`
|
|
14
|
-
: ID of the hub site. Specify either `id`, `title
|
|
14
|
+
: ID of the hub site. Specify either `id`, `title`, or `url` but not multiple.
|
|
15
15
|
|
|
16
16
|
`-t, --title [title]`
|
|
17
|
-
: Title of the hub site. Specify either `id`, `title
|
|
17
|
+
: Title of the hub site. Specify either `id`, `title`, or `url` but not multiple.
|
|
18
18
|
|
|
19
19
|
`-u, --url [url]`
|
|
20
|
-
: Absolute or server-relative URL of the hub site. Specify either `id`, `title
|
|
20
|
+
: Absolute or server-relative URL of the hub site. Specify either `id`, `title`, or `url` but not multiple.
|
|
21
21
|
|
|
22
22
|
`--confirm`
|
|
23
23
|
: Don't prompt for confirmation.
|
|
@@ -35,19 +35,19 @@ If the specified id doesn't point to a valid hub site, you will get a ResourceNo
|
|
|
35
35
|
|
|
36
36
|
## Examples
|
|
37
37
|
|
|
38
|
-
Disconnect a specific hub site with id from its parent hub site
|
|
38
|
+
Disconnect a specific hub site with id from its parent hub site.
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
41
|
m365 spo hubsite disconnect --id 2c1ba4c4-cd9b-4417-832f-92a34bc34b2a
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
Disconnect a specific hub site with url from its parent hub site
|
|
44
|
+
Disconnect a specific hub site with url from its parent hub site.
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
47
|
m365 spo hubsite disconnect --url https://contoso.sharepoint.com/sites/project-x
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
Disconnect a specific hub site with title from its parent hub site
|
|
50
|
+
Disconnect a specific hub site with title from its parent hub site.
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
53
|
m365 spo hubsite disconnect --title "My hub site"
|