@pnp/cli-microsoft365 11.10.0 → 11.11.0-beta.1cb40cb
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/config.js +1 -0
- package/dist/m365/entra/commands/agent/agent-list.js +48 -0
- package/dist/m365/entra/commands.js +1 -0
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +23 -41
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-list.js +9 -24
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-remove.js +24 -44
- package/dist/m365/pp/commands/copilot/copilot-get.js +23 -41
- package/dist/m365/pp/commands/copilot/copilot-list.js +9 -24
- package/dist/m365/pp/commands/copilot/copilot-remove.js +24 -44
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +10 -26
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +9 -24
- package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +11 -29
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +21 -33
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +25 -46
- package/dist/m365/pp/commands/gateway/gateway-get.js +10 -23
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +24 -36
- package/dist/m365/pp/commands/managementapp/managementapp-list.js +5 -0
- package/dist/m365/pp/commands/solution/solution-get.js +23 -41
- package/dist/m365/pp/commands/solution/solution-list.js +9 -24
- package/dist/m365/pp/commands/solution/solution-publish.js +25 -45
- package/dist/m365/pp/commands/solution/solution-publisher-add.js +26 -49
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +23 -41
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +10 -27
- package/dist/m365/pp/commands/solution/solution-publisher-remove.js +24 -44
- package/dist/m365/pp/commands/solution/solution-remove.js +24 -44
- package/dist/m365/pp/commands/tenant/tenant-settings-set.js +81 -170
- package/dist/m365/spo/commands/folder/folder-add.js +1 -1
- package/docs/docs/cmd/entra/agent/agent-list.mdx +209 -0
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-version-get.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-version-list.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-add.mdx +20 -1
- package/docs/docs/cmd/spo/folder/folder-archive.mdx +2 -3
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-get.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-list.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-move.mdx +19 -0
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-set.mdx +21 -0
- package/docs/docs/cmd/todo/list/list-add.mdx +19 -0
- package/docs/docs/cmd/todo/list/list-get.mdx +19 -0
- package/docs/docs/cmd/todo/list/list-list.mdx +19 -0
- package/docs/docs/cmd/todo/list/list-remove.mdx +21 -0
- package/docs/docs/cmd/todo/list/list-set.mdx +21 -0
- package/docs/docs/cmd/todo/task/task-add.mdx +19 -0
- package/docs/docs/cmd/todo/task/task-get.mdx +19 -0
- package/docs/docs/cmd/todo/task/task-list.mdx +19 -0
- package/docs/docs/cmd/todo/task/task-remove.mdx +21 -0
- package/docs/docs/cmd/todo/task/task-set.mdx +19 -0
- package/npm-shrinkwrap.json +356 -190
- package/package.json +14 -14
|
@@ -1,12 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
var _PpTenantSettingsSetCommand_instances, _PpTenantSettingsSetCommand_initTelemetry, _PpTenantSettingsSetCommand_initOptions, _PpTenantSettingsSetCommand_initTypes, _PpTenantSettingsSetCommand_initValidators;
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
7
3
|
import request from '../../../../request.js';
|
|
8
4
|
import PowerPlatformCommand from '../../../base/PowerPlatformCommand.js';
|
|
9
5
|
import commands from '../../commands.js';
|
|
6
|
+
export const options = z.strictObject({
|
|
7
|
+
...globalOptionsZod.shape,
|
|
8
|
+
walkMeOptOut: z.boolean().optional(),
|
|
9
|
+
disableNPSCommentsReachout: z.boolean().optional(),
|
|
10
|
+
disableNewsletterSendout: z.boolean().optional(),
|
|
11
|
+
disableEnvironmentCreationByNonAdminUsers: z.boolean().optional(),
|
|
12
|
+
disablePortalsCreationByNonAdminUsers: z.boolean().optional(),
|
|
13
|
+
disableSurveyFeedback: z.boolean().optional(),
|
|
14
|
+
disableTrialEnvironmentCreationByNonAdminUsers: z.boolean().optional(),
|
|
15
|
+
disableCapacityAllocationByEnvironmentAdmins: z.boolean().optional(),
|
|
16
|
+
disableSupportTicketsVisibleByAllUsers: z.boolean().optional(),
|
|
17
|
+
disableDocsSearch: z.boolean().optional(),
|
|
18
|
+
disableCommunitySearch: z.boolean().optional(),
|
|
19
|
+
disableBingVideoSearch: z.boolean().optional(),
|
|
20
|
+
shareWithColleaguesUserLimit: z.string().refine(val => {
|
|
21
|
+
const num = Number(val);
|
|
22
|
+
return Number.isInteger(num) && num >= 0;
|
|
23
|
+
}, {
|
|
24
|
+
error: 'The value must be a non-negative integer.'
|
|
25
|
+
}).optional(),
|
|
26
|
+
disableShareWithEveryone: z.boolean().optional(),
|
|
27
|
+
enableGuestsToMake: z.boolean().optional(),
|
|
28
|
+
disableMembersIndicator: z.boolean().optional(),
|
|
29
|
+
disableMakerMatch: z.boolean().optional(),
|
|
30
|
+
disablePreferredDataLocationForTeamsEnvironment: z.boolean().optional(),
|
|
31
|
+
disableAdminDigest: z.boolean().optional(),
|
|
32
|
+
disableDeveloperEnvironmentCreationByNonAdminUsers: z.boolean().optional(),
|
|
33
|
+
disableBillingPolicyCreationByNonAdminUsers: z.boolean().optional(),
|
|
34
|
+
storageCapacityConsumptionWarningThreshold: z.string().refine(val => {
|
|
35
|
+
const num = Number(val);
|
|
36
|
+
return Number.isInteger(num) && num >= 0;
|
|
37
|
+
}, {
|
|
38
|
+
error: 'The value must be a non-negative integer.'
|
|
39
|
+
}).optional(),
|
|
40
|
+
disableChampionsInvitationReachout: z.boolean().optional(),
|
|
41
|
+
disableSkillsMatchInvitationReachout: z.boolean().optional(),
|
|
42
|
+
disableCopilot: z.boolean().optional(),
|
|
43
|
+
enableOpenAiBotPublishing: z.boolean().optional(),
|
|
44
|
+
enableModelDataSharing: z.boolean().optional()
|
|
45
|
+
});
|
|
10
46
|
class PpTenantSettingsSetCommand extends PowerPlatformCommand {
|
|
11
47
|
get name() {
|
|
12
48
|
return commands.TENANT_SETTINGS_SET;
|
|
@@ -14,13 +50,43 @@ class PpTenantSettingsSetCommand extends PowerPlatformCommand {
|
|
|
14
50
|
get description() {
|
|
15
51
|
return 'Sets the global Power Platform configuration of the tenant';
|
|
16
52
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
53
|
+
get schema() {
|
|
54
|
+
return options;
|
|
55
|
+
}
|
|
56
|
+
getRefinedSchema(schema) {
|
|
57
|
+
return schema
|
|
58
|
+
.refine(opts => opts.walkMeOptOut !== undefined ||
|
|
59
|
+
opts.disableNPSCommentsReachout !== undefined ||
|
|
60
|
+
opts.disableNewsletterSendout !== undefined ||
|
|
61
|
+
opts.disableEnvironmentCreationByNonAdminUsers !== undefined ||
|
|
62
|
+
opts.disablePortalsCreationByNonAdminUsers !== undefined ||
|
|
63
|
+
opts.disableSurveyFeedback !== undefined ||
|
|
64
|
+
opts.disableTrialEnvironmentCreationByNonAdminUsers !== undefined ||
|
|
65
|
+
opts.disableCapacityAllocationByEnvironmentAdmins !== undefined ||
|
|
66
|
+
opts.disableSupportTicketsVisibleByAllUsers !== undefined ||
|
|
67
|
+
opts.disableDocsSearch !== undefined ||
|
|
68
|
+
opts.disableCommunitySearch !== undefined ||
|
|
69
|
+
opts.disableBingVideoSearch !== undefined ||
|
|
70
|
+
opts.shareWithColleaguesUserLimit !== undefined ||
|
|
71
|
+
opts.disableShareWithEveryone !== undefined ||
|
|
72
|
+
opts.enableGuestsToMake !== undefined ||
|
|
73
|
+
opts.disableMembersIndicator !== undefined ||
|
|
74
|
+
opts.disableMakerMatch !== undefined ||
|
|
75
|
+
opts.disablePreferredDataLocationForTeamsEnvironment !== undefined ||
|
|
76
|
+
opts.disableAdminDigest !== undefined ||
|
|
77
|
+
opts.disableDeveloperEnvironmentCreationByNonAdminUsers !== undefined ||
|
|
78
|
+
opts.disableBillingPolicyCreationByNonAdminUsers !== undefined ||
|
|
79
|
+
opts.storageCapacityConsumptionWarningThreshold !== undefined ||
|
|
80
|
+
opts.disableChampionsInvitationReachout !== undefined ||
|
|
81
|
+
opts.disableSkillsMatchInvitationReachout !== undefined ||
|
|
82
|
+
opts.disableCopilot !== undefined ||
|
|
83
|
+
opts.enableOpenAiBotPublishing !== undefined ||
|
|
84
|
+
opts.enableModelDataSharing !== undefined, {
|
|
85
|
+
error: 'Specify at least one option.',
|
|
86
|
+
params: {
|
|
87
|
+
customCode: 'required'
|
|
88
|
+
}
|
|
89
|
+
});
|
|
24
90
|
}
|
|
25
91
|
async commandAction(logger, args) {
|
|
26
92
|
const data = {
|
|
@@ -40,7 +106,7 @@ class PpTenantSettingsSetCommand extends PowerPlatformCommand {
|
|
|
40
106
|
disableBingVideoSearch: args.options.disableBingVideoSearch
|
|
41
107
|
},
|
|
42
108
|
teamsIntegration: {
|
|
43
|
-
shareWithColleaguesUserLimit: args.options.shareWithColleaguesUserLimit
|
|
109
|
+
shareWithColleaguesUserLimit: args.options.shareWithColleaguesUserLimit !== undefined ? Number(args.options.shareWithColleaguesUserLimit) : undefined
|
|
44
110
|
},
|
|
45
111
|
powerApps: {
|
|
46
112
|
disableShareWithEveryone: args.options.disableShareWithEveryone,
|
|
@@ -57,7 +123,7 @@ class PpTenantSettingsSetCommand extends PowerPlatformCommand {
|
|
|
57
123
|
},
|
|
58
124
|
licensing: {
|
|
59
125
|
disableBillingPolicyCreationByNonAdminUsers: args.options.disableBillingPolicyCreationByNonAdminUsers,
|
|
60
|
-
storageCapacityConsumptionWarningThreshold: args.options.storageCapacityConsumptionWarningThreshold
|
|
126
|
+
storageCapacityConsumptionWarningThreshold: args.options.storageCapacityConsumptionWarningThreshold !== undefined ? Number(args.options.storageCapacityConsumptionWarningThreshold) : undefined
|
|
61
127
|
},
|
|
62
128
|
champions: {
|
|
63
129
|
disableChampionsInvitationReachout: args.options.disableChampionsInvitationReachout,
|
|
@@ -89,160 +155,5 @@ class PpTenantSettingsSetCommand extends PowerPlatformCommand {
|
|
|
89
155
|
}
|
|
90
156
|
}
|
|
91
157
|
}
|
|
92
|
-
_PpTenantSettingsSetCommand_instances = new WeakSet(), _PpTenantSettingsSetCommand_initTelemetry = function _PpTenantSettingsSetCommand_initTelemetry() {
|
|
93
|
-
this.telemetry.push((args) => {
|
|
94
|
-
Object.assign(this.telemetryProperties, {
|
|
95
|
-
walkMeOptOut: typeof args.options.walkMeOptOut !== 'undefined',
|
|
96
|
-
disableNPSCommentsReachout: typeof args.options.disableNPSCommentsReachout !== 'undefined',
|
|
97
|
-
disableNewsletterSendout: typeof args.options.disableNewsletterSendout !== 'undefined',
|
|
98
|
-
disableEnvironmentCreationByNonAdminUsers: typeof args.options.disableEnvironmentCreationByNonAdminUsers !== 'undefined',
|
|
99
|
-
disablePortalsCreationByNonAdminUsers: typeof args.options.disablePortalsCreationByNonAdminUsers !== 'undefined',
|
|
100
|
-
disableSurveyFeedback: typeof args.options.disableSurveyFeedback !== 'undefined',
|
|
101
|
-
disableTrialEnvironmentCreationByNonAdminUsers: typeof args.options.disableTrialEnvironmentCreationByNonAdminUsers !== 'undefined',
|
|
102
|
-
disableCapacityAllocationByEnvironmentAdmins: typeof args.options.disableCapacityAllocationByEnvironmentAdmins !== 'undefined',
|
|
103
|
-
disableSupportTicketsVisibleByAllUsers: typeof args.options.disableSupportTicketsVisibleByAllUsers !== 'undefined',
|
|
104
|
-
disableDocsSearch: typeof args.options.disableDocsSearch !== 'undefined',
|
|
105
|
-
disableCommunitySearch: typeof args.options.disableCommunitySearch !== 'undefined',
|
|
106
|
-
disableBingVideoSearch: typeof args.options.disableBingVideoSearch !== 'undefined',
|
|
107
|
-
shareWithColleaguesUserLimit: typeof args.options.shareWithColleaguesUserLimit !== 'undefined',
|
|
108
|
-
disableShareWithEveryone: typeof args.options.disableShareWithEveryone !== 'undefined',
|
|
109
|
-
enableGuestsToMake: typeof args.options.enableGuestsToMake !== 'undefined',
|
|
110
|
-
disableMembersIndicator: typeof args.options.disableMembersIndicator !== 'undefined',
|
|
111
|
-
disableMakerMatch: typeof args.options.disableMakerMatch !== 'undefined',
|
|
112
|
-
disablePreferredDataLocationForTeamsEnvironment: typeof args.options.disablePreferredDataLocationForTeamsEnvironment !== 'undefined',
|
|
113
|
-
disableAdminDigest: typeof args.options.disableAdminDigest !== 'undefined',
|
|
114
|
-
disableDeveloperEnvironmentCreationByNonAdminUsers: typeof args.options.disableDeveloperEnvironmentCreationByNonAdminUsers !== 'undefined',
|
|
115
|
-
disableBillingPolicyCreationByNonAdminUsers: typeof args.options.disableBillingPolicyCreationByNonAdminUsers !== 'undefined',
|
|
116
|
-
storageCapacityConsumptionWarningThreshold: typeof args.options.storageCapacityConsumptionWarningThreshold !== 'undefined',
|
|
117
|
-
disableChampionsInvitationReachout: typeof args.options.disableChampionsInvitationReachout !== 'undefined',
|
|
118
|
-
disableSkillsMatchInvitationReachout: typeof args.options.disableSkillsMatchInvitationReachout !== 'undefined',
|
|
119
|
-
disableCopilot: typeof args.options.disableCopilot !== 'undefined',
|
|
120
|
-
enableOpenAiBotPublishing: typeof args.options.enableOpenAiBotPublishing !== 'undefined',
|
|
121
|
-
enableModelDataSharing: typeof args.options.enableModelDataSharing !== 'undefined'
|
|
122
|
-
});
|
|
123
|
-
});
|
|
124
|
-
}, _PpTenantSettingsSetCommand_initOptions = function _PpTenantSettingsSetCommand_initOptions() {
|
|
125
|
-
this.options.unshift({
|
|
126
|
-
option: '--walkMeOptOut [walkMeOptOut]',
|
|
127
|
-
autocomplete: ['true', 'false']
|
|
128
|
-
}, {
|
|
129
|
-
option: '--disableNPSCommentsReachout [disableNPSCommentsReachout]',
|
|
130
|
-
autocomplete: ['true', 'false']
|
|
131
|
-
}, {
|
|
132
|
-
option: '--disableNewsletterSendout [disableNewsletterSendout]',
|
|
133
|
-
autocomplete: ['true', 'false']
|
|
134
|
-
}, {
|
|
135
|
-
option: '--disableEnvironmentCreationByNonAdminUsers [disableEnvironmentCreationByNonAdminUsers]',
|
|
136
|
-
autocomplete: ['true', 'false']
|
|
137
|
-
}, {
|
|
138
|
-
option: '--disablePortalsCreationByNonAdminUsers [disablePortalsCreationByNonAdminUsers]',
|
|
139
|
-
autocomplete: ['true', 'false']
|
|
140
|
-
}, {
|
|
141
|
-
option: '--disableSurveyFeedback [disableSurveyFeedback]',
|
|
142
|
-
autocomplete: ['true', 'false']
|
|
143
|
-
}, {
|
|
144
|
-
option: '--disableTrialEnvironmentCreationByNonAdminUsers [disableTrialEnvironmentCreationByNonAdminUsers]',
|
|
145
|
-
autocomplete: ['true', 'false']
|
|
146
|
-
}, {
|
|
147
|
-
option: '--disableCapacityAllocationByEnvironmentAdmins [disableCapacityAllocationByEnvironmentAdmins]',
|
|
148
|
-
autocomplete: ['true', 'false']
|
|
149
|
-
}, {
|
|
150
|
-
option: '--disableSupportTicketsVisibleByAllUsers [disableSupportTicketsVisibleByAllUsers]',
|
|
151
|
-
autocomplete: ['true', 'false']
|
|
152
|
-
}, {
|
|
153
|
-
option: '--disableDocsSearch [disableDocsSearch]',
|
|
154
|
-
autocomplete: ['true', 'false']
|
|
155
|
-
}, {
|
|
156
|
-
option: '--disableCommunitySearch [disableCommunitySearch]',
|
|
157
|
-
autocomplete: ['true', 'false']
|
|
158
|
-
}, {
|
|
159
|
-
option: '--disableBingVideoSearch [disableBingVideoSearch]',
|
|
160
|
-
autocomplete: ['true', 'false']
|
|
161
|
-
}, {
|
|
162
|
-
option: '--shareWithColleaguesUserLimit [shareWithColleaguesUserLimit]'
|
|
163
|
-
}, {
|
|
164
|
-
option: '--disableShareWithEveryone [disableShareWithEveryone]',
|
|
165
|
-
autocomplete: ['true', 'false']
|
|
166
|
-
}, {
|
|
167
|
-
option: '--enableGuestsToMake [enableGuestsToMake]',
|
|
168
|
-
autocomplete: ['true', 'false']
|
|
169
|
-
}, {
|
|
170
|
-
option: '--disableMembersIndicator [disableMembersIndicator]',
|
|
171
|
-
autocomplete: ['true', 'false']
|
|
172
|
-
}, {
|
|
173
|
-
option: '--disableMakerMatch [disableMakerMatch]',
|
|
174
|
-
autocomplete: ['true', 'false']
|
|
175
|
-
}, {
|
|
176
|
-
option: '--disablePreferredDataLocationForTeamsEnvironment [disablePreferredDataLocationForTeamsEnvironment]',
|
|
177
|
-
autocomplete: ['true', 'false']
|
|
178
|
-
}, {
|
|
179
|
-
option: '--disableAdminDigest [disableAdminDigest]',
|
|
180
|
-
autocomplete: ['true', 'false']
|
|
181
|
-
}, {
|
|
182
|
-
option: '--disableDeveloperEnvironmentCreationByNonAdminUsers [disableDeveloperEnvironmentCreationByNonAdminUsers]',
|
|
183
|
-
autocomplete: ['true', 'false']
|
|
184
|
-
}, {
|
|
185
|
-
option: '--disableBillingPolicyCreationByNonAdminUsers [disableBillingPolicyCreationByNonAdminUsers]',
|
|
186
|
-
autocomplete: ['true', 'false']
|
|
187
|
-
}, {
|
|
188
|
-
option: '--storageCapacityConsumptionWarningThreshold [storageCapacityConsumptionWarningThreshold]'
|
|
189
|
-
}, {
|
|
190
|
-
option: '--disableChampionsInvitationReachout [disableChampionsInvitationReachout]',
|
|
191
|
-
autocomplete: ['true', 'false']
|
|
192
|
-
}, {
|
|
193
|
-
option: '--disableSkillsMatchInvitationReachout [disableSkillsMatchInvitationReachout]',
|
|
194
|
-
autocomplete: ['true', 'false']
|
|
195
|
-
}, {
|
|
196
|
-
option: '--disableCopilot [disableCopilot]',
|
|
197
|
-
autocomplete: ['true', 'false']
|
|
198
|
-
}, {
|
|
199
|
-
option: '--enableOpenAiBotPublishing [enableOpenAiBotPublishing]',
|
|
200
|
-
autocomplete: ['true', 'false']
|
|
201
|
-
}, {
|
|
202
|
-
option: '--enableModelDataSharing [enableModelDataSharing]',
|
|
203
|
-
autocomplete: ['true', 'false']
|
|
204
|
-
});
|
|
205
|
-
}, _PpTenantSettingsSetCommand_initTypes = function _PpTenantSettingsSetCommand_initTypes() {
|
|
206
|
-
this.types.boolean.push('walkMeOptOut', 'disableNPSCommentsReachout', 'disableNewsletterSendout', 'disableEnvironmentCreationByNonAdminUsers', 'disablePortalsCreationByNonAdminUsers', 'disableSurveyFeedback', 'disableTrialEnvironmentCreationByNonAdminUsers', 'disableCapacityAllocationByEnvironmentAdmins', 'disableSupportTicketsVisibleByAllUsers', 'disableDocsSearch', 'disableCommunitySearch', 'disableBingVideoSearch', 'disableShareWithEveryone', 'enableGuestsToMake', 'disableMembersIndicator', 'disableMakerMatch', 'disablePreferredDataLocationForTeamsEnvironment', 'disableAdminDigest', 'disableDeveloperEnvironmentCreationByNonAdminUsers', 'disableBillingPolicyCreationByNonAdminUsers', 'disableChampionsInvitationReachout', 'disableSkillsMatchInvitationReachout', 'disableCopilot', 'enableOpenAiBotPublishing', 'enableModelDataSharing');
|
|
207
|
-
}, _PpTenantSettingsSetCommand_initValidators = function _PpTenantSettingsSetCommand_initValidators() {
|
|
208
|
-
this.validators.push(async (args) => {
|
|
209
|
-
if (args.options.shareWithColleaguesUserLimit !== undefined && (!Number.isInteger(args.options.shareWithColleaguesUserLimit) || args.options.shareWithColleaguesUserLimit < 0)) {
|
|
210
|
-
return `'${args.options.shareWithColleaguesUserLimit}' is not a valid number.`;
|
|
211
|
-
}
|
|
212
|
-
if (args.options.storageCapacityConsumptionWarningThreshold !== undefined && (!Number.isInteger(args.options.storageCapacityConsumptionWarningThreshold) || args.options.storageCapacityConsumptionWarningThreshold < 0)) {
|
|
213
|
-
return `'${args.options.storageCapacityConsumptionWarningThreshold}' is not a valid number.`;
|
|
214
|
-
}
|
|
215
|
-
if (typeof args.options.walkMeOptOut === 'undefined' &&
|
|
216
|
-
typeof args.options.disableNPSCommentsReachout === 'undefined' &&
|
|
217
|
-
typeof args.options.disableNewsletterSendout === 'undefined' &&
|
|
218
|
-
typeof args.options.disableEnvironmentCreationByNonAdminUsers === 'undefined' &&
|
|
219
|
-
typeof args.options.disablePortalsCreationByNonAdminUsers === 'undefined' &&
|
|
220
|
-
typeof args.options.disableSurveyFeedback === 'undefined' &&
|
|
221
|
-
typeof args.options.disableTrialEnvironmentCreationByNonAdminUsers === 'undefined' &&
|
|
222
|
-
typeof args.options.disableCapacityAllocationByEnvironmentAdmins === 'undefined' &&
|
|
223
|
-
typeof args.options.disableSupportTicketsVisibleByAllUsers === 'undefined' &&
|
|
224
|
-
typeof args.options.disableDocsSearch === 'undefined' &&
|
|
225
|
-
typeof args.options.disableCommunitySearch === 'undefined' &&
|
|
226
|
-
typeof args.options.disableBingVideoSearch === 'undefined' &&
|
|
227
|
-
typeof args.options.shareWithColleaguesUserLimit === 'undefined' &&
|
|
228
|
-
typeof args.options.disableShareWithEveryone === 'undefined' &&
|
|
229
|
-
typeof args.options.enableGuestsToMake === 'undefined' &&
|
|
230
|
-
typeof args.options.disableMembersIndicator === 'undefined' &&
|
|
231
|
-
typeof args.options.disableMakerMatch === 'undefined' &&
|
|
232
|
-
typeof args.options.disablePreferredDataLocationForTeamsEnvironment === 'undefined' &&
|
|
233
|
-
typeof args.options.disableAdminDigest === 'undefined' &&
|
|
234
|
-
typeof args.options.disableDeveloperEnvironmentCreationByNonAdminUsers === 'undefined' &&
|
|
235
|
-
typeof args.options.disableBillingPolicyCreationByNonAdminUsers === 'undefined' &&
|
|
236
|
-
typeof args.options.storageCapacityConsumptionWarningThreshold === 'undefined' &&
|
|
237
|
-
typeof args.options.disableChampionsInvitationReachout === 'undefined' &&
|
|
238
|
-
typeof args.options.disableSkillsMatchInvitationReachout === 'undefined' &&
|
|
239
|
-
typeof args.options.disableCopilot === 'undefined' &&
|
|
240
|
-
typeof args.options.enableOpenAiBotPublishing === 'undefined' &&
|
|
241
|
-
typeof args.options.enableModelDataSharing === 'undefined') {
|
|
242
|
-
return 'Specify at least one option.';
|
|
243
|
-
}
|
|
244
|
-
return true;
|
|
245
|
-
});
|
|
246
|
-
};
|
|
247
158
|
export default new PpTenantSettingsSetCommand();
|
|
248
159
|
//# sourceMappingURL=tenant-settings-set.js.map
|
|
@@ -116,7 +116,7 @@ _SpoFolderAddCommand_instances = new WeakSet(), _SpoFolderAddCommand_initTelemet
|
|
|
116
116
|
option: '--color [color]',
|
|
117
117
|
autocomplete: Object.keys(FolderColorValues)
|
|
118
118
|
}, {
|
|
119
|
-
option: '--ensureParentFolders
|
|
119
|
+
option: '--ensureParentFolders'
|
|
120
120
|
});
|
|
121
121
|
}, _SpoFolderAddCommand_initValidators = function _SpoFolderAddCommand_initValidators() {
|
|
122
122
|
this.validators.push(async (args) => {
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# entra agent list
|
|
6
|
+
|
|
7
|
+
Retrieves a list of agents
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra agent list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-p, --properties [properties]`
|
|
19
|
+
: Comma-separated list of properties to be returned.
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
<Global />
|
|
23
|
+
|
|
24
|
+
## Remarks
|
|
25
|
+
|
|
26
|
+
Using the `--properties` option, you can specify a comma-separated list of agent properties to retrieve from the Microsoft Graph. If you don't specify any properties, the command will output the default properties returned by Graph.
|
|
27
|
+
|
|
28
|
+
## Permissions
|
|
29
|
+
|
|
30
|
+
<Tabs>
|
|
31
|
+
<TabItem value="Delegated">
|
|
32
|
+
|
|
33
|
+
| Resource | Permissions |
|
|
34
|
+
|-----------------|--------------------|
|
|
35
|
+
| Microsoft Graph | User.ReadBasic.All |
|
|
36
|
+
|
|
37
|
+
</TabItem>
|
|
38
|
+
<TabItem value="Application">
|
|
39
|
+
|
|
40
|
+
| Resource | Permissions |
|
|
41
|
+
|-----------------|--------------------|
|
|
42
|
+
| Microsoft Graph | User.ReadBasic.All |
|
|
43
|
+
|
|
44
|
+
</TabItem>
|
|
45
|
+
</Tabs>
|
|
46
|
+
|
|
47
|
+
## Examples
|
|
48
|
+
|
|
49
|
+
Retrieve all agents.
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
m365 entra agent list
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Retrieve id and name of all agents
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
m365 entra agent list --properties 'id,displayName'
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Response
|
|
62
|
+
|
|
63
|
+
<Tabs>
|
|
64
|
+
<TabItem value="JSON">
|
|
65
|
+
|
|
66
|
+
```json
|
|
67
|
+
[
|
|
68
|
+
{
|
|
69
|
+
"id": "819f4e7f-a913-448a-9b5c-2cae064cabe7",
|
|
70
|
+
"deletedDateTime": null,
|
|
71
|
+
"accountEnabled": true,
|
|
72
|
+
"ageGroup": null,
|
|
73
|
+
"businessPhones": [],
|
|
74
|
+
"city": null,
|
|
75
|
+
"companyName": null,
|
|
76
|
+
"consentProvidedForMinor": null,
|
|
77
|
+
"country": null,
|
|
78
|
+
"createdDateTime": "2026-07-14T04:19:25Z",
|
|
79
|
+
"creationType": null,
|
|
80
|
+
"department": null,
|
|
81
|
+
"displayName": "Sales Agent",
|
|
82
|
+
"employeeId": null,
|
|
83
|
+
"employeeHireDate": null,
|
|
84
|
+
"employeeLeaveDateTime": null,
|
|
85
|
+
"employeeType": null,
|
|
86
|
+
"externalUserState": null,
|
|
87
|
+
"externalUserStateChangeDateTime": null,
|
|
88
|
+
"faxNumber": null,
|
|
89
|
+
"givenName": null,
|
|
90
|
+
"isLicenseReconciliationNeeded": false,
|
|
91
|
+
"jobTitle": null,
|
|
92
|
+
"legalAgeGroupClassification": null,
|
|
93
|
+
"mail": null,
|
|
94
|
+
"mailNickname": "SalesAgent",
|
|
95
|
+
"mobilePhone": null,
|
|
96
|
+
"onPremisesDistinguishedName": null,
|
|
97
|
+
"onPremisesDomainName": null,
|
|
98
|
+
"onPremisesImmutableId": null,
|
|
99
|
+
"onPremisesLastSyncDateTime": null,
|
|
100
|
+
"onPremisesSecurityIdentifier": null,
|
|
101
|
+
"onPremisesSamAccountName": null,
|
|
102
|
+
"onPremisesSyncEnabled": null,
|
|
103
|
+
"onPremisesUserPrincipalName": null,
|
|
104
|
+
"otherMails": [],
|
|
105
|
+
"passwordPolicies": null,
|
|
106
|
+
"officeLocation": null,
|
|
107
|
+
"postalCode": null,
|
|
108
|
+
"preferredDataLocation": null,
|
|
109
|
+
"preferredLanguage": null,
|
|
110
|
+
"proxyAddresses": [],
|
|
111
|
+
"refreshTokensValidFromDateTime": null,
|
|
112
|
+
"imAddresses": [],
|
|
113
|
+
"isResourceAccount": null,
|
|
114
|
+
"showInAddressList": null,
|
|
115
|
+
"securityIdentifier": "S-1-12-1-2174701183-1149937939-2922142875-3869985798",
|
|
116
|
+
"signInSessionsValidFromDateTime": null,
|
|
117
|
+
"state": null,
|
|
118
|
+
"streetAddress": null,
|
|
119
|
+
"surname": null,
|
|
120
|
+
"usageLocation": null,
|
|
121
|
+
"userPrincipalName": "SalesAgent@contoso.com",
|
|
122
|
+
"externalUserConvertedOn": null,
|
|
123
|
+
"userType": "Member",
|
|
124
|
+
"identityParentId": "54d8c728-decb-477b-beb6-19570d8a51ab",
|
|
125
|
+
"agentIdentityBlueprintId": "822c92e8-29d7-4f83-903a-744d00628003",
|
|
126
|
+
"employeeOrgData": null,
|
|
127
|
+
"passwordProfile": null,
|
|
128
|
+
"identityParent": {
|
|
129
|
+
"id": "54d8c728-decb-477b-beb6-19570d8a51ab"
|
|
130
|
+
},
|
|
131
|
+
"assignedLicenses": [],
|
|
132
|
+
"assignedPlans": [],
|
|
133
|
+
"authorizationInfo": {
|
|
134
|
+
"certificateUserIds": []
|
|
135
|
+
},
|
|
136
|
+
"identities": [
|
|
137
|
+
{
|
|
138
|
+
"signInType": "userPrincipalName",
|
|
139
|
+
"issuer": "contoso.com",
|
|
140
|
+
"issuerAssignedId": "SalesAgent@contoso.com"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"onPremisesProvisioningErrors": [],
|
|
144
|
+
"onPremisesExtensionAttributes": {
|
|
145
|
+
"extensionAttribute1": null,
|
|
146
|
+
"extensionAttribute2": null,
|
|
147
|
+
"extensionAttribute3": null,
|
|
148
|
+
"extensionAttribute4": null,
|
|
149
|
+
"extensionAttribute5": null,
|
|
150
|
+
"extensionAttribute6": null,
|
|
151
|
+
"extensionAttribute7": null,
|
|
152
|
+
"extensionAttribute8": null,
|
|
153
|
+
"extensionAttribute9": null,
|
|
154
|
+
"extensionAttribute10": null,
|
|
155
|
+
"extensionAttribute11": null,
|
|
156
|
+
"extensionAttribute12": null,
|
|
157
|
+
"extensionAttribute13": null,
|
|
158
|
+
"extensionAttribute14": null,
|
|
159
|
+
"extensionAttribute15": null
|
|
160
|
+
},
|
|
161
|
+
"provisionedPlans": [],
|
|
162
|
+
"serviceProvisioningErrors": []
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
</TabItem>
|
|
168
|
+
<TabItem value="Text">
|
|
169
|
+
|
|
170
|
+
```text
|
|
171
|
+
displayName: Sales Agent
|
|
172
|
+
id : 819f4e7f-a913-448a-9b5c-2cae064cabe7
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
</TabItem>
|
|
176
|
+
<TabItem value="CSV">
|
|
177
|
+
|
|
178
|
+
```csv
|
|
179
|
+
id,deletedDateTime,accountEnabled,ageGroup,city,companyName,consentProvidedForMinor,country,createdDateTime,creationType,department,displayName,employeeId,employeeHireDate,employeeLeaveDateTime,employeeType,externalUserState,externalUserStateChangeDateTime,faxNumber,givenName,isLicenseReconciliationNeeded,jobTitle,legalAgeGroupClassification,mail,mailNickname,mobilePhone,onPremisesDistinguishedName,onPremisesDomainName,onPremisesImmutableId,onPremisesLastSyncDateTime,onPremisesSecurityIdentifier,onPremisesSamAccountName,onPremisesSyncEnabled,onPremisesUserPrincipalName,passwordPolicies,officeLocation,postalCode,preferredDataLocation,preferredLanguage,refreshTokensValidFromDateTime,isResourceAccount,showInAddressList,securityIdentifier,signInSessionsValidFromDateTime,state,streetAddress,surname,usageLocation,userPrincipalName,externalUserConvertedOn,userType,identityParentId,agentIdentityBlueprintId,employeeOrgData,passwordProfile
|
|
180
|
+
819f4e7f-a913-448a-9b5c-2cae064cabe7,,1,,,,,,2026-07-14T04:19:25Z,,,Sales Agent,,,,,,,,,0,,,,SalesAgent,,,,,,,,,,,,,,,,,,S-1-12-1-2174701183-1149937939-2922142875-3869985798,,,,,,SalesAgent@contoso.com,,Member,54d8c728-decb-477b-beb6-19570d8a51ab,822c92e8-29d7-4f83-903a-744d00628003,,
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
</TabItem>
|
|
184
|
+
<TabItem value="Markdown">
|
|
185
|
+
|
|
186
|
+
```md
|
|
187
|
+
# entra agent list --debug "false" --verbose "false"
|
|
188
|
+
|
|
189
|
+
Date: 7/14/2026
|
|
190
|
+
|
|
191
|
+
## Sales Agent (819f4e7f-a913-448a-9b5c-2cae064cabe7)
|
|
192
|
+
|
|
193
|
+
Property | Value
|
|
194
|
+
---------|-------
|
|
195
|
+
id | 819f4e7f-a913-448a-9b5c-2cae064cabe7
|
|
196
|
+
accountEnabled | true
|
|
197
|
+
createdDateTime | 2026-07-14T04:19:25Z
|
|
198
|
+
displayName | Sales Agent
|
|
199
|
+
isLicenseReconciliationNeeded | false
|
|
200
|
+
mailNickname | SalesAgent
|
|
201
|
+
securityIdentifier | S-1-12-1-2174701183-1149937939-2922142875-3869985798
|
|
202
|
+
userPrincipalName | SalesAgent@contoso.com
|
|
203
|
+
userType | Member
|
|
204
|
+
identityParentId | 54d8c728-decb-477b-beb6-19570d8a51ab
|
|
205
|
+
agentIdentityBlueprintId | 822c92e8-29d7-4f83-903a-744d00628003
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
</TabItem>
|
|
209
|
+
</Tabs>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo file version clear
|
|
4
6
|
|
|
@@ -28,6 +30,25 @@ m365 spo file version clear [options]
|
|
|
28
30
|
|
|
29
31
|
<Global />
|
|
30
32
|
|
|
33
|
+
## Permissions
|
|
34
|
+
|
|
35
|
+
<Tabs>
|
|
36
|
+
<TabItem value="Delegated">
|
|
37
|
+
|
|
38
|
+
| Resource | Permissions |
|
|
39
|
+
|------------|----------------|
|
|
40
|
+
| SharePoint | AllSites.Write |
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
<TabItem value="Application">
|
|
44
|
+
|
|
45
|
+
| Resource | Permissions |
|
|
46
|
+
|------------|---------------------|
|
|
47
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
</Tabs>
|
|
51
|
+
|
|
31
52
|
## Examples
|
|
32
53
|
|
|
33
54
|
Removes all file version history in a specific site based on fileId and prompts for confirmation.
|
|
@@ -30,6 +30,25 @@ m365 spo file version get [options]
|
|
|
30
30
|
|
|
31
31
|
<Global />
|
|
32
32
|
|
|
33
|
+
## Permissions
|
|
34
|
+
|
|
35
|
+
<Tabs>
|
|
36
|
+
<TabItem value="Delegated">
|
|
37
|
+
|
|
38
|
+
| Resource | Permissions |
|
|
39
|
+
|------------|---------------|
|
|
40
|
+
| SharePoint | AllSites.Read |
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
<TabItem value="Application">
|
|
44
|
+
|
|
45
|
+
| Resource | Permissions |
|
|
46
|
+
|------------|----------------|
|
|
47
|
+
| SharePoint | Sites.Read.All |
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
</Tabs>
|
|
51
|
+
|
|
33
52
|
## Examples
|
|
34
53
|
|
|
35
54
|
Get file version in a specific site based on fileId.
|
|
@@ -27,6 +27,25 @@ m365 spo file version list [options]
|
|
|
27
27
|
|
|
28
28
|
<Global />
|
|
29
29
|
|
|
30
|
+
## Permissions
|
|
31
|
+
|
|
32
|
+
<Tabs>
|
|
33
|
+
<TabItem value="Delegated">
|
|
34
|
+
|
|
35
|
+
| Resource | Permissions |
|
|
36
|
+
|------------|---------------|
|
|
37
|
+
| SharePoint | AllSites.Read |
|
|
38
|
+
|
|
39
|
+
</TabItem>
|
|
40
|
+
<TabItem value="Application">
|
|
41
|
+
|
|
42
|
+
| Resource | Permissions |
|
|
43
|
+
|------------|----------------|
|
|
44
|
+
| SharePoint | Sites.Read.All |
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
</Tabs>
|
|
48
|
+
|
|
30
49
|
## Examples
|
|
31
50
|
|
|
32
51
|
List file versions of a specific file based on the ID of the file.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo file version remove
|
|
4
6
|
|
|
@@ -31,6 +33,25 @@ m365 spo file version remove [options]
|
|
|
31
33
|
|
|
32
34
|
<Global />
|
|
33
35
|
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|------------|----------------|
|
|
43
|
+
| SharePoint | AllSites.Write |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|------------|---------------------|
|
|
50
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
34
55
|
## Examples
|
|
35
56
|
|
|
36
57
|
Removes a file version in a specific site based on fileId and prompts for confirmation.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo file version restore
|
|
4
6
|
|
|
@@ -31,6 +33,25 @@ m365 spo file version restore [options]
|
|
|
31
33
|
|
|
32
34
|
<Global />
|
|
33
35
|
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|------------|----------------|
|
|
43
|
+
| SharePoint | AllSites.Write |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|------------|---------------------|
|
|
50
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
34
55
|
## Examples
|
|
35
56
|
|
|
36
57
|
Restores a file version in a specific site based on fileId and prompts for confirmation.
|