@pnp/cli-microsoft365 7.1.0-beta.d53f0d9 → 7.2.0-beta.0642f3a

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 (72) hide show
  1. package/.devcontainer/Dockerfile +0 -1
  2. package/.eslintrc.cjs +4 -0
  3. package/Dockerfile +0 -1
  4. package/dist/Auth.js +1 -1
  5. package/dist/Command.js +18 -28
  6. package/dist/cli/Cli.js +6 -4
  7. package/dist/m365/aad/commands/administrativeunit/administrativeunit-add.js +61 -0
  8. package/dist/m365/aad/commands/administrativeunit/administrativeunit-get.js +80 -0
  9. package/dist/m365/aad/commands/administrativeunit/administrativeunit-list.js +25 -0
  10. package/dist/m365/aad/commands/administrativeunit/administrativeunit-remove.js +96 -0
  11. package/dist/m365/aad/commands/group/group-user-list.js +146 -0
  12. package/dist/m365/aad/commands/m365group/m365group-remove.js +109 -15
  13. package/dist/m365/aad/commands.js +5 -0
  14. package/dist/m365/base/AppCommand.js +3 -12
  15. package/dist/m365/cli/commands/cli-doctor.js +11 -6
  16. package/dist/m365/commands/setup.js +6 -1
  17. package/dist/m365/{search/commands/externalconnection/externalconnection-add.js → external/commands/connection/connection-add.js} +16 -13
  18. package/dist/m365/{search/commands/externalconnection/externalconnection-get.js → external/commands/connection/connection-get.js} +16 -13
  19. package/dist/m365/{search/commands/externalconnection/externalconnection-list.js → external/commands/connection/connection-list.js} +7 -4
  20. package/dist/m365/{search/commands/externalconnection/externalconnection-remove.js → external/commands/connection/connection-remove.js} +17 -14
  21. package/dist/m365/{search/commands/externalconnection/externalconnection-schema-add.js → external/commands/connection/connection-schema-add.js} +14 -11
  22. package/dist/m365/external/commands.js +15 -0
  23. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.1-rc.0.js +21 -0
  24. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  25. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014010_CODE_settings_filesexclude_jest.js +44 -0
  26. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.1-rc.0.js +57 -0
  27. package/dist/m365/spfx/commands/project/project-upgrade.js +16 -13
  28. package/dist/m365/spfx/commands/spfx-doctor.js +15 -0
  29. package/dist/m365/spo/commands/site/site-set.js +33 -1
  30. package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +15 -14
  31. package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +22 -22
  32. package/dist/m365/teams/commands/app/app-update.js +9 -6
  33. package/dist/m365/tenant/commands/people/people-profilecardproperty-add.js +131 -0
  34. package/dist/m365/tenant/commands/people/people-profilecardproperty-get.js +75 -0
  35. package/dist/m365/tenant/commands/people/people-profilecardproperty-list.js +53 -0
  36. package/dist/m365/tenant/commands/people/people-profilecardproperty-remove.js +84 -0
  37. package/dist/m365/tenant/commands/people/people-profilecardproperty-set.js +118 -0
  38. package/dist/m365/tenant/commands/people/profileCardProperties.js +24 -0
  39. package/dist/m365/tenant/commands.js +5 -0
  40. package/dist/m365/todo/commands/task/task-list.js +8 -10
  41. package/dist/m365/todo/commands/task/task-remove.js +36 -36
  42. package/dist/m365/todo/commands/task/task-set.js +11 -13
  43. package/dist/m365/yammer/commands/group/group-user-remove.js +22 -23
  44. package/dist/utils/aadAdministrativeUnit.js +25 -0
  45. package/dist/utils/aadGroup.js +3 -1
  46. package/dist/utils/odata.js +20 -19
  47. package/dist/utils/prompt.js +16 -0
  48. package/docs/docs/cmd/aad/administrativeunit/administrativeunit-add.mdx +119 -0
  49. package/docs/docs/cmd/aad/administrativeunit/administrativeunit-get.mdx +102 -0
  50. package/docs/docs/cmd/aad/administrativeunit/administrativeunit-list.mdx +87 -0
  51. package/docs/docs/cmd/aad/administrativeunit/administrativeunit-remove.mdx +56 -0
  52. package/docs/docs/cmd/aad/group/group-user-list.mdx +135 -0
  53. package/docs/docs/cmd/aad/m365group/m365group-remove.mdx +11 -1
  54. package/docs/docs/cmd/{search/externalconnection/externalconnection-add.mdx → external/connection/connection-add.mdx} +16 -10
  55. package/docs/docs/cmd/{search/externalconnection/externalconnection-get.mdx → external/connection/connection-get.mdx} +16 -11
  56. package/docs/docs/cmd/{search/externalconnection/externalconnection-list.mdx → external/connection/connection-list.mdx} +12 -7
  57. package/docs/docs/cmd/external/connection/connection-remove.mdx +54 -0
  58. package/docs/docs/cmd/external/connection/connection-schema-add.mdx +41 -0
  59. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  60. package/docs/docs/cmd/spo/field/field-get.mdx +1 -1
  61. package/docs/docs/cmd/spo/file/file-rename.mdx +2 -0
  62. package/docs/docs/cmd/spo/site/site-set.mdx +15 -0
  63. package/docs/docs/cmd/tenant/people/people-profilecardproperty-add.mdx +126 -0
  64. package/docs/docs/cmd/tenant/people/people-profilecardproperty-get.mdx +101 -0
  65. package/docs/docs/cmd/tenant/people/people-profilecardproperty-list.mdx +98 -0
  66. package/docs/docs/cmd/tenant/people/people-profilecardproperty-remove.mdx +61 -0
  67. package/docs/docs/cmd/tenant/people/people-profilecardproperty-set.mdx +120 -0
  68. package/npm-shrinkwrap.json +2 -2
  69. package/package.json +36 -18
  70. package/dist/m365/search/commands.js +0 -9
  71. package/docs/docs/cmd/search/externalconnection/externalconnection-remove.mdx +0 -48
  72. package/docs/docs/cmd/search/externalconnection/externalconnection-schema-add.mdx +0 -35
