@pnp/cli-microsoft365 7.1.0 → 7.2.0-beta.2970c86
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/.eslintrc.cjs +4 -0
- package/dist/cli/Cli.js +3 -2
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-add.js +61 -0
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-get.js +93 -0
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-list.js +25 -0
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-remove.js +108 -0
- package/dist/m365/aad/commands.js +4 -0
- package/dist/m365/base/AppCommand.js +3 -12
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.1-rc.0.js +21 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014010_CODE_settings_filesexclude_jest.js +44 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.1-rc.0.js +57 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +16 -13
- package/dist/m365/spfx/commands/spfx-doctor.js +15 -0
- package/dist/m365/teams/commands/app/app-update.js +9 -6
- package/dist/m365/tenant/commands/people/people-profilecardproperty-add.js +128 -0
- package/dist/m365/tenant/commands/people/people-profilecardproperty-get.js +73 -0
- package/dist/m365/tenant/commands/people/people-profilecardproperty-list.js +63 -0
- package/dist/m365/tenant/commands/people/people-profilecardproperty-remove.js +84 -0
- package/dist/m365/tenant/commands/people/profileCardProperties.js +24 -0
- package/dist/m365/tenant/commands.js +4 -0
- package/dist/utils/aadGroup.js +3 -1
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-add.mdx +119 -0
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-get.mdx +102 -0
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-list.mdx +87 -0
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-remove.mdx +56 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-add.mdx +174 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-get.mdx +97 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-list.mdx +106 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-remove.mdx +61 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +3 -2
|
@@ -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
|
|
@@ -35,7 +35,7 @@ m365 spfx project upgrade [options]
|
|
|
35
35
|
|
|
36
36
|
## Remarks
|
|
37
37
|
|
|
38
|
-
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.18.0).
|
|
38
|
+
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.18.1-rc.0).
|
|
39
39
|
|
|
40
40
|
This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
|
|
41
41
|
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# tenant people profilecardproperty add
|
|
6
|
+
|
|
7
|
+
Adds an additional attribute to the profile card properties
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 tenant people profilecardproperty add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-n, --name <name>`
|
|
19
|
+
: The name of the property to add. Allowed values: `UserPrincipalName`, `Fax`, `StreetAddress`, `PostalCode`, `StateOrProvince`, `Alias`, `customAttribute1`, `customAttribute2`, `customAttribute3`, `customAttribute4`, `customAttribute5`, `customAttribute6`, `customAttribute7`, `customAttribute8`, `customAttribute9`, `customAttribute10`, `customAttribute11`, `customAttribute12`, `customAttribute13`, `customAttribute14`, `customAttribute15`.
|
|
20
|
+
|
|
21
|
+
`-d, --displayName [displayName]`
|
|
22
|
+
: The display name of a property, only use this together with a custom extension attribute.
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
<Global />
|
|
26
|
+
|
|
27
|
+
## Remarks
|
|
28
|
+
|
|
29
|
+
:::info
|
|
30
|
+
|
|
31
|
+
To use this command you must be either **Tenant Administrator** or **Global Administrator**.
|
|
32
|
+
|
|
33
|
+
:::
|
|
34
|
+
|
|
35
|
+
:::info
|
|
36
|
+
|
|
37
|
+
You can specify localized values for the `displayName` as well. These can be entered by suffixing the displayName option with a language code: `--displayName-nl-NL "Kostencentrum"`, `--displayName-de "Kostenstelle"`.
|
|
38
|
+
|
|
39
|
+
:::
|
|
40
|
+
|
|
41
|
+
:::caution
|
|
42
|
+
|
|
43
|
+
When adding an attribute to a profile card, it takes up to 24 hours for the addition to be displayed.
|
|
44
|
+
|
|
45
|
+
:::
|
|
46
|
+
|
|
47
|
+
## Examples
|
|
48
|
+
|
|
49
|
+
Add the UPN as a profile property to the profile cards properties
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
m365 tenant people profilecardproperty add --name UserPrincipalName
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Add a custom extension attribute _Cost Center_ as a profile property to the profile cards properties
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
m365 tenant people profilecardproperty add --name customAttribute1 --displayName 'Cost Center'
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Add a custom extension attribute _Cost Center_ as a profile property to the profile cards properties with a Dutch localization
|
|
62
|
+
|
|
63
|
+
```sh
|
|
64
|
+
m365 tenant people profilecardproperty add --name customAttribute1 --displayName 'Cost Center' --displayName-nl-NL 'Kostencentrum'
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Response
|
|
68
|
+
|
|
69
|
+
### Standard response
|
|
70
|
+
|
|
71
|
+
<Tabs>
|
|
72
|
+
<TabItem value="JSON">
|
|
73
|
+
|
|
74
|
+
```json
|
|
75
|
+
{
|
|
76
|
+
"directoryPropertyName": "UserPrincipalName",
|
|
77
|
+
"annotations": []
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
</TabItem>
|
|
82
|
+
<TabItem value="Text">
|
|
83
|
+
|
|
84
|
+
```text
|
|
85
|
+
annotations : []
|
|
86
|
+
directoryPropertyName: UserPrincipalName
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
</TabItem>
|
|
90
|
+
<TabItem value="CSV">
|
|
91
|
+
|
|
92
|
+
```csv
|
|
93
|
+
directoryPropertyName
|
|
94
|
+
UserPrincipalName
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
</TabItem>
|
|
98
|
+
<TabItem value="Markdown">
|
|
99
|
+
|
|
100
|
+
```md
|
|
101
|
+
# tenant people profilecardproperty add --name 'UserPrincipalName'
|
|
102
|
+
|
|
103
|
+
Date: 11/2/2023
|
|
104
|
+
|
|
105
|
+
Property | Value
|
|
106
|
+
---------|-------
|
|
107
|
+
directoryPropertyName | UserPrincipalName
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
</TabItem>
|
|
111
|
+
</Tabs>
|
|
112
|
+
|
|
113
|
+
### Response with a customAttribute
|
|
114
|
+
|
|
115
|
+
When we make use of one of the customAttributes, the response will differ.
|
|
116
|
+
|
|
117
|
+
<Tabs>
|
|
118
|
+
<TabItem value="JSON">
|
|
119
|
+
|
|
120
|
+
```json
|
|
121
|
+
{
|
|
122
|
+
"directoryPropertyName": "customAttribute1",
|
|
123
|
+
"annotations": [
|
|
124
|
+
{
|
|
125
|
+
"displayName": "Cost center",
|
|
126
|
+
"localizations": [
|
|
127
|
+
{
|
|
128
|
+
"languageTag": "nl-NL",
|
|
129
|
+
"displayName": "Kostenplaats"
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
</TabItem>
|
|
138
|
+
<TabItem value="Text">
|
|
139
|
+
|
|
140
|
+
```text
|
|
141
|
+
directoryPropertyName: customAttribute1
|
|
142
|
+
displayName : Cost center
|
|
143
|
+
displayName nl-NL : Kostenplaats
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
</TabItem>
|
|
147
|
+
<TabItem value="CSV">
|
|
148
|
+
|
|
149
|
+
```csv
|
|
150
|
+
directoryPropertyName,displayName,displayName nl-NL
|
|
151
|
+
customAttribute1,Cost center,Kostenplaats
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
</TabItem>
|
|
155
|
+
<TabItem value="Markdown">
|
|
156
|
+
|
|
157
|
+
```md
|
|
158
|
+
# tenant people profilecardproperty add --name 'customAttribute1' --displayName 'Cost center' --displayName-nl-NL 'Kostenplaats'
|
|
159
|
+
|
|
160
|
+
Date: 11/2/2023
|
|
161
|
+
|
|
162
|
+
Property | Value
|
|
163
|
+
---------|-------
|
|
164
|
+
directoryPropertyName | customAttribute1
|
|
165
|
+
displayName | Cost center
|
|
166
|
+
displayName nl-NL | Kostenplaats
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
</TabItem>
|
|
170
|
+
</Tabs>
|
|
171
|
+
|
|
172
|
+
## More information
|
|
173
|
+
|
|
174
|
+
- https://learn.microsoft.com/graph/add-properties-profilecard
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# tenant people profilecardproperty get
|
|
6
|
+
|
|
7
|
+
Retrieves information about a specific profile card property
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 tenant people profilecardproperty get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-n, --name <name>`
|
|
19
|
+
: The name of the property to retrieve. Allowed values: `UserPrincipalName`, `Fax`, `StreetAddress`, `PostalCode`, `StateOrProvince`, `Alias`, `customAttribute1`, `customAttribute2`, `customAttribute3`, `customAttribute4`, `customAttribute5`, `customAttribute6`, `customAttribute7`, `customAttribute8`, `customAttribute9`, `customAttribute10`, `customAttribute11`, `customAttribute12`, `customAttribute13`, `customAttribute14`, `customAttribute15`.
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
<Global />
|
|
23
|
+
|
|
24
|
+
## Remarks
|
|
25
|
+
|
|
26
|
+
:::info
|
|
27
|
+
|
|
28
|
+
To use this command you must be either **Tenant Administrator** or **Global Administrator**.
|
|
29
|
+
|
|
30
|
+
:::
|
|
31
|
+
|
|
32
|
+
## Examples
|
|
33
|
+
|
|
34
|
+
Retrieve information about a specific profile card property
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
m365 tenant people profilecardproperty get --name customAttribute1
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Response
|
|
41
|
+
|
|
42
|
+
<Tabs>
|
|
43
|
+
<TabItem value="JSON">
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
{
|
|
47
|
+
"directoryPropertyName": "customAttribute1",
|
|
48
|
+
"annotations": [
|
|
49
|
+
{
|
|
50
|
+
"displayName": "Cost center",
|
|
51
|
+
"localizations": [
|
|
52
|
+
{
|
|
53
|
+
"languageTag": "nl-NL",
|
|
54
|
+
"displayName": "Kostencentrum"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
</TabItem>
|
|
63
|
+
<TabItem value="Text">
|
|
64
|
+
|
|
65
|
+
```text
|
|
66
|
+
directoryPropertyName: customAttribute1
|
|
67
|
+
displayName : Cost center
|
|
68
|
+
displayName nl-NL : Kostencentrum
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
</TabItem>
|
|
72
|
+
<TabItem value="CSV">
|
|
73
|
+
|
|
74
|
+
```csv
|
|
75
|
+
directoryPropertyName,displayName,displayName nl-NL
|
|
76
|
+
customAttribute1,Cost center,Kostencentrum
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
</TabItem>
|
|
80
|
+
<TabItem value="Markdown">
|
|
81
|
+
|
|
82
|
+
```md
|
|
83
|
+
# tenant people profilecardproperty get --name "customAttribute1"
|
|
84
|
+
|
|
85
|
+
Date: 3/11/2023
|
|
86
|
+
|
|
87
|
+
## Cost center
|
|
88
|
+
|
|
89
|
+
Property | Value
|
|
90
|
+
---------|-------
|
|
91
|
+
directoryPropertyName | customAttribute1
|
|
92
|
+
displayName | Cost center
|
|
93
|
+
displayName nl-NL | Kostencentrum
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
</TabItem>
|
|
97
|
+
</Tabs>
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# tenant people profilecardproperty list
|
|
6
|
+
|
|
7
|
+
Lists all profile card properties
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 tenant people profilecardproperty list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
<Global />
|
|
18
|
+
|
|
19
|
+
## Remarks
|
|
20
|
+
|
|
21
|
+
:::info
|
|
22
|
+
|
|
23
|
+
To use this command you must be either **Tenant Administrator** or **Global Administrator**.
|
|
24
|
+
|
|
25
|
+
:::
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Lists all profile card properties
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 tenant people profilecardproperty list
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Response
|
|
36
|
+
|
|
37
|
+
<Tabs>
|
|
38
|
+
<TabItem value="JSON">
|
|
39
|
+
|
|
40
|
+
```json
|
|
41
|
+
{
|
|
42
|
+
"value": [
|
|
43
|
+
{
|
|
44
|
+
"directoryPropertyName": "customAttribute1",
|
|
45
|
+
"annotations": [
|
|
46
|
+
{
|
|
47
|
+
"displayName": "Cost center",
|
|
48
|
+
"localizations": [
|
|
49
|
+
{
|
|
50
|
+
"languageTag": "de",
|
|
51
|
+
"displayName": "Kostenstelle"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"directoryPropertyName": "Alias",
|
|
59
|
+
"annotations": []
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
</TabItem>
|
|
66
|
+
<TabItem value="Text">
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
directoryPropertyName displayName displayName de
|
|
70
|
+
--------------------- -------------- --------------
|
|
71
|
+
customAttribute1 Cost center Kostenstelle
|
|
72
|
+
Alias
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
</TabItem>
|
|
76
|
+
<TabItem value="CSV">
|
|
77
|
+
|
|
78
|
+
```csv
|
|
79
|
+
directoryPropertyName,displayName,displayName de
|
|
80
|
+
customAttribute1,Cost center,Kostenstelle
|
|
81
|
+
Alias,,
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
</TabItem>
|
|
85
|
+
<TabItem value="Markdown">
|
|
86
|
+
|
|
87
|
+
```md
|
|
88
|
+
# tenant people profilecardproperty list
|
|
89
|
+
|
|
90
|
+
Date: 11/4/2023
|
|
91
|
+
|
|
92
|
+
## Cost center
|
|
93
|
+
|
|
94
|
+
Property | Value
|
|
95
|
+
---------|-------
|
|
96
|
+
directoryPropertyName | customAttribute1
|
|
97
|
+
displayName | Cost center
|
|
98
|
+
displayName de | Kostenstelle
|
|
99
|
+
|
|
100
|
+
Property | Value
|
|
101
|
+
---------|-------
|
|
102
|
+
directoryPropertyName | Alias
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
</TabItem>
|
|
106
|
+
</Tabs>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# tenant people profilecardproperty remove
|
|
6
|
+
|
|
7
|
+
Removes an additional attribute from the profile card properties
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 tenant people profilecardproperty remove [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-n, --name <name>`
|
|
19
|
+
: The name of the property to remove. Allowed values: `UserPrincipalName`, `Fax`, `StreetAddress`, `PostalCode`, `StateOrProvince`, `Alias`, `customAttribute1`, `customAttribute2`, `customAttribute3`, `customAttribute4`, `customAttribute5`, `customAttribute6`, `customAttribute7`, `customAttribute8`, `customAttribute9`, `customAttribute10`, `customAttribute11`, `customAttribute12`, `customAttribute13`, `customAttribute14`, `customAttribute15`.
|
|
20
|
+
|
|
21
|
+
`-f, --force`
|
|
22
|
+
: Don't prompt for confirmation.
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
<Global />
|
|
26
|
+
|
|
27
|
+
## Remarks
|
|
28
|
+
|
|
29
|
+
:::info
|
|
30
|
+
|
|
31
|
+
To use this command you must be either **Tenant Administrator** or **Global Administrator**.
|
|
32
|
+
|
|
33
|
+
:::
|
|
34
|
+
|
|
35
|
+
:::caution
|
|
36
|
+
|
|
37
|
+
When removing an attribute from a profile card, it takes up to 24 hours for the change to be displayed.
|
|
38
|
+
|
|
39
|
+
:::
|
|
40
|
+
|
|
41
|
+
## Examples
|
|
42
|
+
|
|
43
|
+
Removes the UPN as a profile property from the profile cards
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
m365 tenant people profilecardproperty remove --name UserPrincipalName
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Removes the UPN as a profile property from the profile cards, without showing a confirmation prompt
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
m365 tenant people profilecardproperty remove --name UserPrincipalName --force
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Response
|
|
56
|
+
|
|
57
|
+
The command won't return a response on success.
|
|
58
|
+
|
|
59
|
+
## More information
|
|
60
|
+
|
|
61
|
+
- https://learn.microsoft.com/graph/add-properties-profilecard
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@pnp/cli-microsoft365",
|
|
9
|
-
"version": "7.
|
|
9
|
+
"version": "7.2.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@azure/msal-common": "^13.2.1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0-beta.2970c86",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -173,6 +173,7 @@
|
|
|
173
173
|
"Lengelle, Veronique <25181757+veronicageek@users.noreply.github.com>",
|
|
174
174
|
"Levert, Sebastien <slevert@outlook.com>",
|
|
175
175
|
"Lingstuyl, Martin <mlingstuyl@live.com>",
|
|
176
|
+
"Macháček, Martin <machacek@edhouse.cz>",
|
|
176
177
|
"Maillot, Michaël <battosaimykle@gmail.com>",
|
|
177
178
|
"Mastykarz, Waldek <waldek@mastykarz.nl>",
|
|
178
179
|
"McDonnell, Kevin <kevin@mcd79.com>",
|
|
@@ -300,4 +301,4 @@
|
|
|
300
301
|
"sinon": "^15.2.0",
|
|
301
302
|
"source-map-support": "^0.5.21"
|
|
302
303
|
}
|
|
303
|
-
}
|
|
304
|
+
}
|