@pnp/cli-microsoft365 6.3.0 → 6.4.0-beta.6b65014
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.js +1 -0
- package/dist/Command.js +1 -0
- package/dist/m365/aad/commands/user/user-license-remove.js +2 -1
- package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +2 -9
- package/dist/m365/flow/commands/flow-disable.js +9 -2
- package/dist/m365/flow/commands/flow-enable.js +9 -2
- package/dist/m365/flow/commands/flow-get.js +9 -2
- package/dist/m365/flow/commands/flow-list.js +1 -1
- package/dist/m365/flow/commands/flow-remove.js +2 -2
- package/dist/m365/flow/commands/owner/owner-add.js +147 -0
- package/dist/m365/flow/commands/owner/owner-list.js +89 -0
- package/dist/m365/flow/commands/owner/owner-remove.js +147 -0
- package/dist/m365/flow/commands/run/run-cancel.js +9 -2
- package/dist/m365/flow/commands/run/run-list.js +5 -2
- package/dist/m365/flow/commands.js +3 -0
- package/dist/m365/planner/commands/roster/roster-member-get.js +98 -0
- package/dist/m365/planner/commands.js +1 -0
- package/dist/m365/spo/commands/customaction/customaction-get.js +27 -7
- package/dist/m365/spo/commands/file/file-move.js +1 -1
- package/dist/m365/spo/commands/list/list-add.js +11 -8
- package/dist/m365/spo/commands/list/list-set.js +3 -3
- package/dist/m365/spo/commands/term/term-get.js +68 -48
- package/dist/utils/aadGroup.js +18 -0
- package/docs/docs/cmd/aad/approleassignment/approleassignment-add.md +5 -5
- package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.md +3 -3
- package/docs/docs/cmd/aad/user/user-remove.md +1 -1
- package/docs/docs/cmd/flow/owner/owner-add.md +61 -0
- package/docs/docs/cmd/flow/owner/owner-list.md +90 -0
- package/docs/docs/cmd/flow/owner/owner-remove.md +67 -0
- package/docs/docs/cmd/flow/run/run-list.md +28 -0
- package/docs/docs/cmd/planner/roster/roster-member-get.md +87 -0
- package/docs/docs/cmd/spo/customaction/customaction-get.md +113 -11
- package/docs/docs/cmd/spo/group/group-member-add.md +4 -4
- package/docs/docs/cmd/spo/list/list-add.md +2 -2
- package/docs/docs/cmd/spo/list/list-set.md +2 -2
- package/docs/docs/cmd/spo/navigation/navigation-node-add.md +1 -1
- package/docs/docs/cmd/spo/navigation/navigation-node-set.md +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +26 -26
- package/docs/docs/cmd/teams/channel/channel-member-add.md +2 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
|
@@ -10,8 +10,6 @@ m365 spo tenant settings set [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
--8<-- "docs/cmd/_global.md"
|
|
14
|
-
|
|
15
13
|
`--MinCompatibilityLevel [MinCompatibilityLevel]`
|
|
16
14
|
: Specifies the lower bound on the compatibility level for new sites
|
|
17
15
|
|
|
@@ -19,7 +17,7 @@ m365 spo tenant settings set [options]
|
|
|
19
17
|
: Specifies the upper bound on the compatibility level for new sites
|
|
20
18
|
|
|
21
19
|
`--ExternalServicesEnabled [ExternalServicesEnabled]`
|
|
22
|
-
: Enables external services for a tenant. External services are defined as services that are not in the Microsoft 365
|
|
20
|
+
: Enables external services for a tenant. External services are defined as services that are not in the Microsoft 365 data centers. Allowed values `true,false`
|
|
23
21
|
|
|
24
22
|
`--NoAccessRedirectUrl [NoAccessRedirectUrl]`
|
|
25
23
|
: Specifies the URL of the redirected site for those site collections which have the locked state "NoAccess"
|
|
@@ -34,43 +32,43 @@ m365 spo tenant settings set [options]
|
|
|
34
32
|
: Specifies URL of the form to load in the Start a Site dialog. The valid values are: "" (default) - Blank by default, this will also remove or clear any value that has been set. Full URL - Example:"https://contoso.sharepoint.com/path/to/form"
|
|
35
33
|
|
|
36
34
|
`--ShowEveryoneClaim [ShowEveryoneClaim]`
|
|
37
|
-
: Enables the administrator to hide the Everyone claim in the People Picker. When users share an item with Everyone, it is accessible to all authenticated users in the tenant
|
|
35
|
+
: Enables the administrator to hide the Everyone claim in the People Picker. When users share an item with Everyone, it is accessible to all authenticated users in the tenant's Azure Active Directory, including any active external users who have previously accepted invitations. Note, that some SharePoint system resources such as templates and pages are required to be shared with Everyone and this type of sharing does not expose any user data or metadata. Allowed values `true,false`
|
|
38
36
|
|
|
39
37
|
`--ShowAllUsersClaim [ShowAllUsersClaim]`
|
|
40
|
-
: Enables the administrator to hide the All Users claim groups in People Picker. When users share an item with "All Users (x)", it is accessible to all organization members in the tenant
|
|
38
|
+
: Enables the administrator to hide the All Users claim groups in People Picker. When users share an item with "All Users (x)", it is accessible to all organization members in the tenant's Azure Active Directory who have authenticated via this method. When users share an item with "All Users (x)" it is accessible to all organization members in the tenant that used NTLM to authenticate with SharePoint. Allowed values `true,false`
|
|
41
39
|
|
|
42
40
|
`--ShowEveryoneExceptExternalUsersClaim [ShowEveryoneExceptExternalUsersClaim]`
|
|
43
41
|
: Enables the administrator to hide the "Everyone except external users" claim in the People Picker. When users share an item with "Everyone except external users", it is accessible to all organization members in the tenant's Azure Active Directory, but not to any users who have previously accepted invitations. Allowed values `true,false`
|
|
44
42
|
|
|
45
43
|
`--SearchResolveExactEmailOrUPN [SearchResolveExactEmailOrUPN]`
|
|
46
|
-
: Removes the search capability from People Picker. Note, recently resolved names will still appear in the list until browser cache is cleared or expired. SharePoint Administrators will still be able to use starts with or partial name matching when enabled. Allowed values `true,false`
|
|
44
|
+
: Removes the search capability from People Picker. Note, recently resolved names will still appear in the list until the browser cache is cleared or expired. SharePoint Administrators will still be able to use starts with or partial name matching when enabled. Allowed values `true,false`
|
|
47
45
|
|
|
48
46
|
`--OfficeClientADALDisabled [OfficeClientADALDisabled]`
|
|
49
47
|
: When set to true this will disable the ability to use Modern Authentication that leverages ADAL across the tenant. Allowed values `true,false`
|
|
50
48
|
|
|
51
49
|
`--LegacyAuthProtocolsEnabled [LegacyAuthProtocolsEnabled]`
|
|
52
|
-
: By default this value is set to true. Setting this parameter prevents Office clients using non-modern authentication protocols from accessing SharePoint Online resources. A value of true - Enables Office clients using non-modern authentication protocols (such as
|
|
50
|
+
: By default, this value is set to true. Setting this parameter prevents Office clients using non-modern authentication protocols from accessing SharePoint Online resources. A value of true - Enables Office clients using non-modern authentication protocols (such as Forms-Based Authentication (FBA) or Identity Client Runtime Library (IDCRL)) to access SharePoint resources. Allowed values `true,false`
|
|
53
51
|
|
|
54
52
|
`--RequireAcceptingAccountMatchInvitedAccount [RequireAcceptingAccountMatchInvitedAccount]`
|
|
55
53
|
: Ensures that an external user can only accept an external sharing invitation with an account matching the invited email address. Administrators who desire increased control over external collaborators should consider enabling this feature. Allowed values `true,false`
|
|
56
54
|
|
|
57
55
|
`--ProvisionSharedWithEveryoneFolder [ProvisionSharedWithEveryoneFolder]`
|
|
58
|
-
: Creates a Shared with Everyone folder in every user
|
|
56
|
+
: Creates a Shared with Everyone folder in every user's new OneDrive for Business document library. The valid values are: True (default) - The Shared with Everyone folder is created. False - No folder is created when the site and OneDrive for Business document library are created. Allowed values `true,false`
|
|
59
57
|
|
|
60
58
|
`--SignInAccelerationDomain [SignInAccelerationDomain]`
|
|
61
|
-
: Specifies the home realm discovery value to be sent to Azure Active Directory (AAD) during the user sign-in process. When the organization uses a third-party identity provider, this prevents the user from seeing the Azure Active Directory Home Realm Discovery web page and ensures the user only sees their company's Identity Provider's portal. This value can also be used with Azure Active Directory Premium to customize the Azure Active Directory login page. Acceleration will not occur on
|
|
59
|
+
: Specifies the home realm discovery value to be sent to Azure Active Directory (AAD) during the user sign-in process. When the organization uses a third-party identity provider, this prevents the user from seeing the Azure Active Directory Home Realm Discovery web page and ensures the user only sees their company's Identity Provider's portal. This value can also be used with Azure Active Directory Premium to customize the Azure Active Directory login page. Acceleration will not occur on-site collections that are shared externally. This value should be configured with the login domain that is used by your company (that is, example@contoso.com). If your company has multiple third-party identity providers, configuring the sign-in acceleration value will break sign-in for your organization. The valid values are: "" (default) - Blank by default, this will also remove or clear any value that has been set. Login Domain - For example: "contoso.com". No value assigned by default
|
|
62
60
|
|
|
63
61
|
`--EnableGuestSignInAcceleration [EnableGuestSignInAcceleration]`
|
|
64
62
|
: Accelerates guest-enabled site collections as well as member-only site collections when the SignInAccelerationDomain parameter is set. Allowed values `true,false`
|
|
65
63
|
|
|
66
64
|
`--UsePersistentCookiesForExplorerView [UsePersistentCookiesForExplorerView]`
|
|
67
|
-
: Lets SharePoint issue a special cookie that will allow this feature to work even when "Keep Me Signed In" is not selected. "Open with Explorer" requires persisted cookies to operate correctly. When the user does not select "Keep Me Signed in" at the time of sign
|
|
65
|
+
: Lets SharePoint issue a special cookie that will allow this feature to work even when "Keep Me Signed In" is not selected. "Open with Explorer" requires persisted cookies to operate correctly. When the user does not select "Keep Me Signed in" at the time of sign-in, "Open with Explorer" will fail. This special cookie expires after 30 minutes and cannot be cleared by closing the browser or signing out of SharePoint Online.To clear this cookie, the user must log out of their Windows session. The valid values are: False(default) - No special cookie is generated and the normal Microsoft 365 sign-in length/timing applies. True - Generates a special cookie that will allow "Open with Explorer" to function if the "Keep Me Signed In" box is not checked at sign-in. Allowed values `true,false`
|
|
68
66
|
|
|
69
67
|
`--BccExternalSharingInvitations [BccExternalSharingInvitations]`
|
|
70
|
-
: When the feature is enabled, all external sharing invitations that are sent will
|
|
68
|
+
: When the feature is enabled, all external sharing invitations that are sent will blindly copy the e-mail messages listed in the BccExternalSharingsInvitationList. Allowed values `true,false`
|
|
71
69
|
|
|
72
70
|
`--BccExternalSharingInvitationsList [BccExternalSharingInvitationsList]`
|
|
73
|
-
: Specifies a list of e-mail addresses to be BCC'd when the BCC for External Sharing feature is enabled. Multiple addresses can be specified by creating a comma
|
|
71
|
+
: Specifies a list of e-mail addresses to be BCC'd when the BCC for External Sharing feature is enabled. Multiple addresses can be specified by creating a comma-separated list with no spaces
|
|
74
72
|
|
|
75
73
|
`--UserVoiceForFeedbackEnabled [UserVoiceForFeedbackEnabled]`
|
|
76
74
|
: Enables or disables the User Voice Feedback button. Allowed values `true,false`
|
|
@@ -79,16 +77,16 @@ m365 spo tenant settings set [options]
|
|
|
79
77
|
: Enables or disables the publish CDN. Allowed values `true,false`
|
|
80
78
|
|
|
81
79
|
`--PublicCdnAllowedFileTypes [PublicCdnAllowedFileTypes]`
|
|
82
|
-
: Sets public CDN
|
|
80
|
+
: Sets public CDN-allowed file types
|
|
83
81
|
|
|
84
82
|
`--RequireAnonymousLinksExpireInDays [RequireAnonymousLinksExpireInDays]`
|
|
85
83
|
: Specifies all anonymous links that have been created (or will be created) will expire after the set number of days. To remove the expiration requirement, set the value to zero (0)
|
|
86
84
|
|
|
87
85
|
`--SharingAllowedDomainList [SharingAllowedDomainList]`
|
|
88
|
-
: Specifies a list of email domains that
|
|
86
|
+
: Specifies a list of email domains that are allowed for sharing with external collaborators. Use the space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com"
|
|
89
87
|
|
|
90
88
|
`--SharingBlockedDomainList [SharingBlockedDomainList]`
|
|
91
|
-
: Specifies a list of email domains that
|
|
89
|
+
: Specifies a list of email domains that are blocked or prohibited from sharing with external collaborators. Use space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com"
|
|
92
90
|
|
|
93
91
|
`--SharingDomainRestrictionMode [SharingDomainRestrictionMode]`
|
|
94
92
|
: Specifies the external sharing mode for domains. Allowed values `None,AllowList,BlockList`
|
|
@@ -97,7 +95,7 @@ m365 spo tenant settings set [options]
|
|
|
97
95
|
: Sets a default OneDrive for Business storage quota for the tenant. It will be used for new OneDrive for Business sites created. A typical use will be to reduce the amount of storage associated with OneDrive for Business to a level below what the License entitles the users. For example, it could be used to set the quota to 10 gigabytes (GB) by default
|
|
98
96
|
|
|
99
97
|
`--OneDriveForGuestsEnabled [OneDriveForGuestsEnabled]`
|
|
100
|
-
: Lets OneDrive for Business creation for administrator
|
|
98
|
+
: Lets OneDrive for Business creation for administrator-managed guest users. Administrator-managed Guest users use credentials in the resource tenant to access the resources. Allowed values `true,false`
|
|
101
99
|
|
|
102
100
|
`--IPAddressEnforcement [IPAddressEnforcement]`
|
|
103
101
|
: Allows access from network locations that are defined by an administrator. The values are true and false. The default value is false which means the setting is disabled. Before the iPAddressEnforcement parameter is set, make sure you add a valid IPv4 or IPv6 address to the iPAddressAllowList parameter. Allowed values `true,false`
|
|
@@ -109,10 +107,10 @@ m365 spo tenant settings set [options]
|
|
|
109
107
|
: Sets IP Address WAC token lifetime'
|
|
110
108
|
|
|
111
109
|
`--UseFindPeopleInPeoplePicker [UseFindPeopleInPeoplePicker]`
|
|
112
|
-
: Sets use find people in PeoplePicker to true or false. Note: When set to true, users aren
|
|
110
|
+
: Sets use to find people in PeoplePicker to true or false. Note: When set to true, users aren't able to share with security groups or SharePoint groups. Allowed values `true,false`
|
|
113
111
|
|
|
114
112
|
`--DefaultSharingLinkType [DefaultSharingLinkType]`
|
|
115
|
-
:
|
|
113
|
+
: Let's administrators choose what type of link appears is selected in the “Get a link” sharing dialog box in OneDrive for Business and SharePoint Online. Allowed values `None,Direct,Internal,AnonymousAccess`
|
|
116
114
|
|
|
117
115
|
`--ODBMembersCanShare [ODBMembersCanShare]`
|
|
118
116
|
: Lets administrators set policy on re-sharing behavior in OneDrive for Business. Allowed values `Unspecified,On,Off`
|
|
@@ -145,7 +143,7 @@ m365 spo tenant settings set [options]
|
|
|
145
143
|
: Enables or disables notifications in SharePoint. Allowed values `true,false`
|
|
146
144
|
|
|
147
145
|
`--OwnerAnonymousNotification [OwnerAnonymousNotification]`
|
|
148
|
-
: Enables or disables owner
|
|
146
|
+
: Enables or disables owner-anonymous notification. Allowed values `true,false`
|
|
149
147
|
|
|
150
148
|
`--CommentsOnSitePagesDisabled [CommentsOnSitePagesDisabled]`
|
|
151
149
|
: Enables or disables comments on site pages. Allowed values `true,false`
|
|
@@ -160,19 +158,19 @@ m365 spo tenant settings set [options]
|
|
|
160
158
|
: Prevents the Download button from being displayed on the Virus Found warning page. Allowed values `true,false`
|
|
161
159
|
|
|
162
160
|
`--DefaultLinkPermission [DefaultLinkPermission]`
|
|
163
|
-
: Choose the
|
|
161
|
+
: Choose the default permission that is selected when users share. This applies to anonymous access, internal and direct links. Allowed values `None,View,Edit`
|
|
164
162
|
|
|
165
163
|
`--ConditionalAccessPolicy [ConditionalAccessPolicy]`
|
|
166
164
|
: Configures conditional access policy. Allowed values `AllowFullAccess,AllowLimitedAccess,BlockAccess`
|
|
167
165
|
|
|
168
166
|
`--AllowDownloadingNonWebViewableFiles [AllowDownloadingNonWebViewableFiles]`
|
|
169
|
-
: Allows downloading non
|
|
167
|
+
: Allows downloading non-web viewable files. The Allowed values `true,false`
|
|
170
168
|
|
|
171
169
|
`--AllowEditing [AllowEditing]`
|
|
172
170
|
: Allows editing. Allowed values `true,false`
|
|
173
171
|
|
|
174
172
|
`--ApplyAppEnforcedRestrictionsToAdHocRecipients [ApplyAppEnforcedRestrictionsToAdHocRecipients]`
|
|
175
|
-
: Applies app
|
|
173
|
+
: Applies app-enforced restrictions to AdHoc recipients. Allowed values `true,false`
|
|
176
174
|
|
|
177
175
|
`--FilePickerExternalImageSearchEnabled [FilePickerExternalImageSearchEnabled]`
|
|
178
176
|
: Enables file picker external image search. Allowed values `true,false`
|
|
@@ -190,7 +188,7 @@ m365 spo tenant settings set [options]
|
|
|
190
188
|
: Blocks access on unmanaged devices. Allowed values `true,false`
|
|
191
189
|
|
|
192
190
|
`--AllowLimitedAccessOnUnmanagedDevices [AllowLimitedAccessOnUnmanagedDevices]`
|
|
193
|
-
: Allows limited access on unmanaged
|
|
191
|
+
: Allows limited access on unmanaged device blocks. Allowed values `true,false`
|
|
194
192
|
|
|
195
193
|
`--BlockDownloadOfAllFilesForGuests [BlockDownloadOfAllFilesForGuests]`
|
|
196
194
|
: Blocks download of all files for guests. Allowed values `true,false`
|
|
@@ -211,7 +209,7 @@ m365 spo tenant settings set [options]
|
|
|
211
209
|
: Disables report problem dialog. Allowed values `true,false`
|
|
212
210
|
|
|
213
211
|
`--DisplayNamesOfFileViewers [DisplayNamesOfFileViewers]`
|
|
214
|
-
:
|
|
212
|
+
: Displays names of file viewers. Allowed values `true,false`
|
|
215
213
|
|
|
216
214
|
`--EnableMinimumVersionRequirement [EnableMinimumVersionRequirement]`
|
|
217
215
|
: Enables minimum version requirement. Allowed values `true,false`
|
|
@@ -235,7 +233,7 @@ m365 spo tenant settings set [options]
|
|
|
235
233
|
: Organization news site url'
|
|
236
234
|
|
|
237
235
|
`--PermissiveBrowserFileHandlingOverride [PermissiveBrowserFileHandlingOverride]`
|
|
238
|
-
: Permissive browser
|
|
236
|
+
: Permissive browser file handling override. Allowed values `true,false`
|
|
239
237
|
|
|
240
238
|
`--ShowNGSCDialogForSyncOnODB [ShowNGSCDialogForSyncOnODB]`
|
|
241
239
|
: Show NGSC dialog for sync on OneDrive for Business. Allowed values `true,false`
|
|
@@ -264,8 +262,10 @@ m365 spo tenant settings set [options]
|
|
|
264
262
|
`--SyncAadB2BManagementPolicy [SyncAadB2BManagementPolicy]`
|
|
265
263
|
: Syncs Azure B2B Management Policies. Allowed values `true,false`. For more information, see [SharePoint and OneDrive integration with Azure AD B2B](https://aka.ms/spo-b2b-integration).
|
|
266
264
|
|
|
265
|
+
--8<-- "docs/cmd/_global.md"
|
|
266
|
+
|
|
267
267
|
!!! important
|
|
268
|
-
To use this command you have to have
|
|
268
|
+
To use this command you have to have permission to access the tenant admin site.
|
|
269
269
|
|
|
270
270
|
## Examples
|
|
271
271
|
|
|
@@ -23,10 +23,10 @@ m365 teams channel member add [options]
|
|
|
23
23
|
: The display name of the Microsoft Teams team channel. Specify either `channelId` or `channelName`, but not both.
|
|
24
24
|
|
|
25
25
|
`--userId [userId]`
|
|
26
|
-
: The user's ID or principal name. You can also pass a comma
|
|
26
|
+
: The user's ID or principal name. You can also pass a comma-separated list of userIds.
|
|
27
27
|
|
|
28
28
|
`--userDisplayName [userDisplayName]`
|
|
29
|
-
: The display name of a user. You can also pass a comma
|
|
29
|
+
: The display name of a user. You can also pass a comma-separated list of display names.
|
|
30
30
|
|
|
31
31
|
`--owner`
|
|
32
32
|
: Assign the user the owner role. Defaults to member permissions.
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@pnp/cli-microsoft365",
|
|
9
|
-
"version": "6.
|
|
9
|
+
"version": "6.4.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@azure/msal-node": "^1.15.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0-beta.6b65014",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -273,4 +273,4 @@
|
|
|
273
273
|
"sinon": "^15.0.1",
|
|
274
274
|
"source-map-support": "^0.5.21"
|
|
275
275
|
}
|
|
276
|
-
}
|
|
276
|
+
}
|