@pnp/cli-microsoft365 10.1.0 → 10.2.0-beta.1819fcc
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/m365/entra/commands/app/app-permission-remove.js +8 -1
- package/dist/m365/entra/commands/roledefinition/roledefinition-get.js +58 -0
- package/dist/m365/entra/commands/roledefinition/roledefinition-list.js +50 -0
- package/dist/m365/entra/commands/roledefinition/roledefinition-remove.js +74 -0
- package/dist/m365/entra/commands.js +3 -0
- package/dist/m365/teams/commands/cache/cache-remove.js +3 -3
- package/dist/m365/tenant/commands/people/people-pronouns-get.js +32 -0
- package/dist/m365/tenant/commands.js +1 -0
- package/dist/utils/roleDefinition.js +30 -3
- package/dist/utils/spo.js +8 -1
- package/docs/docs/cmd/entra/roledefinition/roledefinition-get.mdx +150 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-list.mdx +148 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-remove.mdx +52 -0
- package/docs/docs/cmd/tenant/people/people-pronouns-get.mdx +71 -0
- package/npm-shrinkwrap.json +1512 -1548
- package/package.json +22 -22
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# entra roledefinition remove
|
|
4
|
+
|
|
5
|
+
Removes a custom Microsoft Entra role definition
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra roledefinition remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-i, --id [id]`
|
|
17
|
+
: The id of the role definition. Specify either `id` or `displayName`, but not both.
|
|
18
|
+
|
|
19
|
+
`-n, --displayName [displayName]`
|
|
20
|
+
: The name of the role definition. 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
|
+
When the role definition is removed, all the associated role assignments are deleted.
|
|
33
|
+
|
|
34
|
+
:::
|
|
35
|
+
|
|
36
|
+
## Examples
|
|
37
|
+
|
|
38
|
+
Remove a role definition specified by id without prompting
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 entra roledefinition remove --id 0bed8b86-5026-4a93-ac7d-56750cc099f1 --force
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Remove a role definition specified by name and prompt for confirmation
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 entra roledefinition remove --displayName 'Custom Role'
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Response
|
|
51
|
+
|
|
52
|
+
The command won't return a response on success
|
|
@@ -0,0 +1,71 @@
|
|
|
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 get
|
|
6
|
+
|
|
7
|
+
Retrieves information about pronouns settings for an organization
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 tenant people pronouns get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
<Global />
|
|
18
|
+
|
|
19
|
+
## Examples
|
|
20
|
+
|
|
21
|
+
Retrieve information about pronouns settings
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
m365 tenant people pronouns get
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Response
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="JSON">
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"isEnabledInOrganization": true
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
</TabItem>
|
|
39
|
+
<TabItem value="Text">
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
isEnabledInOrganization: true
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="CSV">
|
|
47
|
+
|
|
48
|
+
```csv
|
|
49
|
+
isEnabledInOrganization
|
|
50
|
+
1
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
</TabItem>
|
|
54
|
+
<TabItem value="Markdown">
|
|
55
|
+
|
|
56
|
+
```md
|
|
57
|
+
# tenant people pronouns get
|
|
58
|
+
|
|
59
|
+
Date: 12/5/2024
|
|
60
|
+
|
|
61
|
+
Property | Value
|
|
62
|
+
---------|-------
|
|
63
|
+
isEnabledInOrganization | true
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
</TabItem>
|
|
67
|
+
</Tabs>
|
|
68
|
+
|
|
69
|
+
## More information
|
|
70
|
+
|
|
71
|
+
- https://learn.microsoft.com/graph/api/peopleadminsettings-list-pronouns
|