@@ -0,0 +1,119 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # aad administrativeunit add
6
+
7
+ Creates a new administrative unit
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 aad administrativeunit add [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-n, --displayname <displayName>`
19
+ : Display name for the administrative unit.
20
+
21
+ `-d, --description [description]`
22
+ : Description for the administrative unit.
23
+
24
+ `--hiddenMembership`
25
+ : Indicates whether the administrative unit and its members are hidden.
26
+ ```
27
+
28
+ <Global />
29
+
30
+ ## Remarks
31
+
32
+ :::info
33
+
34
+ To use this command you must be either **Global Administrator** or **Privileged Role Administrator**.
35
+
36
+ :::
37
+
38
+ ## Examples
39
+
40
+ Create an administrative unit with a specific display name
41
+
42
+ ```sh
43
+ m365 aad administrativeunit add --displayName 'Marketing Division'
44
+ ```
45
+
46
+ Create an administrative unit with a specific display name and description
47
+
48
+ ```sh
49
+ m365 aad administrativeunit add --displayName 'Marketing Division' --description 'Marketing department administration'
50
+ ```
51
+
52
+ Create a hidden administrative unit with a specific display name
53
+
54
+ ```sh
55
+ m365 aad administrativeunit add --displayName 'Marketing Division' --hiddenMembership
56
+ ```
57
+
58
+ ## Response
59
+
60
+ <Tabs>
61
+ <TabItem value="JSON">
62
+
63
+ ```json
64
+ {
65
+ "id": "00b45a1b-7632-4e94-a3bd-f06aec976d31",
66
+ "deletedDateTime": null,
67
+ "displayName": "Marketing Division",
68
+ "description": "Marketing department administration",
69
+ "membershipRule": null,
70
+ "membershipType": null,
71
+ "membershipRuleProcessingState": null,
72
+ "visibility": null
73
+ }
74
+ ```
75
+
76
+ </TabItem>
77
+ <TabItem value="Text">
78
+
79
+ ```text
80
+ deletedDateTime : null
81
+ description : Marketing department administration
82
+ displayName : Marketing Division
83
+ id : 00b45a1b-7632-4e94-a3bd-f06aec976d31
84
+ membershipRule : null
85
+ membershipRuleProcessingState: null
86
+ membershipType : null
87
+ visibility : null
88
+ ```
89
+
90
+ </TabItem>
91
+ <TabItem value="CSV">
92
+
93
+ ```csv
94
+ id,displayName,description,visibility
95
+ 00b45a1b-7632-4e94-a3bd-f06aec976d31,Marketing Division,Marketing department administration,HiddenMembership
96
+ ```
97
+
98
+ </TabItem>
99
+ <TabItem value="Markdown">
100
+
101
+ ```md
102
+ Date: 10/23/2023
103
+
104
+ ## Marketing Division (00b45a1b-7632-4e94-a3bd-f06aec976d31)
105
+
106
+ Property | Value
107
+ ---------|-------
108
+ id | 00b45a1b-7632-4e94-a3bd-f06aec976d31
109
+ displayName | Marketing Division
110
+ description | Marketing department administration
111
+ visibility | HiddenMembership
112
+ ```
113
+
114
+ </TabItem>
115
+ </Tabs>
116
+
117
+ ## More information
118
+
119
+ - Administrative units: https://learn.microsoft.com/entra/identity/role-based-access-control/administrative-units
@@ -0,0 +1,102 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # aad administrativeunit get
6
+
7
+ Gets information about a specific administrative unit
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 aad administrativeunit get [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-i, --id [id]`
19
+ : The id of the administrative unit. Specify either `id` or `displayName` but not both.
20
+
21
+ `-n, --displayName [displayName]`
22
+ : The display name of the administrative unit. Specify either `id` or `displayName` but not both.
23
+ ```
24
+
25
+ <Global />
26
+
27
+ ## Examples
28
+
29
+ Get information about the administrative unit by its id
30
+
31
+ ```sh
32
+ m365 aad administrativeunit get --id 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7
33
+ ```
34
+
35
+ Get information about the administrative unit by its display name
36
+
37
+ ```sh
38
+ m365 aad administrativeunit get --displayName 'Marketing Division'
39
+ ```
40
+
41
+ ## Response
42
+
43
+ <Tabs>
44
+ <TabItem value="JSON">
45
+
46
+ ```json
47
+ {
48
+ "id": "0a22c83d-c4ac-43e2-bb5e-87af3015d49f",
49
+ "deletedDateTime": null,
50
+ "displayName": "Marketing Division",
51
+ "description": "Marketing Department Administration",
52
+ "membershipRule": null,
53
+ "membershipType": null,
54
+ "membershipRuleProcessingState": null,
55
+ "visibility": "HiddenMembership"
56
+ }
57
+ ```
58
+
59
+ </TabItem>
60
+ <TabItem value="Text">
61
+
62
+ ```text
63
+ deletedDateTime : null
64
+ description : Marketing Department Administration
65
+ displayName : Marketing Division
66
+ id : 0a22c83d-c4ac-43e2-bb5e-87af3015d49f
67
+ membershipRule : null
68
+ membershipRuleProcessingState: null
69
+ membershipType : null
70
+ visibility : HiddenMembership
71
+ ```
72
+
73
+ </TabItem>
74
+ <TabItem value="CSV">
75
+
76
+ ```csv
77
+ id,displayName,description,visibility
78
+ 0a22c83d-c4ac-43e2-bb5e-87af3015d49f,Marketing Division,Marketing Department Administration,HiddenMembership
79
+ ```
80
+
81
+ </TabItem>
82
+ <TabItem value="Markdown">
83
+
84
+ ```md
85
+ Date: 10/23/2023
86
+
87
+ ## Marketing Division (0a22c83d-c4ac-43e2-bb5e-87af3015d49f)
88
+
89
+ Property | Value
90
+ ---------|-------
91
+ id | 0a22c83d-c4ac-43e2-bb5e-87af3015d49f
92
+ displayName | Marketing Division
93
+ description | Marketing Department Administration
94
+ visibility | HiddenMembership
95
+ ```
96
+
97
+ </TabItem>
98
+ </Tabs>
99
+
100
+ ## More information
101
+
102
+ - Administrative units: https://learn.microsoft.com/entra/identity/role-based-access-control/administrative-units
@@ -0,0 +1,87 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # aad administrativeunit list
6
+
7
+ Retrieves a list of administrative units
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 aad administrativeunit list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ <Global />
18
+
19
+ ## Examples
20
+
21
+ Retrieve a list of administrative units
22
+
23
+ ```sh
24
+ m365 aad administrativeunit list
25
+ ```
26
+
27
+ ## Response
28
+
29
+ <Tabs>
30
+ <TabItem value="JSON">
31
+
32
+ ```json
33
+ [
34
+ {
35
+ "id": "0a22c83d-c4ac-43e2-bb5e-87af3015d49f",
36
+ "deletedDateTime": null,
37
+ "displayName": "Marketing Department",
38
+ "description": "Marketing Department Administration",
39
+ "membershipRule": null,
40
+ "membershipType": null,
41
+ "membershipRuleProcessingState": null,
42
+ "visibility": "HiddenMembership"
43
+ }
44
+ ]
45
+ ```
46
+
47
+ </TabItem>
48
+ <TabItem value="Text">
49
+
50
+ ```text
51
+ displayName: 0a22c83d-c4ac-43e2-bb5e-87af3015d49f
52
+ id : Marketing Department
53
+ visibility : HiddenMembership
54
+ ```
55
+
56
+ </TabItem>
57
+ <TabItem value="CSV">
58
+
59
+ ```csv
60
+ id,displayName,description,visibility
61
+ 0a22c83d-c4ac-43e2-bb5e-87af3015d49f,Marketing Department,Marketing Department Administration,HiddenMembership
62
+ ```
63
+
64
+ </TabItem>
65
+ <TabItem value="Markdown">
66
+
67
+ ```md
68
+ # aad administrativeunit list
69
+
70
+ Date: 2023-10-16
71
+
72
+ ## Marketing Department (0a22c83d-c4ac-43e2-bb5e-87af3015d49f)
73
+
74
+ Property | Value
75
+ ---------|-------
76
+ id | 0a22c83d-c4ac-43e2-bb5e-87af3015d49f
77
+ displayName | Marketing Department
78
+ description | Marketing Department Administration
79
+ visibility | HiddenMembership
80
+ ```
81
+
82
+ </TabItem>
83
+ </Tabs>
84
+
85
+ ## More information
86
+
87
+ - Administrative units: https://learn.microsoft.com/entra/identity/role-based-access-control/administrative-units
@@ -0,0 +1,56 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # aad administrativeunit remove
4
+
5
+ Removes an administrative unit
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 aad administrativeunit remove [options]
11
+ ```
12
+
13
+ ## options
14
+
15
+ ```md definition-list
16
+ `-i, --id [id]`
17
+ : The id of the administrative unit. Specify either `id` or `displayName` but not both.
18
+
19
+ `-n, --displayName [displayName]`
20
+ : The display name of the administrative unit. Specify either `id` or `displayName` but not both.
21
+
22
+ `-f, --force`
23
+ : Don't prompt for confirmation.
24
+ ```
25
+
26
+ <Global />
27
+
28
+ ## Remarks
29
+
30
+ :::info
31
+
32
+ To use this command you must be either **Global Administrator** or **Privileged Role Administrator**.
33
+
34
+ :::
35
+
36
+ ## Examples
37
+
38
+ Remove an administrative unit by its id
39
+
40
+ ```sh
41
+ m365 aad administrativeunit remove --id 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7
42
+ ```
43
+
44
+ Remove an administrative unit by it displayName
45
+
46
+ ```sh
47
+ m365 aad administrativeunit remove --displayName 'Marketing Division'
48
+ ```
49
+
50
+ ## Response
51
+
52
+ The command won't return a response on success
53
+
54
+ ## More information
55
+
56
+ - Administrative units: https://learn.microsoft.com/entra/identity/role-based-access-control/administrative-units
@@ -0,0 +1,135 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # aad group user list
6
+
7
+ Lists users of a specific Azure AD group
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 aad group user list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-i, --groupId [groupId]`
19
+ : The ID of the Azure AD group. Specify `groupId` or `groupDisplayName` but not both.
20
+
21
+ `-n, --groupDisplayName [groupDisplayName]`
22
+ : The display name of the Azure AD group. Specify `groupId` or `groupDisplayName` but not both.
23
+
24
+ `-r, --role [role]`
25
+ : Filter the results to only users with the given role: `Owner`, `Member`.
26
+
27
+ `-p, --properties [properties]`
28
+ : Comma-separated list of properties to retrieve.
29
+
30
+ `-f, --filter [filter]`
31
+ : OData filter to use to query the list of users with.
32
+ ```
33
+
34
+ <Global />
35
+
36
+ ## Remarks
37
+
38
+ When the `properties` option includes values with a `/`, for example: `manager/displayName`, an additional `$expand` query parameter will be included on `manager`.
39
+
40
+ ## Examples
41
+
42
+ List all group users from a group specified by ID.
43
+
44
+ ```sh
45
+ m365 aad group user list --groupId 03cba9da-3974-46c1-afaf-79caa2e45bbe
46
+ ```
47
+
48
+ List all owners from a group specified by display name.
49
+
50
+ ```sh
51
+ m365 aad group user list --groupDisplayName Developers --role Owner
52
+ ```
53
+
54
+ List all group users from a group specified by name. For each one return the display name, e-mail address, and manager display name.
55
+
56
+ ```sh
57
+ m365 aad group user list --groupDisplayName Developers --properties "displayName,mail,manager/displayName"
58
+ ```
59
+
60
+ List all group users from a group specified by name. For each one return the display name, e-mail address, and manager information.
61
+
62
+ ```sh
63
+ m365 aad group user list --groupDisplayName Developers --properties "displayName,mail,manager/*"
64
+ ```
65
+
66
+ List all group members that are guest users.
67
+
68
+ ```sh
69
+ m365 aad group user list --groupDisplayName Developers --filter "userType eq 'Guest'"
70
+ ```
71
+
72
+ ## Response
73
+
74
+ <Tabs>
75
+ <TabItem value="JSON">
76
+
77
+ ```json
78
+ [
79
+ {
80
+ "id": "da52218e-4822-4ac6-b41d-255e2059655e",
81
+ "displayName": "Adele Vance",
82
+ "userPrincipalName": "AdeleV@contoso.OnMicrosoft.com",
83
+ "givenName": "Adele",
84
+ "surname": "Vance",
85
+ "roles": [
86
+ "Owner",
87
+ "Member"
88
+ ]
89
+ }
90
+ ]
91
+ ```
92
+
93
+ </TabItem>
94
+ <TabItem value="Text">
95
+
96
+ ```text
97
+ id displayName userPrincipalName roles
98
+ ------------------------------------ -------------------- ------------------------------------ --------
99
+ da52218e-4822-4ac6-b41d-255e2059655e Adele Vance AdeleV@contoso.OnMicrosoft.com Owner,Member
100
+ ```
101
+
102
+ </TabItem>
103
+ <TabItem value="CSV">
104
+
105
+ ```csv
106
+ id,displayName,userPrincipalName,givenName,surname
107
+ da52218e-4822-4ac6-b41d-255e2059655e,Adele Vance,AdeleV@contoso.OnMicrosoft.com,Adele,Vance
108
+ ```
109
+
110
+ </TabItem>
111
+ <TabItem value="Markdown">
112
+
113
+ ```md
114
+ # aad group user list --groupId "1deaa428-8dde-4043-b028-5492226d6114"
115
+
116
+ Date: 2023-10-02
117
+
118
+ ## Adele Vance (da52218e-4822-4ac6-b41d-255e2059655e)
119
+
120
+ Property | Value
121
+ ---------|-------
122
+ id | da52218e-4822-4ac6-b41d-255e2059655e
123
+ displayName | Adele Vance
124
+ userPrincipalName | AdeleV@contoso.OnMicrosoft.com
125
+ givenName | Adele
126
+ surname | Vance
127
+ ```
128
+
129
+ </TabItem>
130
+ </Tabs>
131
+
132
+
133
+ ## More information
134
+
135
+ - View the documentation to see what userproperties can be included: [https://pnp.github.io/cli-microsoft365/cmd/aad/user/user-get#more-information](https://pnp.github.io/cli-microsoft365/cmd/aad/user/user-get#more-information)
@@ -27,7 +27,17 @@ m365 aad m365group remove [options]
27
27
 
28
28
  ## Remarks
29
29
 
30
- If the specified _id_ doesn't refer to an existing group, you will get a `Resource does not exist` error.
30
+ If the specified _id_ doesn't refer to an existing group, you will get a `Resource does not exist` error. Additionally, if you do not have access to the group or the associated group-connected site, you will get an `Access denied` error.
31
+
32
+ When you use `--skipRecycleBin` flag to remove a Microsoft 365 group permanently, the process involves deleting the associated group-connected site and the group, and then checking if the group has been moved to the deleted groups list. In some cases, it may take a few seconds for the group to appear in the deleted groups list.
33
+
34
+ To ensure a smooth deletion process, the command employs a retry mechanism with the following parameters:
35
+
36
+ - `maxRetries`: This parameter is set to 10 by default. It specifies the maximum number of times the command will check if the group has been moved to the deleted groups list.
37
+
38
+ - `intervalInMs`: This parameter is set to 5000 milliseconds (5 seconds) by default. It defines the time interval between each retry attempt.
39
+
40
+ If the group is successfully moved to the deleted groups list within the specified number of retries, the command will then proceed to permanently remove it from the tenant. If the group cannot be removed after all retries, it will remain in the deleted groups list.
31
41
 
32
42
  ## Examples
33
43
 
@@ -1,26 +1,32 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # search externalconnection add
3
+ # external connection add
4
4
 
5
- Add a new external connection to be defined for Microsoft Search
5
+ Add a new external connection
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 search externalconnection add [options]
10
+ m365 external connection add [options]
11
+ ```
12
+
13
+ ## Alias
14
+
15
+ ```sh
16
+ m365 search externalconnection add
11
17
  ```
12
18
 
13
19
  ## Options
14
20
 
15
21
  ```md definition-list
16
22
  `-i, --id <id>`
17
- : Developer-provided unique ID of the connection within the Azure Active Directory tenant
23
+ : Developer-provided unique ID of the connection within the Azure Active Directory tenant.
18
24
 
19
25
  `-n, --name <name>`
20
- : The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters
26
+ : The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters.
21
27
 
22
28
  `-d, --description <description>`
23
- : Description of the connection displayed in the Microsoft 365 admin center
29
+ : Description of the connection displayed in the Microsoft 365 admin center.
24
30
 
25
31
  `--authorizedAppIds [authorizedAppIds]`
26
32
  : Comma-separated collection of application IDs for registered Azure Active Directory apps that are allowed to manage the external connection and to index content in the external connection.
@@ -34,16 +40,16 @@ The `id` must be at least 3 and no more than 32 characters long. It can contain
34
40
 
35
41
  ## Examples
36
42
 
37
- Adds a new external connection with name and description of test app
43
+ Adds a new external connection with name and description of test app.
38
44
 
39
45
  ```sh
40
- m365 search externalconnection add --id MyApp --name "Test" --description "Test"
46
+ m365 external connection add --id MyApp --name "Test" --description "Test"
41
47
  ```
42
48
 
43
- Adds a new external connection with a limited number of authorized apps
49
+ Adds a new external connection with a limited number of authorized apps.
44
50
 
45
51
  ```sh
46
- m365 search externalconnection add --id MyApp --name "Test" --description "Test" --authorizedAppIds "00000000-0000-0000-0000-000000000000,00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002"
52
+ m365 external connection add --id MyApp --name "Test" --description "Test" --authorizedAppIds "00000000-0000-0000-0000-000000000000,00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002"
47
53
  ```
48
54
 
49
55
  ## Response
@@ -2,40 +2,46 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # search externalconnection get
5
+ # external connection get
6
6
 
7
- Allow the administrator to get a specific external connection for use in Microsoft Search.
7
+ Allow the administrator to get a specific external connection
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 search externalconnection get [options]
12
+ m365 external connection get [options]
13
+ ```
14
+
15
+ ## Alias
16
+
17
+ ```sh
18
+ m365 search externalconnection get
13
19
  ```
14
20
 
15
21
  ## Options
16
22
 
17
23
  ```md definition-list
18
24
  `-i, --id [id]`
19
- : ID of the External Connection to get. Specify either `id` or `name`
25
+ : ID of the External Connection to get. Specify either `id` or `name`.
20
26
 
21
27
  `-n, --name [name]`
22
- : Name of the External Connection to get. Specify either `id` or `name`
28
+ : Name of the External Connection to get. Specify either `id` or `name`.
23
29
  ```
24
30
 
25
31
  <Global />
26
32
 
27
33
  ## Examples
28
34
 
29
- Get the External Connection by its id
35
+ Get the External Connection by its id.
30
36
 
31
37
  ```sh
32
- m365 search externalconnection get --id "MyApp"
38
+ m365 external connection get --id "MyApp"
33
39
  ```
34
40
 
35
- Get the External Connection by its name
41
+ Get the External Connection by its name.
36
42
 
37
43
  ```sh
38
- m365 search externalconnection get --name "Test"
44
+ m365 external connection get --name "Test"
39
45
  ```
40
46
 
41
47
  ## Response
@@ -83,7 +89,7 @@ m365 search externalconnection get --name "Test"
83
89
  <TabItem value="Markdown">
84
90
 
85
91
  ```md
86
- # search externalconnection get --id "CLITest"
92
+ # external connection get --id "CLITest"
87
93
 
88
94
  Date: 2022-11-05
89
95
 
@@ -99,4 +105,3 @@ m365 search externalconnection get --name "Test"
99
105
 
100
106
  </TabItem>
101
107
  </Tabs>
102
-
@@ -2,14 +2,20 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # search externalconnection list
5
+ # external connection list
6
6
 
7
- Lists external connections defined in Microsoft Search
7
+ Lists external connections
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 search externalconnection list [options]
12
+ m365 external connection list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
17
+ ```sh
18
+ m365 search externalconnection list
13
19
  ```
14
20
 
15
21
  ## Options
@@ -18,10 +24,10 @@ m365 search externalconnection list [options]
18
24
 
19
25
  ## Examples
20
26
 
21
- List external connections defined in Microsoft Search
27
+ List external connections.
22
28
 
23
29
  ```sh
24
- m365 search externalconnection list
30
+ m365 external connection list
25
31
  ```
26
32
 
27
33
  ## Response
@@ -69,7 +75,7 @@ m365 search externalconnection list
69
75
  <TabItem value="Markdown">
70
76
 
71
77
  ```md
72
- # search externalconnection list
78
+ # external connection list
73
79
 
74
80
  Date: 2022-09-05
75
81
 
@@ -85,4 +91,3 @@ m365 search externalconnection list
85
91
 
86
92
  </TabItem>
87
93
  </Tabs>
88
-