@pnp/cli-microsoft365 10.3.0-beta.d1b978f → 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 +1 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/config.js +2 -1
- package/dist/m365/entra/commands/app/app-add.js +3 -0
- 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/folder/folder-roleassignment-add.js +0 -13
- package/dist/m365/spo/commands/list/list-defaultvalue-clear.js +184 -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.js +3 -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/list/list-defaultvalue-clear.mdx +62 -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/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,170 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# exo approleassignment add
|
|
6
|
+
|
|
7
|
+
Grants permissions to an application that's accessing data in Exchange Online and specify which mailboxes an app can access.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 exo approleassignment add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--roleDefinitionId [roleDefinitionId]`
|
|
19
|
+
: Id of a role to be assigned. Specify either `roleDefinitionId` or `roleDefinitionName`, but not both.
|
|
20
|
+
|
|
21
|
+
`--roleDefinitionName [roleDefinitionName]`
|
|
22
|
+
: Name of a role to be assigned. Specify either `roleDefinitionId` or `roleDefinitionName`, but not both.
|
|
23
|
+
|
|
24
|
+
`--principalId [principalId]`
|
|
25
|
+
: Id of a service principal to which the assignment is granted. Specify either `principalId` or `principalName`, but not both.
|
|
26
|
+
|
|
27
|
+
`--principalName [principalName]`
|
|
28
|
+
: Name of a service principal to which the assignment is granted. Specify either `principalId` or `principalName`, but not both.
|
|
29
|
+
|
|
30
|
+
`-s, --scope <scope>`
|
|
31
|
+
: Scope of the roleassignment. Allowed values are: `tenant`, `administrativeUnit`, `group`, `user`, `custom`.
|
|
32
|
+
|
|
33
|
+
`--userId [userId]`
|
|
34
|
+
: Id of a user to which the assignment is scoped. Specify either `userId` or `userName` when scope is set to `user`.
|
|
35
|
+
|
|
36
|
+
`--userName [userName]`
|
|
37
|
+
: UPN of a user to which the assignment is scoped. Specify either `userId` or `userName` when scope is set to `user`.
|
|
38
|
+
|
|
39
|
+
`--groupId [groupId]`
|
|
40
|
+
: Id of a group to which the assignment is scoped. Specify either `groupId` or `groupName` when scope is set to `group`.
|
|
41
|
+
|
|
42
|
+
`--groupName [groupName]`
|
|
43
|
+
: Name of a group to which the assignment is scoped. Specify either `groupId` or `groupName` when scope is set to `group`.
|
|
44
|
+
|
|
45
|
+
`--administrativeUnitId [administrativeUnitId]`
|
|
46
|
+
: Id of an administrative unit to which the assignment is scoped. Specify either `administrativeUnitId` or `administrativeUnitName` when scope is set to `administrativeUnit`.
|
|
47
|
+
|
|
48
|
+
`--administrativeUnitName [administrativeUnitName]`
|
|
49
|
+
: Name of an administrative unit to which the assignment is scoped. Specify either `administrativeUnitId` or `administrativeUnitName` when scope is set to `administrativeUnit`.
|
|
50
|
+
|
|
51
|
+
`--customAppScopeId [customAppScopeId]`
|
|
52
|
+
: Id of a custom application scope to which the assignment is scoped. Specify either `customAppScopeId` or `customAppScopeName` when scope is set to `custom`.
|
|
53
|
+
|
|
54
|
+
`--customAppScopeName [customAppScopeName]`
|
|
55
|
+
: Name of a custom application scope to which the assignment is scoped. Specify either `customAppScopeId` or `customAppScopeName` when scope is set to `custom`.
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
<Global />
|
|
59
|
+
|
|
60
|
+
## Remarks
|
|
61
|
+
|
|
62
|
+
:::info
|
|
63
|
+
|
|
64
|
+
To use this command you must be at least **Privileged Role Administrator**.
|
|
65
|
+
|
|
66
|
+
:::
|
|
67
|
+
|
|
68
|
+
## Examples
|
|
69
|
+
|
|
70
|
+
Assign a role specified by id to a service principal specified by id and scope the assignment to the whole tenant
|
|
71
|
+
|
|
72
|
+
```sh
|
|
73
|
+
m365 exo approleassignment add --roleDefinitionId 777b752-f9b7-4205-a2b1-5db0d6a0ccfc --principalId 7a2ca997-9461-402e-9882-58088a370889 --scope tenant
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Assign a role specified by id to a service principal specified by id and scope the assignment to a user specified by id
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
m365 exo approleassignment add --roleDefinitionId 777b752-f9b7-4205-a2b1-5db0d6a0ccfc --principalId 7a2ca997-9461-402e-9882-58088a370889 --scope user --userId a4738dd8-fc0f-4646-87fb-47539f5c651b
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Assign a role specified by name to a service principal specified by name and scope the assignment to a group specified by name
|
|
83
|
+
|
|
84
|
+
```sh
|
|
85
|
+
m365 exo approleassignment add --roleDefinitionName 'Application Contacts.ReadWrite' --principalName 'ContactsSyncApp' --scope group --groupName 'Marketing'
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Assign a role specified by name to a service principal specified by id and scope the assignment to an administrative unit specified by name
|
|
89
|
+
|
|
90
|
+
```sh
|
|
91
|
+
m365 exo approleassignment add --roleDefinitionName 'Application Calendars.Read' --principalId fa631c4d-ac9f-4884-a7f5-13c659d177e3 --scope administrativeUnit --administrativeUnitName 'Equipment - EMEA'
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Response
|
|
95
|
+
|
|
96
|
+
<Tabs>
|
|
97
|
+
<TabItem value="JSON">
|
|
98
|
+
|
|
99
|
+
```json
|
|
100
|
+
{
|
|
101
|
+
"id": "6615d221-3834-4f8f-bbc9-7d0d23620a8e",
|
|
102
|
+
"principalId": "/ServicePrincipals/e483a0d9-8440-455e-8f9a-b9cac6b8b0ef",
|
|
103
|
+
"roleDefinitionId": "1f704712-7d46-481f-b2cd-dbcc978c4f2a",
|
|
104
|
+
"directoryScopeId": "/",
|
|
105
|
+
"appScopeId": null
|
|
106
|
+
}
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
</TabItem>
|
|
110
|
+
<TabItem value="Text">
|
|
111
|
+
|
|
112
|
+
```text
|
|
113
|
+
appScopeId : null
|
|
114
|
+
directoryScopeId: /
|
|
115
|
+
id : 6615d221-3834-4f8f-bbc9-7d0d23620a8e
|
|
116
|
+
principalId : /ServicePrincipals/e483a0d9-8440-455e-8f9a-b9cac6b8b0ef
|
|
117
|
+
roleDefinitionId: 1f704712-7d46-481f-b2cd-dbcc978c4f2a
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
</TabItem>
|
|
121
|
+
<TabItem value="CSV">
|
|
122
|
+
|
|
123
|
+
```csv
|
|
124
|
+
id,principalId,roleDefinitionId,directoryScopeId,appScopeId
|
|
125
|
+
6615d221-3834-4f8f-bbc9-7d0d23620a8e,/ServicePrincipals/e483a0d9-8440-455e-8f9a-b9cac6b8b0ef,1f704712-7d46-481f-b2cd-dbcc978c4f2a,/,
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
</TabItem>
|
|
129
|
+
<TabItem value="Markdown">
|
|
130
|
+
|
|
131
|
+
```md
|
|
132
|
+
# exo approleassignment add --debug "false" --verbose "false" --roleDefinitionId "1f704712-7d46-481f-b2cd-dbcc978c4f2a" --principalId "e483a0d9-8440-455e-8f9a-b9cac6b8b0ef" --scope tenant
|
|
133
|
+
|
|
134
|
+
Date: 10/3/2024
|
|
135
|
+
|
|
136
|
+
## 6615d221-3834-4f8f-bbc9-7d0d23620a8e
|
|
137
|
+
|
|
138
|
+
Property | Value
|
|
139
|
+
---------|-------
|
|
140
|
+
id | 6615d221-3834-4f8f-bbc9-7d0d23620a8e
|
|
141
|
+
principalId | /ServicePrincipals/e483a0d9-8440-455e-8f9a-b9cac6b8b0ef
|
|
142
|
+
roleDefinitionId | 1f704712-7d46-481f-b2cd-dbcc978c4f2a
|
|
143
|
+
directoryScopeId | /
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
</TabItem>
|
|
147
|
+
</Tabs>
|
|
148
|
+
|
|
149
|
+
## More information
|
|
150
|
+
|
|
151
|
+
- Role assignment: https://learn.microsoft.com/graph/api/rbacapplication-post-roleassignments?view=graph-rest-beta
|
|
152
|
+
|
|
153
|
+
The table below lists the available roles and their corresponding ids that are accepted by the `roleDefinitionId` and `roleDefinitionName` parameters.
|
|
154
|
+
|
|
155
|
+
|Role Definition Id | Role Definition Name |
|
|
156
|
+
| --- | --- |
|
|
157
|
+
|1f704712-7d46-481f-b2cd-dbcc978c4f2a|Application Mail.Read|
|
|
158
|
+
|3eca55c8-0e73-4c12-81bf-526549f2e5a3|Application Mail.ReadBasic|
|
|
159
|
+
|82fd214e-61ca-4dc7-98f6-090700bdb205|Application Mail.ReadWrite|
|
|
160
|
+
|8679f4ff-c91d-40d0-809c-c86d114821a5|Application Mail.Send|
|
|
161
|
+
|c40299e0-2107-455f-85dd-6e8862c3a0cc|Application MailboxSettings.Read|
|
|
162
|
+
|459cb245-07c5-44f1-8133-3da40b4b6197|Application MailboxSettings.ReadWrite|
|
|
163
|
+
|a3123d4e-4256-4ad0-bef0-205a00807fae|Application Calendars.Read|
|
|
164
|
+
|b92761c0-5311-4908-92ca-2c1f8c71aa1c|Application Calendars.ReadWrite|
|
|
165
|
+
|9b87c446-d3c1-4146-9d39-45ae63b4eeb7|Application Contacts.Read|
|
|
166
|
+
|265cabb3-13d9-4e05-b2cd-460cfa7ad3cc|Application Contacts.ReadWrite|
|
|
167
|
+
|b49ae303-7a8f-4ba1-aa37-27b40461aabb|Application Mail Full Access|
|
|
168
|
+
|48d6a78c-0681-4d73-acec-9f9ffad56ddb|Application Exchange Full Access|
|
|
169
|
+
|
|
170
|
+
More info about supported application roles: https://learn.microsoft.com/exchange/permissions-exo/application-rbac#supported-application-roles
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# outlook mailbox settings set
|
|
6
|
+
|
|
7
|
+
Updates user mailbox settings
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 outlook mailbox settings set [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --userId [userId]`
|
|
19
|
+
: The ID of the Microsoft Entra user to update mailbox settings for. Either `userId` or `userName` is required when using application permissions.
|
|
20
|
+
|
|
21
|
+
`-n, --userName [userName]`
|
|
22
|
+
: The UPN of the Microsoft Entra user to update mailbox settings for. Either `userId` or `userName` is required when using application permissions.
|
|
23
|
+
|
|
24
|
+
`--dateFormat [dateFormat]`
|
|
25
|
+
: The date format for the user's mailbox. Example: `dd.MM.yyyy`.
|
|
26
|
+
|
|
27
|
+
`--timeFormat [timeFormat]`
|
|
28
|
+
: The time format for the user's mailbox. Example: `H:mm`.
|
|
29
|
+
|
|
30
|
+
`--timeZone [timeZone]`
|
|
31
|
+
: The default time zone for the user's mailbox. Should follow [Windows time zone name](https://learn.microsoft.com/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11#time-zones) or [IANA time zone identifier](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). Example: `Central Europe Standard Time`.
|
|
32
|
+
|
|
33
|
+
`--language [language]`
|
|
34
|
+
: The preferred language for the user. Should follow [ISO 639-1 Code](https://learn.microsoft.com/openspecs/office_standards/ms-oe376/6c085406-a698-4e12-9d4d-c3b0ee3dbc4a). Example: `en-US`.
|
|
35
|
+
|
|
36
|
+
`--delegateMeetingMessageDeliveryOptions [delegateMeetingMessageDeliveryOptions]`
|
|
37
|
+
: Specifies who can receive meeting messages and meeting responses. Allowed values are `sendToDelegateOnly`, `sendToDelegateAndPrincipal`, or `sendToDelegateAndInformationToPrincipal`.
|
|
38
|
+
|
|
39
|
+
`--workingDays [workingDays]`
|
|
40
|
+
: The days of the week on which the user works, separated by a comma. Allowed values are `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, or `sunday`.
|
|
41
|
+
|
|
42
|
+
`--workingHoursStartTime [workingHoursStartTime]`
|
|
43
|
+
: The time of the day that the user starts working. Example: `09:00`.
|
|
44
|
+
|
|
45
|
+
`--workingHoursEndTime [workingHoursEndTime]`
|
|
46
|
+
: The time of the day that the user stops working. Example: `17:00`.
|
|
47
|
+
|
|
48
|
+
`--workingHoursTimeZone [workingHoursTimeZone]`
|
|
49
|
+
: The name of a time zone to which the working hours apply. Should follow [Windows time zone name](https://learn.microsoft.com/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11#time-zones) or [IANA time zone identifier](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). Example: `Central Europe Standard Time`.
|
|
50
|
+
|
|
51
|
+
`--autoReplyExternalAudience [autoReplyExternalAudience]`
|
|
52
|
+
: Specifies external audience who will receive reply message. Allowed values are `none`, `contactsOnly`, or `all`.
|
|
53
|
+
|
|
54
|
+
`--autoReplyExternalMessage [autoReplyExternalMessage]`
|
|
55
|
+
: The reply message for the external audience.
|
|
56
|
+
|
|
57
|
+
`--autoReplyInternalMessage [autoReplyInternalMessage]`
|
|
58
|
+
: The reply message for the audience from the signed-in user's organization.
|
|
59
|
+
|
|
60
|
+
`--autoReplyStartDateTime [autoReplyStartDateTime]`
|
|
61
|
+
: The date and time that automatic replies are set to begin. Example: `2025-01-06T11:00:00.0000000`.
|
|
62
|
+
|
|
63
|
+
`--autoReplyStartTimeZone [autoReplyStartTimeZone]`
|
|
64
|
+
: The time zone that automatic replies are set to begin.
|
|
65
|
+
|
|
66
|
+
`--autoReplyEndDateTime [autoReplyEndDateTime]`
|
|
67
|
+
: The date and time that automatic replies are set to end. Example: `2025-01-07T11:00:00.0000000`.
|
|
68
|
+
|
|
69
|
+
`--autoReplyEndTimeZone [autoReplyEndTimeZone]`
|
|
70
|
+
: The time zone that automatic replies are set to end.
|
|
71
|
+
|
|
72
|
+
`--autoReplyStatus [autoReplyStatus]`
|
|
73
|
+
: The status for automatic replies. Allowed values are `disabled`, `alwaysEnabled`, or `scheduled`.
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
<Global />
|
|
77
|
+
|
|
78
|
+
## Examples
|
|
79
|
+
|
|
80
|
+
Update date, time format and time zone of the signed-in user.
|
|
81
|
+
|
|
82
|
+
```sh
|
|
83
|
+
m365 outlook mailbox settings set --dateFormat 'dd.MM.yyyy' --timeFormat 'H:mm' --timeZone 'Central Europe Standard Time' --language 'en-US'
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Update working hours of a user specified by id
|
|
87
|
+
|
|
88
|
+
```sh
|
|
89
|
+
m365 outlook mailbox settings set --userId 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --workingDays 'monday,tuesday,thursday,friday' --workingHoursStartTime '08:00' --workingHoursEndTime '16:30' --workingHoursTimeZone 'Central Europe Standard Time'
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Set scheduled automatic replies for the internal audience of a user specified by UPN
|
|
93
|
+
|
|
94
|
+
```sh
|
|
95
|
+
m365 outlook mailbox settings set --userName john.doe@contoso.com --autoReplyExternalAudience none --autoReplyInternalMessage 'On vacation' --autoReplyStartDateTime '2024-08-05T08:00:00.0000000' --autoReplyStartTimeZone 'Central Europe Standard Time' --autoReplyEndDateTime '2024-08-09T16:00:00.0000000' --autoReplyEndTimeZone 'Central Europe Standard Time' --autoReplyStatus scheduled
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Response
|
|
99
|
+
|
|
100
|
+
The command returns the updated properties of the user mailbox settings.
|
|
101
|
+
|
|
102
|
+
<Tabs>
|
|
103
|
+
<TabItem value="JSON">
|
|
104
|
+
|
|
105
|
+
```json
|
|
106
|
+
{
|
|
107
|
+
"timeZone": "Central Europe Standard Time",
|
|
108
|
+
"timeFormat": "H:mm",
|
|
109
|
+
"dateFormat": "dd.MM.yyyy",
|
|
110
|
+
"language": {
|
|
111
|
+
"locale": "en-US",
|
|
112
|
+
"displayName": "English (United States)"
|
|
113
|
+
},
|
|
114
|
+
"workingHours": {
|
|
115
|
+
"daysOfWeek": [
|
|
116
|
+
"monday",
|
|
117
|
+
"tuesday",
|
|
118
|
+
"wednesday",
|
|
119
|
+
"thursday",
|
|
120
|
+
"friday"
|
|
121
|
+
],
|
|
122
|
+
"startTime": "08:00:00.0000000",
|
|
123
|
+
"endTime": "16:30:00.0000000",
|
|
124
|
+
"timeZone": {
|
|
125
|
+
"name": "Central Europe Standard Time"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
</TabItem>
|
|
132
|
+
<TabItem value="Text">
|
|
133
|
+
|
|
134
|
+
```text
|
|
135
|
+
dateFormat : dd.MM.yyyy
|
|
136
|
+
language : {"locale":"en-US","displayName":"English (United States)"}
|
|
137
|
+
timeFormat : H:mm
|
|
138
|
+
timeZone : Central Europe Standard Time
|
|
139
|
+
workingHours: {"daysOfWeek":["monday","tuesday","wednesday","thursday","friday"],"startTime":"08:00:00.0000000","endTime":"16:30:00.0000000","timeZone":{"name":"Central Europe Standard Time"}}
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
</TabItem>
|
|
143
|
+
<TabItem value="CSV">
|
|
144
|
+
|
|
145
|
+
```csv
|
|
146
|
+
dateFormat,timeZone,timeFormat
|
|
147
|
+
dd.MM.yyy,Central Europe Standard Time,H:mm
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
</TabItem>
|
|
151
|
+
<TabItem value="Markdown">
|
|
152
|
+
|
|
153
|
+
```md
|
|
154
|
+
# outlook mailbox settings set --dateFormat "dd.MM.yyyy" --timeFormat "H:mm" --timeZone "Central Europe Standard Time" --language "en-US" --workingDays "monday,tuesday,wednesday,thursday,friday" --workingHoursStartTime "08:00:00.0000000" --workingHoursEndTime "16:30:00.0000000" --workingHoursTimeZone "Central Europe Standard Time"
|
|
155
|
+
|
|
156
|
+
Date: 1/6/2025
|
|
157
|
+
|
|
158
|
+
Property | Value
|
|
159
|
+
---------|-------
|
|
160
|
+
dateFormat | dd.MM.yyyy
|
|
161
|
+
timeZone | Central Europe Standard Time
|
|
162
|
+
timeFormat | H:mm
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
</TabItem>
|
|
166
|
+
</Tabs>
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# pp website get
|
|
6
|
+
|
|
7
|
+
Gets information about the specified Power Pages website.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 pp website get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --url [url]`
|
|
19
|
+
: The URL of the website to retrieve. Specify either `url`, `name` or `id`.
|
|
20
|
+
|
|
21
|
+
`-n, --name [name]`
|
|
22
|
+
: The name of the website to retrieve. Specify either `url`, `name` or `id`.
|
|
23
|
+
|
|
24
|
+
`-i, --id [id]`
|
|
25
|
+
: The WebSite Id (GUID) of the website to retrieve. Specify either `url`, `name` or `id`.
|
|
26
|
+
|
|
27
|
+
`-e, --environmentName <environmentName>`
|
|
28
|
+
: The name of the environment from which to retrieve the Power Pages website.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
<Global />
|
|
32
|
+
|
|
33
|
+
## Examples
|
|
34
|
+
|
|
35
|
+
Retrieve Demo Power Pages website by name in the given environment using `name`.
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 pp website get --name Demo --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Retrieve Demo Power Pages website by name in the given environment using `id`.
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 pp website get --id 4916bb2c-91e1-4716-91d5-b6171928fac9 --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Retrieve Demo Power Pages website by name in the given environment using `url`.
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 pp website get --url https://site-0uaq9.powerappsportals.com --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
<Tabs>
|
|
56
|
+
<TabItem value="JSON">
|
|
57
|
+
|
|
58
|
+
```json
|
|
59
|
+
{
|
|
60
|
+
"@odata.metadata": "https://api.powerplatform.com/powerpages/environments/Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0/websites/$metadata#Websites",
|
|
61
|
+
"id": "4916bb2c-91e1-4716-91d5-b6171928fac9",
|
|
62
|
+
"name": "Site 1",
|
|
63
|
+
"createdOn": "2024-10-27T12:00:03",
|
|
64
|
+
"templateName": "DefaultPortalTemplate",
|
|
65
|
+
"websiteUrl": "https://site-0uaq9.powerappsportals.com",
|
|
66
|
+
"tenantId": "727dc1e9-3cd1-4d1f-8102-ab5c936e52f0",
|
|
67
|
+
"dataverseInstanceUrl": "https://org0cd4b2b9.crm4.dynamics.com/",
|
|
68
|
+
"environmentName": "Contoso (default)",
|
|
69
|
+
"environmentId": "Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0",
|
|
70
|
+
"dataverseOrganizationId": "2d58aeac-74d4-4939-98d1-e05a70a655ba",
|
|
71
|
+
"selectedBaseLanguage": 1033,
|
|
72
|
+
"customHostNames": [],
|
|
73
|
+
"websiteRecordId": "5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce",
|
|
74
|
+
"subdomain": "site-0uaq9",
|
|
75
|
+
"packageInstallStatus": "Installed",
|
|
76
|
+
"type": "Trial",
|
|
77
|
+
"trialExpiringInDays": 86,
|
|
78
|
+
"suspendedWebsiteDeletingInDays": 93,
|
|
79
|
+
"packageVersion": "9.6.9.39",
|
|
80
|
+
"isEarlyUpgradeEnabled": false,
|
|
81
|
+
"isCustomErrorEnabled": true,
|
|
82
|
+
"applicationUserAadAppId": "3f57aca7-5051-41b2-989d-26da8af7a53e",
|
|
83
|
+
"ownerId": "33469a62-c3af-4cfe-b893-854eceab96da",
|
|
84
|
+
"status": "OperationComplete",
|
|
85
|
+
"siteVisibility": "private",
|
|
86
|
+
"dataModel": "Enhanced"
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
</TabItem>
|
|
91
|
+
<TabItem value="Text">
|
|
92
|
+
|
|
93
|
+
```text
|
|
94
|
+
id : 4916bb2c-91e1-4716-91d5-b6171928fac9
|
|
95
|
+
name : Site 1
|
|
96
|
+
siteVisibility: private
|
|
97
|
+
status : OperationComplete
|
|
98
|
+
subdomain : site-0uaq9
|
|
99
|
+
tenantId : 727dc1e9-3cd1-4d1f-8102-ab5c936e52f0
|
|
100
|
+
type : Trial
|
|
101
|
+
websiteUrl : https://site-0uaq9.powerappsportals.com
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
</TabItem>
|
|
105
|
+
<TabItem value="CSV">
|
|
106
|
+
|
|
107
|
+
```csv
|
|
108
|
+
@odata.metadata,id,name,createdOn,templateName,websiteUrl,tenantId,dataverseInstanceUrl,environmentName,environmentId,dataverseOrganizationId,selectedBaseLanguage,websiteRecordId,subdomain,packageInstallStatus,type,trialExpiringInDays,suspendedWebsiteDeletingInDays,packageVersion,isEarlyUpgradeEnabled,isCustomErrorEnabled,applicationUserAadAppId,ownerId,status,siteVisibility,dataModel
|
|
109
|
+
https://api.powerplatform.com/powerpages/environments/Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0/websites/$metadata#Websites,4916bb2c-91e1-4716-91d5-b6171928fac9,Site 1,2024-10-27T12:00:03,DefaultPortalTemplate,https://site-0uaq9.powerappsportals.com,727dc1e9-3cd1-4d1f-8102-ab5c936e52f0,https://org0cd4b2b9.crm4.dynamics.com/,Contoso (default),Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0,2d58aeac-74d4-4939-98d1-e05a70a655ba,1033,5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce,site-0uaq9,Installed,Trial,86,93,9.6.9.39,0,1,3f57aca7-5051-41b2-989d-26da8af7a53e,33469a62-c3af-4cfe-b893-854eceab96da,OperationComplete,private,Enhanced
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
</TabItem>
|
|
113
|
+
<TabItem value="Markdown">
|
|
114
|
+
|
|
115
|
+
```md
|
|
116
|
+
# pp website get --debug "false" --verbose "false" --name "Site 1" --environmentName "Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0"
|
|
117
|
+
|
|
118
|
+
Date: 27/10/2024
|
|
119
|
+
|
|
120
|
+
## Site 1 (4916bb2c-91e1-4716-91d5-b6171928fac9)
|
|
121
|
+
|
|
122
|
+
Property | Value
|
|
123
|
+
---------|-------
|
|
124
|
+
@odata.metadata | https://api.powerplatform.com/powerpages/environments/Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0/websites/$metadata#Websites
|
|
125
|
+
id | 4916bb2c-91e1-4716-91d5-b6171928fac9
|
|
126
|
+
name | Site 1
|
|
127
|
+
createdOn | 2024-10-27T12:00:03
|
|
128
|
+
templateName | DefaultPortalTemplate
|
|
129
|
+
websiteUrl | https://site-0uaq9.powerappsportals.com
|
|
130
|
+
tenantId | 727dc1e9-3cd1-4d1f-8102-ab5c936e52f0
|
|
131
|
+
dataverseInstanceUrl | https://org0cd4b2b9.crm4.dynamics.com/
|
|
132
|
+
environmentName | Contoso (default)
|
|
133
|
+
environmentId | Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0
|
|
134
|
+
dataverseOrganizationId | 2d58aeac-74d4-4939-98d1-e05a70a655ba
|
|
135
|
+
selectedBaseLanguage | 1033
|
|
136
|
+
websiteRecordId | 5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce
|
|
137
|
+
subdomain | site-0uaq9
|
|
138
|
+
packageInstallStatus | Installed
|
|
139
|
+
type | Trial
|
|
140
|
+
trialExpiringInDays | 86
|
|
141
|
+
suspendedWebsiteDeletingInDays | 93
|
|
142
|
+
packageVersion | 9.6.9.39
|
|
143
|
+
isEarlyUpgradeEnabled | false
|
|
144
|
+
isCustomErrorEnabled | true
|
|
145
|
+
applicationUserAadAppId | 3f57aca7-5051-41b2-989d-26da8af7a53e
|
|
146
|
+
ownerId | 33469a62-c3af-4cfe-b893-854eceab96da
|
|
147
|
+
status | OperationComplete
|
|
148
|
+
siteVisibility | private
|
|
149
|
+
dataModel | Enhanced
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
</TabItem>
|
|
153
|
+
</Tabs>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spe container activate
|
|
6
|
+
|
|
7
|
+
Activates a container
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spe container activate [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --id <id>`
|
|
19
|
+
: The Id of the container instance.
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
<Global />
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
Activates a container.
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 spe container activate --id "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Response
|
|
33
|
+
|
|
34
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# spo list defaultvalue clear
|
|
4
|
+
|
|
5
|
+
Clears default column values for a specific document library
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 spo list defaultvalue clear [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 to clear over the entire list. Specify either `fieldName` or `folderUrl`, but not both.
|
|
30
|
+
|
|
31
|
+
`--folderUrl [folderUrl]`
|
|
32
|
+
: Clear all fields of a specific folder by specifying a server- or site-relative URL. Specify either `fieldName` or `folderUrl`, but not both.
|
|
33
|
+
|
|
34
|
+
`-f, --force`
|
|
35
|
+
: Don't prompt for confirmation.
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
<Global />
|
|
39
|
+
|
|
40
|
+
## Examples
|
|
41
|
+
|
|
42
|
+
Remove all default column values from a library
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
m365 spo list defaultvalue clear --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Clear a field from all folders of a library
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 spo list defaultvalue clear --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --field Company
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Clear all fields from a specific folder in a library
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 spo list defaultvalue clear --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --folderUrl "/sites/Marketing/Logos/Contoso"
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Response
|
|
61
|
+
|
|
62
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# spo list defaultvalue remove
|
|
4
|
+
|
|
5
|
+
Removes a specific default column value for a specific document library
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 spo list defaultvalue remove [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
|
+
`--folderUrl [folderUrl]`
|
|
32
|
+
: Server- or site-relative URL of a specific folder to remove the field from. By default, the root folder of the list is used.
|
|
33
|
+
|
|
34
|
+
`-f, --force`
|
|
35
|
+
: Don't prompt for confirmation.
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
<Global />
|
|
39
|
+
|
|
40
|
+
## Examples
|
|
41
|
+
|
|
42
|
+
Remove a default column value from the root folder of the list
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
m365 spo list defaultvalue remove --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --fieldName Company
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Remove a column default value from a specific folder using web-relative URL
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 spo list defaultvalue remove --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl '/Logos' --fieldName Company --folderUrl '/Logos/Branding'
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Remove a column default value from a specific folder by server relative URL
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 spo list defaultvalue remove --webUrl https://contoso.sharepoint.com/sites/Marketing --listId fc6d514f-e7da-47d4-b48b-f72e2fb9c82a --field Company --folderUrl '/sites/Marketing/Logos/Branding'
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Response
|
|
61
|
+
|
|
62
|
+
The command won't return a response on success.
|