@pnp/cli-microsoft365 10.3.0-beta.cd20f0c → 10.3.0-beta.df85113
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 +2 -0
- package/README.md +11 -6
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/config.js +2 -1
- package/dist/m365/commands/login.js +6 -6
- package/dist/m365/entra/commands/app/app-add.js +3 -0
- package/dist/m365/entra/commands/approleassignment/approleassignment-remove.js +1 -1
- package/dist/m365/entra/commands/group/group-list.js +3 -2
- package/dist/m365/entra/commands/pim/pim-role-assignment-remove.js +186 -0
- package/dist/m365/entra/commands/roledefinition/roledefinition-add.js +58 -0
- package/dist/m365/entra/commands/roledefinition/roledefinition-set.js +84 -0
- package/dist/m365/entra/commands/rolepermission/rolepermission-list.js +42 -0
- package/dist/m365/entra/commands.js +4 -0
- package/dist/m365/exo/commands/approleassignment/approleassignment-add.js +235 -0
- package/dist/m365/exo/commands.js +5 -0
- package/dist/m365/outlook/commands/mailbox/mailbox-settings-set.js +163 -0
- package/dist/m365/outlook/commands.js +1 -0
- package/dist/m365/pp/commands/website/website-get.js +60 -0
- package/dist/m365/pp/commands.js +2 -1
- package/dist/m365/spe/commands/container/container-activate.js +50 -0
- package/dist/m365/spe/commands.js +1 -0
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +26 -2
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +26 -2
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +27 -24
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +24 -7
- package/dist/m365/spo/commands/list/list-defaultvalue-clear.js +184 -0
- package/dist/m365/spo/commands/list/list-defaultvalue-list.js +140 -0
- package/dist/m365/spo/commands/list/list-defaultvalue-remove.js +181 -0
- package/dist/m365/spo/commands/list/list-defaultvalue-set.js +210 -0
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +25 -7
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +22 -5
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +22 -5
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +22 -5
- package/dist/m365/spo/commands.js +4 -0
- package/dist/m365/tenant/commands/people/people-pronouns-set.js +46 -0
- package/dist/m365/tenant/commands/report/report-settings-set.js +47 -0
- package/dist/m365/tenant/commands.js +2 -0
- package/dist/utils/customAppScope.js +29 -0
- package/dist/utils/entraServicePrincipal.js +46 -0
- package/dist/utils/powerPlatform.js +38 -0
- package/dist/utils/roleDefinition.js +23 -0
- package/dist/utils/validation.js +4 -0
- package/docs/docs/cmd/entra/app/app-add.mdx +1 -1
- package/docs/docs/cmd/entra/pim/pim-role-assignment-remove.mdx +197 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-add.mdx +131 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-set.mdx +64 -0
- package/docs/docs/cmd/entra/rolepermission/rolepermission-list.mdx +162 -0
- package/docs/docs/cmd/exo/approleassignment/approleassignment-add.mdx +170 -0
- package/docs/docs/cmd/outlook/mailbox/mailbox-settings-set.mdx +166 -0
- package/docs/docs/cmd/pp/website/website-get.mdx +153 -0
- package/docs/docs/cmd/spe/container/container-activate.mdx +34 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +21 -4
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +21 -3
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +15 -3
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +15 -3
- package/docs/docs/cmd/spo/list/list-defaultvalue-clear.mdx +62 -0
- package/docs/docs/cmd/spo/list/list-defaultvalue-list.mdx +110 -0
- package/docs/docs/cmd/spo/list/list-defaultvalue-remove.mdx +62 -0
- package/docs/docs/cmd/spo/list/list-defaultvalue-set.mdx +112 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +15 -3
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +17 -5
- package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +15 -3
- package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +15 -3
- package/docs/docs/cmd/tenant/people/people-pronouns-set.mdx +82 -0
- package/docs/docs/cmd/tenant/report/report-settings-set.mdx +32 -0
- package/npm-shrinkwrap.json +54 -74
- package/package.json +9 -9
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# spo list defaultvalue set
|
|
4
|
+
|
|
5
|
+
Sets default column values for a specific document library
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 spo list defaultvalue set [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-u, --webUrl <webUrl>`
|
|
17
|
+
: URL of the site where the list is located.
|
|
18
|
+
|
|
19
|
+
`-i, --listId [listId]`
|
|
20
|
+
: ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
21
|
+
|
|
22
|
+
`-t, --listTitle [listTitle]`
|
|
23
|
+
: Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
24
|
+
|
|
25
|
+
`--listUrl [listUrl]`
|
|
26
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
27
|
+
|
|
28
|
+
`--fieldName <fieldName>`
|
|
29
|
+
: Internal name of the field.
|
|
30
|
+
|
|
31
|
+
`--fieldValue <fieldValue>`
|
|
32
|
+
: Default value of the field.
|
|
33
|
+
|
|
34
|
+
`--folderUrl [folderUrl]`
|
|
35
|
+
: Set the value for a specific folder by specifying a server- or site-relative URL. By default, the root folder of the list is used.
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
<Global />
|
|
39
|
+
|
|
40
|
+
# Remarks
|
|
41
|
+
|
|
42
|
+
:::note
|
|
43
|
+
|
|
44
|
+
Due to limitations in SharePoint Online, setting default column values for folders with a `#` or `%` character in their path is not supported.
|
|
45
|
+
|
|
46
|
+
:::
|
|
47
|
+
|
|
48
|
+
## Examples
|
|
49
|
+
|
|
50
|
+
Set a default folder value on the root folder of a list for a text field
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --fieldName Company --fieldValue Contoso
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Set a default folder value for a taxonomy field on a specific folder
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --folderUrl "/sites/Marketing/Logos/Contoso" --fieldName Country --fieldValue "-1;#Belgium|442affc2-7fab-4f33-9590-330403a579c2"
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Set a default folder value for a multi-taxonomy field on a specific folder
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/marketing/Logos --folderUrl "/sites/Marketing/Logos/Contoso" --fieldName Countries --fieldValue "-1;#Belgium|442affc2-7fab-4f33-9590-330403a579c2;#-1;#France|14888324-5c48-46db-b748-215cbe24eb4c"
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Set a default folder value for a date field to today
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listId 3540460d-cb6e-4bc5-8380-bc1844401ee3 --fieldName Published --fieldValue "[today]"
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Set a default folder value for a date field
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --fieldName Published --fieldValue "2020-05-03T11:00:00Z"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Set a default folder value for a choice field
|
|
81
|
+
|
|
82
|
+
```sh
|
|
83
|
+
m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/marketing/Logos --fieldName FileType --fieldValue Logo
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Set a default folder value for a multi-choice field
|
|
87
|
+
|
|
88
|
+
```sh
|
|
89
|
+
m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --fieldName FileTypes --fieldValue "Logo;#Brand"
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Set a default folder value for a yes/no field using site-relative list URL
|
|
93
|
+
|
|
94
|
+
```sh
|
|
95
|
+
m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /Logos --fieldName Active --fieldValue 1
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Set a default folder value for a user field
|
|
99
|
+
|
|
100
|
+
```sh
|
|
101
|
+
m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listId 3540460d-cb6e-4bc5-8380-bc1844401ee3 --fieldName Responsible --fieldValue "1;#john.doe@contoso.com"
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Set a default folder value for a multi-user field
|
|
105
|
+
|
|
106
|
+
```sh
|
|
107
|
+
m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listId 3540460d-cb6e-4bc5-8380-bc1844401ee3 --fieldName Responsible --fieldValue "1;#john.doe@contoso.com;#2;#adele.vance@contoso.com"
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Response
|
|
111
|
+
|
|
112
|
+
The command won't return a response on success.
|
|
@@ -29,13 +29,19 @@ m365 spo listitem roleassignment add [options]
|
|
|
29
29
|
: Id of the list item to assign the role to.
|
|
30
30
|
|
|
31
31
|
`--principalId [principalId]`
|
|
32
|
-
: The SharePoint Id of the principal. It may be either a user id or group id to add a role assignment for. Specify either `upn`, `groupName` or `
|
|
32
|
+
: The SharePoint Id of the principal. It may be either a user id or group id to add a role assignment for. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
|
|
33
33
|
|
|
34
34
|
`--upn [upn]`
|
|
35
|
-
: The upn/email of user to assign role to. Specify either `upn`, `groupName` or `
|
|
35
|
+
: The upn/email of user to assign role to. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
|
|
36
36
|
|
|
37
37
|
`--groupName [groupName]`
|
|
38
|
-
: The group name of the SharePoint group Specify either `upn`, `groupName` or `
|
|
38
|
+
: The group name of the SharePoint group. Use this option exclusively for SharePoint Online groups. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
|
|
39
|
+
|
|
40
|
+
`--entraGroupId [entraGroupId]`
|
|
41
|
+
: ID of the Microsoft Entra group to add. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
|
|
42
|
+
|
|
43
|
+
`--entraGroupName [entraGroupName]`
|
|
44
|
+
: Display name of the Microsoft Entra group to add. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
|
|
39
45
|
|
|
40
46
|
`--roleDefinitionId [roleDefinitionId]`
|
|
41
47
|
: ID of role definition. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
|
|
@@ -84,6 +90,12 @@ Add role assignment to specified list item in specified list located in specifie
|
|
|
84
90
|
m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --principalId 11 --roleDefinitionName "Full Control"
|
|
85
91
|
```
|
|
86
92
|
|
|
93
|
+
Add role assignment to specified list item in specified list located in specified site for specified Entra group id and specified role definition name.
|
|
94
|
+
|
|
95
|
+
```sh
|
|
96
|
+
m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --entraGroupId "27ae47f1-48f1-46f3-980b-d3c1470e398d" --roleDefinitionName "Full Control"
|
|
97
|
+
```
|
|
98
|
+
|
|
87
99
|
## Response
|
|
88
100
|
|
|
89
101
|
The command won't return a response on success.
|
|
@@ -29,13 +29,19 @@ m365 spo listitem roleassignment remove [options]
|
|
|
29
29
|
: Id of the list item to remove the role from.
|
|
30
30
|
|
|
31
31
|
`--principalId [principalId]`
|
|
32
|
-
: SharePoint ID of principal it may be either user id or group id we want to remove permissions. Specify either `principalId`, `upn`,
|
|
32
|
+
: SharePoint ID of principal it may be either user id or group id we want to remove permissions. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
|
|
33
33
|
|
|
34
34
|
`--upn [upn]`
|
|
35
|
-
: The upn/email of user. Specify either `principalId`, `upn`,
|
|
35
|
+
: The upn/email of user. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
|
|
36
36
|
|
|
37
37
|
`--groupName [groupName]`
|
|
38
|
-
: The group name of the SharePoint group Specify either `principalId`, `upn`,
|
|
38
|
+
: The group name of the SharePoint group. Use this option exclusively for SharePoint Online groups. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
|
|
39
|
+
|
|
40
|
+
`--entraGroupId [entraGroupId]`
|
|
41
|
+
: ID of the Microsoft Entra group to remove. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
|
|
42
|
+
|
|
43
|
+
`--entraGroupName [entraGroupName]`
|
|
44
|
+
: Display name of the Microsoft Entra group to remove. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
|
|
39
45
|
|
|
40
46
|
`-f, --force`
|
|
41
47
|
: Don't prompt for confirming removing the role assignment.
|
|
@@ -60,14 +66,20 @@ m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com
|
|
|
60
66
|
Remove roleassignment from list item getting list by url based on principal Id
|
|
61
67
|
|
|
62
68
|
```sh
|
|
63
|
-
m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl
|
|
69
|
+
m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl "/sites/contoso-sales/lists/Events" --listItemId 1 --principalId 2
|
|
64
70
|
```
|
|
65
71
|
|
|
66
72
|
|
|
67
73
|
Remove roleassignment from list item getting list by url based on principal Id without prompting for confirmation
|
|
68
74
|
|
|
69
75
|
```sh
|
|
70
|
-
m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl
|
|
76
|
+
m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl "/sites/contoso-sales/lists/Events" --listItemId 1 --principalId 2 --force
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Remove roleassignment from list item getting list by url based on Entra group Id without prompting for confirmation
|
|
80
|
+
|
|
81
|
+
```sh
|
|
82
|
+
m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl "/sites/contoso-sales/lists/Events" --listItemId 1 --entraGroupId "27ae47f1-48f1-46f3-980b-d3c1470e398d" --force
|
|
71
83
|
```
|
|
72
84
|
|
|
73
85
|
## Response
|
|
@@ -17,13 +17,19 @@ m365 spo web roleassignment add [options]
|
|
|
17
17
|
: URL of the site.
|
|
18
18
|
|
|
19
19
|
`--principalId [principalId]`
|
|
20
|
-
: SharePoint ID of principal it may be either user id or group id we want to add permissions to. Specify either `principalId`, `upn`, or `
|
|
20
|
+
: SharePoint ID of principal it may be either user id or group id we want to add permissions to. Specify either `principalId`, `upn`, `groupName`, `entraGroupId` or `entraGroupName` but not multiple.
|
|
21
21
|
|
|
22
22
|
`--upn [upn]`
|
|
23
|
-
: The upn/email of user to assign role to. Specify either `principalId`, `upn`, or `
|
|
23
|
+
: The upn/email of user to assign role to. Specify either `principalId`, `upn`, `groupName`, `entraGroupId` or `entraGroupName` but not multiple.
|
|
24
24
|
|
|
25
25
|
`--groupName [groupName]`
|
|
26
|
-
: The group name of the SharePoint group Specify either `principalId`, `upn`, or `
|
|
26
|
+
: The group name of the SharePoint group. Use this option exclusively for SharePoint Online groups. Specify either `principalId`, `upn`, `groupName`, `entraGroupId` or `entraGroupName` but not multiple.
|
|
27
|
+
|
|
28
|
+
`--entraGroupId [entraGroupId]`
|
|
29
|
+
: ID of the Microsoft Entra group to add. Specify either `principalId`, `upn`, `groupName`, `entraGroupId` or `entraGroupName` but not multiple.
|
|
30
|
+
|
|
31
|
+
`--entraGroupName [entraGroupName]`
|
|
32
|
+
: Display name of the Microsoft Entra group to add. Specify either `principalId`, `upn`, `groupName`, `entraGroupId` or `entraGroupName` but not multiple.
|
|
27
33
|
|
|
28
34
|
`--roleDefinitionId [roleDefinitionId]`
|
|
29
35
|
: ID of role definition. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
|
|
@@ -60,6 +66,12 @@ add role assignment to a site for principal id _11_ and role definition name _Fu
|
|
|
60
66
|
m365 spo web roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --principalId 11 --roleDefinitionName "Full Control"
|
|
61
67
|
```
|
|
62
68
|
|
|
69
|
+
add role assignment using a Entra Group ID and a role definition
|
|
70
|
+
|
|
71
|
+
```sh
|
|
72
|
+
m365 spo web roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --entraGroupId "27ae47f1-48f1-46f3-980b-d3c1470e398d" --roleDefinitionId 1073741829
|
|
73
|
+
```
|
|
74
|
+
|
|
63
75
|
## Response
|
|
64
76
|
|
|
65
77
|
The command won't return a response on success.
|
|
@@ -17,13 +17,19 @@ m365 spo web roleassignment remove [options]
|
|
|
17
17
|
: URL of the site.
|
|
18
18
|
|
|
19
19
|
`--principalId [principalId]`
|
|
20
|
-
: SharePoint ID of principal it may be either user id or group id we want to add permissions to. Specify either `principalId`, `upn`, or `
|
|
20
|
+
: SharePoint ID of principal it may be either user id or group id we want to add permissions to. Specify either `principalId`, `upn`, `groupName`, `entraGroupId` or `entraGroupName` but not multiple.
|
|
21
21
|
|
|
22
22
|
`--upn [upn]`
|
|
23
|
-
: The upn/email of user to assign role to. Specify either `principalId`, `upn`, or `
|
|
23
|
+
: The upn/email of user to assign role to. Specify either `principalId`, `upn`, `groupName`, `entraGroupId` or `entraGroupName` but not multiple.
|
|
24
24
|
|
|
25
25
|
`--groupName [groupName]`
|
|
26
|
-
: The group name of the SharePoint group Specify either `principalId`, `upn`, or `
|
|
26
|
+
: The group name of the SharePoint group. Use this option exclusively for SharePoint Online groups. Specify either `principalId`, `upn`, `groupName`, `entraGroupId` or `entraGroupName` but not multiple.
|
|
27
|
+
|
|
28
|
+
`--entraGroupId [entraGroupId]`
|
|
29
|
+
: ID of the Microsoft Entra group to remove. Specify either `principalId`, `upn`, `groupName`, `entraGroupId` or `entraGroupName` but not multiple.
|
|
30
|
+
|
|
31
|
+
`--entraGroupName [entraGroupName]`
|
|
32
|
+
: Display name of the Microsoft Entra group to remove. Specify either `principalId`, `upn`, `groupName`, `entraGroupId` or `entraGroupName` but not multiple.
|
|
27
33
|
|
|
28
34
|
`-f, --force`
|
|
29
35
|
: Don't prompt for confirming removing the roleassignment.
|
|
@@ -57,6 +63,12 @@ Remove roleassignment from web based on principal Id without prompting for confi
|
|
|
57
63
|
m365 spo web roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --principalId 2 --force
|
|
58
64
|
```
|
|
59
65
|
|
|
66
|
+
Remove roleassignment from web based on Entra Group Id and don't prompt for confirmation
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
m365 spo web roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --entraGroupId "27ae47f1-48f1-46f3-980b-d3c1470e398d" --force
|
|
70
|
+
```
|
|
71
|
+
|
|
60
72
|
## Response
|
|
61
73
|
|
|
62
74
|
The command won't return a response on success.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# tenant people pronouns set
|
|
6
|
+
|
|
7
|
+
Manage pronouns settings for an organization
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 tenant people pronouns set [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-e, --enabled <enabled>`
|
|
19
|
+
: Specifies whether the pronouns are enabled in the organization or not.
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
<Global />
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
Enable pronouns in the organization
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 tenant people pronouns set --enabled true
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Disable pronouns in the organization
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 tenant people pronouns set --enabled false
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Response
|
|
39
|
+
|
|
40
|
+
<Tabs>
|
|
41
|
+
<TabItem value="JSON">
|
|
42
|
+
|
|
43
|
+
```json
|
|
44
|
+
{
|
|
45
|
+
"isEnabledInOrganization": true
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
<TabItem value="Text">
|
|
51
|
+
|
|
52
|
+
```text
|
|
53
|
+
isEnabledInOrganization: true
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
</TabItem>
|
|
57
|
+
<TabItem value="CSV">
|
|
58
|
+
|
|
59
|
+
```csv
|
|
60
|
+
isEnabledInOrganization
|
|
61
|
+
1
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
</TabItem>
|
|
65
|
+
<TabItem value="Markdown">
|
|
66
|
+
|
|
67
|
+
```md
|
|
68
|
+
# tenant people pronouns get
|
|
69
|
+
|
|
70
|
+
Date: 12/14/2024
|
|
71
|
+
|
|
72
|
+
Property | Value
|
|
73
|
+
---------|-------
|
|
74
|
+
isEnabledInOrganization | true
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
</TabItem>
|
|
78
|
+
</Tabs>
|
|
79
|
+
|
|
80
|
+
## More information
|
|
81
|
+
|
|
82
|
+
- https://learn.microsoft.com/graph/api/pronounssettings-update
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# tenant report settings set
|
|
4
|
+
|
|
5
|
+
Update tenant-level settings for Microsoft 365 reports
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 tenant report settings set [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-d, --displayConcealedNames <displayConcealedNames>`
|
|
17
|
+
: Determines whether all reports conceal user information such as usernames, groups, and sites. If false, all reports show identifiable information.
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
<Global />
|
|
21
|
+
|
|
22
|
+
## Examples
|
|
23
|
+
|
|
24
|
+
Configure the tenant to display concealed user information in Microsoft 365 reports
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
m365 tenant report settings set --displayConcealedNames true
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Response
|
|
31
|
+
|
|
32
|
+
The command won't return a response on success
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@azure/msal-common": "^14.16.0",
|
|
13
13
|
"@azure/msal-node": "^2.16.2",
|
|
14
|
-
"@inquirer/confirm": "^5.1.
|
|
15
|
-
"@inquirer/input": "^4.1.
|
|
16
|
-
"@inquirer/select": "^4.0.
|
|
14
|
+
"@inquirer/confirm": "^5.1.1",
|
|
15
|
+
"@inquirer/input": "^4.1.1",
|
|
16
|
+
"@inquirer/select": "^4.0.4",
|
|
17
17
|
"@xmldom/xmldom": "^0.9.6",
|
|
18
18
|
"adaptive-expressions": "^4.23.1",
|
|
19
|
-
"adaptivecards": "^3.0.
|
|
19
|
+
"adaptivecards": "^3.0.5",
|
|
20
20
|
"adaptivecards-templating": "^2.3.1",
|
|
21
21
|
"adm-zip": "^0.5.16",
|
|
22
22
|
"applicationinsights": "^3.4.0",
|
|
23
23
|
"axios": "^1.7.9",
|
|
24
|
-
"chalk": "^5.
|
|
24
|
+
"chalk": "^5.4.1",
|
|
25
25
|
"clipboardy": "^4.0.0",
|
|
26
26
|
"configstore": "^7.0.0",
|
|
27
27
|
"csv-parse": "^5.6.0",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"strip-json-comments": "^5.0.1",
|
|
37
37
|
"typescript": "^5.7.2",
|
|
38
38
|
"update-notifier": "^7.3.1",
|
|
39
|
-
"uuid": "^11.0.
|
|
40
|
-
"yaml": "^2.
|
|
39
|
+
"uuid": "^11.0.4",
|
|
40
|
+
"yaml": "^2.7.0",
|
|
41
41
|
"yargs-parser": "^21.1.1",
|
|
42
42
|
"zod": "^3.24.1"
|
|
43
43
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@types/json-schema": "^7.0.15",
|
|
56
56
|
"@types/json-to-ast": "^2.1.4",
|
|
57
57
|
"@types/mocha": "^10.0.10",
|
|
58
|
-
"@types/node": "^20.17.
|
|
58
|
+
"@types/node": "^20.17.12",
|
|
59
59
|
"@types/node-forge": "^1.3.11",
|
|
60
60
|
"@types/omelette": "^0.4.4",
|
|
61
61
|
"@types/semver": "^7.5.8",
|
|
@@ -640,12 +640,12 @@
|
|
|
640
640
|
"dev": true
|
|
641
641
|
},
|
|
642
642
|
"node_modules/@inquirer/confirm": {
|
|
643
|
-
"version": "5.1.
|
|
644
|
-
"resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.
|
|
645
|
-
"integrity": "sha512-
|
|
643
|
+
"version": "5.1.1",
|
|
644
|
+
"resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.1.tgz",
|
|
645
|
+
"integrity": "sha512-vVLSbGci+IKQvDOtzpPTCOiEJCNidHcAq9JYVoWTW0svb5FiwSLotkM+JXNXejfjnzVYV9n0DTBythl9+XgTxg==",
|
|
646
646
|
"dependencies": {
|
|
647
|
-
"@inquirer/core": "^10.1.
|
|
648
|
-
"@inquirer/type": "^3.0.
|
|
647
|
+
"@inquirer/core": "^10.1.2",
|
|
648
|
+
"@inquirer/type": "^3.0.2"
|
|
649
649
|
},
|
|
650
650
|
"engines": {
|
|
651
651
|
"node": ">=18"
|
|
@@ -655,12 +655,12 @@
|
|
|
655
655
|
}
|
|
656
656
|
},
|
|
657
657
|
"node_modules/@inquirer/core": {
|
|
658
|
-
"version": "10.1.
|
|
659
|
-
"resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.
|
|
660
|
-
"integrity": "sha512-
|
|
658
|
+
"version": "10.1.2",
|
|
659
|
+
"resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.2.tgz",
|
|
660
|
+
"integrity": "sha512-bHd96F3ezHg1mf/J0Rb4CV8ndCN0v28kUlrHqP7+ECm1C/A+paB7Xh2lbMk6x+kweQC+rZOxM/YeKikzxco8bQ==",
|
|
661
661
|
"dependencies": {
|
|
662
|
-
"@inquirer/figures": "^1.0.
|
|
663
|
-
"@inquirer/type": "^3.0.
|
|
662
|
+
"@inquirer/figures": "^1.0.9",
|
|
663
|
+
"@inquirer/type": "^3.0.2",
|
|
664
664
|
"ansi-escapes": "^4.3.2",
|
|
665
665
|
"cli-width": "^4.1.0",
|
|
666
666
|
"mute-stream": "^2.0.0",
|
|
@@ -674,20 +674,20 @@
|
|
|
674
674
|
}
|
|
675
675
|
},
|
|
676
676
|
"node_modules/@inquirer/figures": {
|
|
677
|
-
"version": "1.0.
|
|
678
|
-
"resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.
|
|
679
|
-
"integrity": "sha512-
|
|
677
|
+
"version": "1.0.9",
|
|
678
|
+
"resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.9.tgz",
|
|
679
|
+
"integrity": "sha512-BXvGj0ehzrngHTPTDqUoDT3NXL8U0RxUk2zJm2A66RhCEIWdtU1v6GuUqNAgArW4PQ9CinqIWyHdQgdwOj06zQ==",
|
|
680
680
|
"engines": {
|
|
681
681
|
"node": ">=18"
|
|
682
682
|
}
|
|
683
683
|
},
|
|
684
684
|
"node_modules/@inquirer/input": {
|
|
685
|
-
"version": "4.1.
|
|
686
|
-
"resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.1.
|
|
687
|
-
"integrity": "sha512-
|
|
685
|
+
"version": "4.1.1",
|
|
686
|
+
"resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.1.1.tgz",
|
|
687
|
+
"integrity": "sha512-nAXAHQndZcXB+7CyjIW3XuQZZHbQQ0q8LX6miY6bqAWwDzNa9JUioDBYrFmOUNIsuF08o1WT/m2gbBXvBhYVxg==",
|
|
688
688
|
"dependencies": {
|
|
689
|
-
"@inquirer/core": "^10.1.
|
|
690
|
-
"@inquirer/type": "^3.0.
|
|
689
|
+
"@inquirer/core": "^10.1.2",
|
|
690
|
+
"@inquirer/type": "^3.0.2"
|
|
691
691
|
},
|
|
692
692
|
"engines": {
|
|
693
693
|
"node": ">=18"
|
|
@@ -697,13 +697,13 @@
|
|
|
697
697
|
}
|
|
698
698
|
},
|
|
699
699
|
"node_modules/@inquirer/select": {
|
|
700
|
-
"version": "4.0.
|
|
701
|
-
"resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.0.
|
|
702
|
-
"integrity": "sha512-
|
|
700
|
+
"version": "4.0.4",
|
|
701
|
+
"resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.0.4.tgz",
|
|
702
|
+
"integrity": "sha512-ZzYLuLoUzTIW9EJm++jBpRiTshGqS3Q1o5qOEQqgzaBlmdsjQr6pA4TUNkwu6OBYgM2mIRbCz6mUhFDfl/GF+w==",
|
|
703
703
|
"dependencies": {
|
|
704
|
-
"@inquirer/core": "^10.1.
|
|
705
|
-
"@inquirer/figures": "^1.0.
|
|
706
|
-
"@inquirer/type": "^3.0.
|
|
704
|
+
"@inquirer/core": "^10.1.2",
|
|
705
|
+
"@inquirer/figures": "^1.0.9",
|
|
706
|
+
"@inquirer/type": "^3.0.2",
|
|
707
707
|
"ansi-escapes": "^4.3.2",
|
|
708
708
|
"yoctocolors-cjs": "^2.1.2"
|
|
709
709
|
},
|
|
@@ -715,9 +715,9 @@
|
|
|
715
715
|
}
|
|
716
716
|
},
|
|
717
717
|
"node_modules/@inquirer/type": {
|
|
718
|
-
"version": "3.0.
|
|
719
|
-
"resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.
|
|
720
|
-
"integrity": "sha512
|
|
718
|
+
"version": "3.0.2",
|
|
719
|
+
"resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.2.tgz",
|
|
720
|
+
"integrity": "sha512-ZhQ4TvhwHZF+lGhQ2O/rsjo80XoZR5/5qhOY3t6FJuX5XBg5Be8YzYTvaUGJnc12AUGI2nr4QSUE4PhKSigx7g==",
|
|
721
721
|
"engines": {
|
|
722
722
|
"node": ">=18"
|
|
723
723
|
},
|
|
@@ -2384,9 +2384,9 @@
|
|
|
2384
2384
|
}
|
|
2385
2385
|
},
|
|
2386
2386
|
"node_modules/@types/node": {
|
|
2387
|
-
"version": "20.17.
|
|
2388
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.
|
|
2389
|
-
"integrity": "sha512
|
|
2387
|
+
"version": "20.17.12",
|
|
2388
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.12.tgz",
|
|
2389
|
+
"integrity": "sha512-vo/wmBgMIiEA23A/knMfn/cf37VnuF52nZh5ZoW0GWt4e4sxNquibrMRJ7UQsA06+MBx9r/H1jsI9grYjQCQlw==",
|
|
2390
2390
|
"dependencies": {
|
|
2391
2391
|
"undici-types": "~6.19.2"
|
|
2392
2392
|
}
|
|
@@ -2756,11 +2756,11 @@
|
|
|
2756
2756
|
}
|
|
2757
2757
|
},
|
|
2758
2758
|
"node_modules/adaptivecards": {
|
|
2759
|
-
"version": "3.0.
|
|
2760
|
-
"resolved": "https://registry.npmjs.org/adaptivecards/-/adaptivecards-3.0.
|
|
2761
|
-
"integrity": "sha512-
|
|
2759
|
+
"version": "3.0.5",
|
|
2760
|
+
"resolved": "https://registry.npmjs.org/adaptivecards/-/adaptivecards-3.0.5.tgz",
|
|
2761
|
+
"integrity": "sha512-MCj9tJY/G3X8T4aUHM2MOQliKSqsXEyxmIca1FoKXCiJpgSgLPhSifsmjMoz1nb+2HbSCqvvkZ12fxJwvkdtXA==",
|
|
2762
2762
|
"peerDependencies": {
|
|
2763
|
-
"swiper": "^
|
|
2763
|
+
"swiper": "^11.0.7"
|
|
2764
2764
|
}
|
|
2765
2765
|
},
|
|
2766
2766
|
"node_modules/adaptivecards-templating": {
|
|
@@ -3198,9 +3198,9 @@
|
|
|
3198
3198
|
}
|
|
3199
3199
|
},
|
|
3200
3200
|
"node_modules/chalk": {
|
|
3201
|
-
"version": "5.
|
|
3202
|
-
"resolved": "https://registry.npmjs.org/chalk/-/chalk-5.
|
|
3203
|
-
"integrity": "sha512-
|
|
3201
|
+
"version": "5.4.1",
|
|
3202
|
+
"resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz",
|
|
3203
|
+
"integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==",
|
|
3204
3204
|
"engines": {
|
|
3205
3205
|
"node": "^12.17.0 || ^14.13 || >=16.0.0"
|
|
3206
3206
|
},
|
|
@@ -3607,15 +3607,6 @@
|
|
|
3607
3607
|
"node": ">=6.0.0"
|
|
3608
3608
|
}
|
|
3609
3609
|
},
|
|
3610
|
-
"node_modules/dom7": {
|
|
3611
|
-
"version": "4.0.6",
|
|
3612
|
-
"resolved": "https://registry.npmjs.org/dom7/-/dom7-4.0.6.tgz",
|
|
3613
|
-
"integrity": "sha512-emjdpPLhpNubapLFdjNL9tP06Sr+GZkrIHEXLWvOGsytACUrkbeIdjO5g77m00BrHTznnlcNqgmn7pCN192TBA==",
|
|
3614
|
-
"peer": true,
|
|
3615
|
-
"dependencies": {
|
|
3616
|
-
"ssr-window": "^4.0.0"
|
|
3617
|
-
}
|
|
3618
|
-
},
|
|
3619
3610
|
"node_modules/dot-prop": {
|
|
3620
3611
|
"version": "9.0.0",
|
|
3621
3612
|
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-9.0.0.tgz",
|
|
@@ -6226,12 +6217,6 @@
|
|
|
6226
6217
|
"source-map": "^0.6.0"
|
|
6227
6218
|
}
|
|
6228
6219
|
},
|
|
6229
|
-
"node_modules/ssr-window": {
|
|
6230
|
-
"version": "4.0.2",
|
|
6231
|
-
"resolved": "https://registry.npmjs.org/ssr-window/-/ssr-window-4.0.2.tgz",
|
|
6232
|
-
"integrity": "sha512-ISv/Ch+ig7SOtw7G2+qkwfVASzazUnvlDTwypdLoPoySv+6MqlOV10VwPSE6EWkGjhW50lUmghPmpYZXMu/+AQ==",
|
|
6233
|
-
"peer": true
|
|
6234
|
-
},
|
|
6235
6220
|
"node_modules/stoppable": {
|
|
6236
6221
|
"version": "1.1.0",
|
|
6237
6222
|
"resolved": "https://registry.npmjs.org/stoppable/-/stoppable-1.1.0.tgz",
|
|
@@ -6394,9 +6379,9 @@
|
|
|
6394
6379
|
}
|
|
6395
6380
|
},
|
|
6396
6381
|
"node_modules/swiper": {
|
|
6397
|
-
"version": "
|
|
6398
|
-
"resolved": "https://registry.npmjs.org/swiper/-/swiper-
|
|
6399
|
-
"integrity": "sha512-
|
|
6382
|
+
"version": "11.2.0",
|
|
6383
|
+
"resolved": "https://registry.npmjs.org/swiper/-/swiper-11.2.0.tgz",
|
|
6384
|
+
"integrity": "sha512-rjjAKgDEs+grR2eQshVDCcE4KNPC7CI294nfcbV9gE8WCsLdvOYXDeZKUYevqAZZp8j5hE7kpT3dAGVKFBWlxQ==",
|
|
6400
6385
|
"funding": [
|
|
6401
6386
|
{
|
|
6402
6387
|
"type": "patreon",
|
|
@@ -6407,12 +6392,7 @@
|
|
|
6407
6392
|
"url": "http://opencollective.com/swiper"
|
|
6408
6393
|
}
|
|
6409
6394
|
],
|
|
6410
|
-
"hasInstallScript": true,
|
|
6411
6395
|
"peer": true,
|
|
6412
|
-
"dependencies": {
|
|
6413
|
-
"dom7": "^4.0.4",
|
|
6414
|
-
"ssr-window": "^4.0.2"
|
|
6415
|
-
},
|
|
6416
6396
|
"engines": {
|
|
6417
6397
|
"node": ">= 4.7.0"
|
|
6418
6398
|
}
|
|
@@ -6722,9 +6702,9 @@
|
|
|
6722
6702
|
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
|
|
6723
6703
|
},
|
|
6724
6704
|
"node_modules/uuid": {
|
|
6725
|
-
"version": "11.0.
|
|
6726
|
-
"resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.
|
|
6727
|
-
"integrity": "sha512-
|
|
6705
|
+
"version": "11.0.4",
|
|
6706
|
+
"resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.4.tgz",
|
|
6707
|
+
"integrity": "sha512-IzL6VtTTYcAhA/oghbFJ1Dkmqev+FpQWnCBaKq/gUluLxliWvO8DPFWfIviRmYbtaavtSQe4WBL++rFjdcGWEg==",
|
|
6728
6708
|
"funding": [
|
|
6729
6709
|
"https://github.com/sponsors/broofa",
|
|
6730
6710
|
"https://github.com/sponsors/ctavan"
|
|
@@ -6934,9 +6914,9 @@
|
|
|
6934
6914
|
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="
|
|
6935
6915
|
},
|
|
6936
6916
|
"node_modules/yaml": {
|
|
6937
|
-
"version": "2.
|
|
6938
|
-
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.
|
|
6939
|
-
"integrity": "sha512
|
|
6917
|
+
"version": "2.7.0",
|
|
6918
|
+
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.0.tgz",
|
|
6919
|
+
"integrity": "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==",
|
|
6940
6920
|
"bin": {
|
|
6941
6921
|
"yaml": "bin.mjs"
|
|
6942
6922
|
},
|