@pnp/cli-microsoft365 7.2.0-beta.54705a9 → 7.2.0-beta.a021bb1

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 (34) hide show
  1. package/.eslintrc.cjs +4 -0
  2. package/dist/cli/Cli.js +3 -2
  3. package/dist/m365/aad/commands/administrativeunit/administrativeunit-add.js +61 -0
  4. package/dist/m365/aad/commands/administrativeunit/administrativeunit-get.js +93 -0
  5. package/dist/m365/aad/commands/administrativeunit/administrativeunit-list.js +25 -0
  6. package/dist/m365/aad/commands/administrativeunit/administrativeunit-remove.js +108 -0
  7. package/dist/m365/aad/commands.js +4 -0
  8. package/dist/m365/base/AppCommand.js +3 -12
  9. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.1-rc.0.js +21 -0
  10. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  11. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014010_CODE_settings_filesexclude_jest.js +44 -0
  12. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.1-rc.0.js +57 -0
  13. package/dist/m365/spfx/commands/project/project-upgrade.js +16 -13
  14. package/dist/m365/spfx/commands/spfx-doctor.js +15 -0
  15. package/dist/m365/teams/commands/app/app-update.js +9 -6
  16. package/dist/m365/tenant/commands/people/people-profilecardproperty-add.js +131 -0
  17. package/dist/m365/tenant/commands/people/people-profilecardproperty-get.js +75 -0
  18. package/dist/m365/tenant/commands/people/people-profilecardproperty-list.js +53 -0
  19. package/dist/m365/tenant/commands/people/people-profilecardproperty-remove.js +84 -0
  20. package/dist/m365/tenant/commands/people/people-profilecardproperty-set.js +118 -0
  21. package/dist/m365/tenant/commands/people/profileCardProperties.js +24 -0
  22. package/dist/m365/tenant/commands.js +5 -0
  23. package/dist/utils/aadGroup.js +3 -1
  24. package/docs/docs/cmd/aad/administrativeunit/administrativeunit-add.mdx +119 -0
  25. package/docs/docs/cmd/aad/administrativeunit/administrativeunit-get.mdx +102 -0
  26. package/docs/docs/cmd/aad/administrativeunit/administrativeunit-list.mdx +87 -0
  27. package/docs/docs/cmd/aad/administrativeunit/administrativeunit-remove.mdx +56 -0
  28. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  29. package/docs/docs/cmd/tenant/people/people-profilecardproperty-add.mdx +126 -0
  30. package/docs/docs/cmd/tenant/people/people-profilecardproperty-get.mdx +101 -0
  31. package/docs/docs/cmd/tenant/people/people-profilecardproperty-list.mdx +98 -0
  32. package/docs/docs/cmd/tenant/people/people-profilecardproperty-remove.mdx +61 -0
  33. package/docs/docs/cmd/tenant/people/people-profilecardproperty-set.mdx +120 -0
  34. package/package.json +4 -1
@@ -0,0 +1,120 @@
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 set
6
+
7
+ Updates a custom attribute to the profile card property
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 tenant people profilecardproperty set [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-n, --name <name>`
19
+ : The name of the property to update. Allowed values: `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 the property.
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 updating 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
+ Updates a custom extension attribute to Cost Center
50
+
51
+ ```sh
52
+ m365 tenant people profilecardproperty set --name customAttribute1 --displayName "Cost Center"
53
+ ```
54
+
55
+ Updates a custom extension attribute with translations
56
+
57
+ ```sh
58
+ m365 tenant people profilecardproperty set --name customAttribute1 --displayName "Cost Center" --displayName-nl-NL "Kostencentrum" --displayName-de "Kostenstelle"
59
+ ```
60
+
61
+ ## Response
62
+
63
+ <Tabs>
64
+ <TabItem value="JSON">
65
+
66
+ ```json
67
+ {
68
+ "directoryPropertyName": "customAttribute1",
69
+ "annotations": [
70
+ {
71
+ "displayName": "Cost center",
72
+ "localizations": [
73
+ {
74
+ "languageTag": "nl-NL",
75
+ "displayName": "Kostenplaats"
76
+ }
77
+ ]
78
+ }
79
+ ]
80
+ }
81
+ ```
82
+
83
+ </TabItem>
84
+ <TabItem value="Text">
85
+
86
+ ```text
87
+ directoryPropertyName: customAttribute1
88
+ displayName : Cost center
89
+ displayName nl-NL : Kostenplaats
90
+ ```
91
+
92
+ </TabItem>
93
+ <TabItem value="CSV">
94
+
95
+ ```csv
96
+ directoryPropertyName,displayName,displayName nl-NL
97
+ customAttribute1,Cost center,Kostenplaats
98
+ ```
99
+
100
+ </TabItem>
101
+ <TabItem value="Markdown">
102
+
103
+ ```md
104
+ # tenant people profilecardproperty set --name 'customAttribute1' --displayName 'Cost center' --displayName-nl-NL 'Kostenplaats'
105
+
106
+ Date: 11/2/2023
107
+
108
+ Property | Value
109
+ ---------|-------
110
+ directoryPropertyName | customAttribute1
111
+ displayName | Cost center
112
+ displayName nl-NL | Kostenplaats
113
+ ```
114
+
115
+ </TabItem>
116
+ </Tabs>
117
+
118
+ ## More information
119
+
120
+ - https://learn.microsoft.com/graph/add-properties-profilecard
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "7.2.0-beta.54705a9",
3
+ "version": "7.2.0-beta.a021bb1",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -156,6 +156,7 @@
156
156
  "Hunt, Geoffrey <info@runningdeveloper.com>",
157
157
  "Hvam, Allan <ahp@delegate.dk>",
158
158
  "Jaakke, Robert <robert.jaakke@mavention.nl>",
159
+ "Junker Aaron <aaron.junker@outlook.com>",
159
160
  "Kailasam, Balamurugan <kshsbala@engineer.com>",
160
161
  "Karda, Akash <akashkarda@gmail.com>",
161
162
  "Kasireddy, Prasad <prasad.gietcse@gmail.com>",
@@ -173,6 +174,8 @@
173
174
  "Lengelle, Veronique <25181757+veronicageek@users.noreply.github.com>",
174
175
  "Levert, Sebastien <slevert@outlook.com>",
175
176
  "Lingstuyl, Martin <mlingstuyl@live.com>",
177
+ "Macháček, Martin <machacek@edhouse.cz>",
178
+ "Maestrini Tobias <tobias@bee365.ch>",
176
179
  "Maillot, Michaël <battosaimykle@gmail.com>",
177
180
  "Mastykarz, Waldek <waldek@mastykarz.nl>",
178
181
  "McDonnell, Kevin <kevin@mcd79.com>",