@pnp/cli-microsoft365 7.1.0-beta.8536cf7 → 7.1.0-beta.99de250
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/dist/appInsights.js +5 -9
- package/dist/telemetry.js +30 -14
- package/dist/telemetryRunner.js +26 -0
- package/docs/docs/cmd/aad/license/license-list.mdx +21 -16
- package/docs/docs/cmd/aad/m365group/m365group-add.mdx +1 -1
- package/docs/docs/cmd/aad/user/user-add.mdx +2 -4
- package/docs/docs/cmd/aad/user/user-license-add.mdx +2 -4
- package/docs/docs/cmd/aad/user/user-license-list.mdx +3 -5
- package/docs/docs/cmd/aad/user/user-recyclebinitem-list.mdx +1 -3
- package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.mdx +1 -3
- package/docs/docs/cmd/flow/environment/environment-get.mdx +3 -4
- package/docs/docs/cmd/flow/environment/environment-list.mdx +3 -4
- package/docs/docs/cmd/flow/owner/owner-list.mdx +2 -3
- package/docs/docs/cmd/flow/run/run-list.mdx +6 -8
- package/docs/docs/cmd/graph/schemaextension/schemaextension-list.mdx +2 -3
- package/docs/docs/cmd/onenote/page/page-list.mdx +6 -9
- package/docs/docs/cmd/outlook/message/message-get.mdx +5 -15
- package/docs/docs/cmd/outlook/message/message-list.mdx +5 -14
- package/docs/docs/cmd/outlook/room/room-list.mdx +3 -6
- package/docs/docs/cmd/outlook/roomlist/roomlist-list.mdx +1 -3
- package/docs/docs/cmd/pa/app/app-get.mdx +4 -7
- package/docs/docs/cmd/pa/app/app-list.mdx +4 -7
- package/docs/docs/cmd/pa/connector/connector-list.mdx +2 -4
- package/docs/docs/cmd/pa/environment/environment-get.mdx +2 -4
- package/docs/docs/cmd/pa/environment/environment-list.mdx +1 -3
- package/docs/docs/cmd/planner/plan/plan-add.mdx +4 -11
- package/docs/docs/cmd/planner/plan/plan-get.mdx +4 -9
- package/docs/docs/cmd/planner/plan/plan-list.mdx +3 -6
- package/docs/docs/cmd/planner/plan/plan-set.mdx +3 -9
- package/docs/docs/cmd/planner/roster/roster-member-add.mdx +2 -4
- package/docs/docs/cmd/planner/roster/roster-member-get.mdx +2 -4
- package/docs/docs/cmd/planner/roster/roster-member-list.mdx +1 -3
- package/docs/docs/cmd/planner/task/task-add.mdx +4 -14
- package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +2 -4
- package/docs/docs/cmd/planner/task/task-checklistitem-list.mdx +1 -3
- package/docs/docs/cmd/planner/task/task-get.mdx +0 -7
- package/docs/docs/cmd/planner/task/task-list.mdx +1 -5
- package/docs/docs/cmd/planner/task/task-reference-add.mdx +0 -2
- package/docs/docs/cmd/planner/task/task-reference-list.mdx +0 -2
- package/docs/docs/cmd/planner/task/task-set.mdx +4 -13
- package/docs/docs/cmd/planner/tenant/tenant-settings-list.mdx +1 -3
- package/docs/docs/cmd/planner/tenant/tenant-settings-set.mdx +3 -5
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +6 -8
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +4 -7
- package/docs/docs/cmd/pp/card/card-get.mdx +4 -8
- package/docs/docs/cmd/pp/card/card-list.mdx +0 -4
- package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +4 -6
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +3 -14
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +3 -14
- package/docs/docs/cmd/pp/environment/environment-get.mdx +3 -5
- package/docs/docs/cmd/pp/environment/environment-list.mdx +2 -4
- package/docs/docs/cmd/pp/gateway/gateway-get.mdx +0 -3
- package/docs/docs/cmd/pp/gateway/gateway-list.mdx +1 -4
- package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +4 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +3 -8
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +1 -3
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +1 -5
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +0 -2
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +1 -3
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +1 -3
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +3 -6
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +3 -5
- package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +4 -8
- package/docs/docs/cmd/spo/app/app-add.mdx +94 -7
- package/docs/docs/cmd/spo/app/app-deploy.mdx +11 -7
- package/docs/docs/cmd/spo/app/app-get.mdx +117 -8
- package/docs/docs/cmd/spo/app/app-install.mdx +9 -5
- package/docs/docs/cmd/spo/app/app-instance-list.mdx +85 -2
- package/docs/docs/cmd/spo/app/app-list.mdx +95 -3
- package/docs/docs/cmd/spo/app/app-remove.mdx +11 -7
- package/docs/docs/cmd/spo/app/app-retract.mdx +9 -5
- package/docs/docs/cmd/spo/app/app-teamspackage-download.mdx +12 -8
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +11 -7
- package/docs/docs/cmd/spo/app/app-upgrade.mdx +9 -5
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +4 -2
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +9 -7
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +6 -6
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +12 -6
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +4 -2
- package/docs/docs/cmd/spo/apppage/apppage-add.mdx +54 -5
- package/docs/docs/cmd/spo/apppage/apppage-set.mdx +8 -4
- package/docs/docs/cmd/spo/cdn/cdn-get.mdx +36 -1
- package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +7 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +48 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +8 -4
- package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +53 -3
- package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +7 -3
- package/docs/docs/cmd/spo/cdn/cdn-set.mdx +7 -3
- package/docs/docs/cmd/spo/commandset/commandset-add.mdx +6 -6
- package/docs/docs/cmd/spo/commandset/commandset-get.mdx +3 -5
- package/docs/docs/cmd/spo/commandset/commandset-list.mdx +6 -5
- package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +7 -3
- package/docs/docs/cmd/spo/commandset/commandset-set.mdx +6 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +148 -9
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.mdx +19 -15
- package/docs/docs/cmd/spo/contenttype/contenttype-field-set.mdx +12 -8
- package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +147 -8
- package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +115 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +8 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +8 -4
- package/docs/docs/cmd/spo/contenttypehub/contenttypehub-get.mdx +44 -0
- package/docs/docs/cmd/spo/customaction/customaction-add.mdx +12 -8
- package/docs/docs/cmd/spo/customaction/customaction-clear.mdx +10 -7
- package/docs/docs/cmd/spo/customaction/customaction-get.mdx +11 -15
- package/docs/docs/cmd/spo/customaction/customaction-list.mdx +87 -5
- package/docs/docs/cmd/spo/customaction/customaction-remove.mdx +17 -13
- package/docs/docs/cmd/spo/customaction/customaction-set.mdx +27 -23
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.mdx +29 -14
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-list.mdx +66 -5
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.mdx +4 -0
- package/docs/docs/cmd/spo/externaluser/externaluser-list.mdx +78 -7
- package/docs/docs/cmd/spo/feature/feature-disable.mdx +10 -6
- package/docs/docs/cmd/spo/feature/feature-enable.mdx +9 -5
- package/docs/docs/cmd/spo/feature/feature-list.mdx +52 -0
- package/docs/docs/cmd/spo/field/field-add.mdx +177 -11
- package/docs/docs/cmd/spo/field/field-get.mdx +175 -9
- package/docs/docs/cmd/spo/field/field-list.mdx +135 -8
- package/docs/docs/cmd/spo/field/field-remove.mdx +16 -12
- package/docs/docs/cmd/spo/field/field-set.mdx +15 -11
- package/docs/docs/cmd/spo/file/file-add.mdx +31 -27
- package/docs/docs/cmd/spo/file/file-checkin.mdx +13 -9
- package/docs/docs/cmd/spo/file/file-checkout.mdx +9 -5
- package/docs/docs/cmd/spo/file/file-copy.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-get.mdx +89 -18
- package/docs/docs/cmd/spo/file/file-list.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-move.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-remove.mdx +13 -9
- package/docs/docs/cmd/spo/file/file-rename.mdx +63 -5
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +4 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +7 -3
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +9 -5
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +10 -6
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +133 -5
- package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +21 -3
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +18 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +20 -3
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +2 -7
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +7 -7
- package/docs/docs/cmd/spo/file/file-version-get.mdx +28 -6
- package/docs/docs/cmd/spo/file/file-version-list.mdx +28 -6
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +8 -8
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +8 -8
- package/docs/docs/cmd/spo/folder/folder-add.mdx +3 -3
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-get.mdx +257 -3
- package/docs/docs/cmd/spo/folder/folder-list.mdx +3 -4
- package/docs/docs/cmd/spo/folder/folder-move.mdx +5 -5
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +6 -2
- package/docs/docs/cmd/spo/folder/folder-rename.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +3 -3
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +13 -8
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +8 -4
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +4 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +5 -1
- package/docs/docs/cmd/spo/group/group-add.mdx +78 -0
- package/docs/docs/cmd/spo/group/group-get.mdx +81 -3
- package/docs/docs/cmd/spo/group/group-list.mdx +74 -3
- package/docs/docs/cmd/spo/group/group-member-add.mdx +13 -21
- package/docs/docs/cmd/spo/group/group-member-list.mdx +80 -5
- package/docs/docs/cmd/spo/group/group-member-remove.mdx +4 -4
- package/docs/docs/cmd/spo/group/group-remove.mdx +10 -6
- package/docs/docs/cmd/spo/group/group-set.mdx +9 -5
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.mdx +36 -1
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.mdx +6 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +0 -2
- package/docs/docs/cmd/spo/list/list-add.mdx +0 -3
- package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +0 -2
- package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +0 -2
- package/docs/docs/cmd/spo/list/list-get.mdx +1 -4
- package/docs/docs/cmd/spo/list/list-list.mdx +0 -4
- package/docs/docs/cmd/spo/list/list-view-add.mdx +0 -3
- package/docs/docs/cmd/spo/list/list-view-get.mdx +9 -12
- package/docs/docs/cmd/spo/list/list-view-list.mdx +4 -7
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +8 -11
- package/docs/docs/cmd/spo/listitem/listitem-get.mdx +0 -2
- package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +4 -6
- package/docs/docs/cmd/spo/navigation/navigation-node-get.mdx +0 -2
- package/docs/docs/cmd/spo/navigation/navigation-node-list.mdx +4 -6
- package/docs/docs/cmd/spo/page/page-copy.mdx +4 -8
- package/docs/docs/cmd/spo/page/page-get.mdx +2 -5
- package/docs/docs/cmd/spo/page/page-list.mdx +1 -5
- package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +4 -4
- package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +6 -7
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +3 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +5 -3
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +4 -2
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +5 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +2 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +5 -2
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +4 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +5 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +3 -1
- package/docs/docs/cmd/teams/channel/channel-member-list.mdx +3 -5
- package/docs/docs/cmd/teams/channel/channel-member-set.mdx +0 -2
- package/docs/docs/cmd/teams/chat/chat-get.mdx +2 -4
- package/docs/docs/cmd/teams/chat/chat-list.mdx +1 -3
- package/docs/docs/cmd/teams/chat/chat-member-list.mdx +2 -4
- package/docs/docs/cmd/teams/message/message-get.mdx +0 -7
- package/docs/docs/cmd/teams/message/message-list.mdx +0 -6
- package/docs/docs/cmd/teams/message/message-reply-list.mdx +0 -6
- package/docs/docs/cmd/teams/tab/tab-add.mdx +10 -12
- package/docs/docs/cmd/teams/tab/tab-get.mdx +8 -10
- package/docs/docs/cmd/teams/tab/tab-list.mdx +4 -7
- package/docs/docs/cmd/teams/team/team-add.mdx +0 -7
- package/docs/docs/cmd/teams/team/team-get.mdx +0 -6
- package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +1 -1
- package/docs/docs/cmd/todo/task/task-add.mdx +9 -13
- package/docs/docs/cmd/todo/task/task-set.mdx +10 -14
- package/package.json +1 -1
package/dist/appInsights.js
CHANGED
|
@@ -9,7 +9,6 @@ import fs from 'fs';
|
|
|
9
9
|
import path from 'path';
|
|
10
10
|
import url from 'url';
|
|
11
11
|
import { app } from './utils/app.js';
|
|
12
|
-
import { pid } from './utils/pid.js';
|
|
13
12
|
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
|
|
14
13
|
const config = appInsights.setup('6b908c80-d09f-4cf6-8274-e54349a0149a');
|
|
15
14
|
config.setInternalLogging(false, false);
|
|
@@ -18,17 +17,14 @@ config.setInternalLogging(false, false);
|
|
|
18
17
|
// in the telemetry
|
|
19
18
|
const version = `${app.packageJson().version}${fs.existsSync(path.join(__dirname, `..${path.sep}src`)) ? '-dev' : ''}`;
|
|
20
19
|
const env = process.env.CLIMICROSOFT365_ENV !== undefined ? process.env.CLIMICROSOFT365_ENV : '';
|
|
21
|
-
appInsights.default.defaultClient
|
|
20
|
+
const appInsightsClient = appInsights.default.defaultClient;
|
|
21
|
+
appInsightsClient.commonProperties = {
|
|
22
22
|
version: version,
|
|
23
23
|
node: process.version,
|
|
24
|
-
shell: pid.getProcessName(process.ppid) || '',
|
|
25
24
|
env: env,
|
|
26
25
|
ci: Boolean(process.env.CI).toString()
|
|
27
26
|
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
crypto.createHash('sha256').update(appInsights.default.defaultClient.context.tags['ai.cloud.roleInstance']).digest('hex');
|
|
32
|
-
delete appInsights.default.defaultClient.context.tags['ai.cloud.role'];
|
|
33
|
-
export default appInsights.default.defaultClient;
|
|
27
|
+
appInsightsClient.context.tags['ai.cloud.roleInstance'] = crypto.createHash('sha256').update(appInsightsClient.context.tags['ai.cloud.roleInstance']).digest('hex');
|
|
28
|
+
appInsightsClient.context.tags['ai.cloud.role'];
|
|
29
|
+
export default appInsightsClient;
|
|
34
30
|
//# sourceMappingURL=appInsights.js.map
|
package/dist/telemetry.js
CHANGED
|
@@ -1,26 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import child_process from 'child_process';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import url from 'url';
|
|
4
|
+
import { Cli } from './cli/Cli.js';
|
|
5
|
+
import { settingsNames } from './settingsNames.js';
|
|
6
|
+
import { pid } from './utils/pid.js';
|
|
7
|
+
import { session } from './utils/session.js';
|
|
8
|
+
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
|
|
9
|
+
function trackTelemetry(object) {
|
|
10
|
+
try {
|
|
11
|
+
const child = child_process.spawn('node', [path.join(__dirname, 'telemetryRunner.js')], {
|
|
12
|
+
stdio: ['pipe', 'ignore', 'ignore'],
|
|
13
|
+
detached: true
|
|
14
|
+
});
|
|
15
|
+
child.unref();
|
|
16
|
+
object.shell = pid.getProcessName(process.ppid) || '';
|
|
17
|
+
object.session = session.getId(process.ppid);
|
|
18
|
+
child.stdin.write(JSON.stringify(object));
|
|
19
|
+
child.stdin.end();
|
|
20
|
+
}
|
|
21
|
+
catch { }
|
|
22
|
+
}
|
|
23
|
+
export const telemetry = {
|
|
24
|
+
trackEvent: (commandName, properties) => {
|
|
6
25
|
if (Cli.getInstance().getSettingWithDefaultValue(settingsNames.disableTelemetry, false)) {
|
|
7
26
|
return;
|
|
8
27
|
}
|
|
9
|
-
|
|
10
|
-
|
|
28
|
+
trackTelemetry({
|
|
29
|
+
commandName,
|
|
11
30
|
properties
|
|
12
31
|
});
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
trackException(exception) {
|
|
32
|
+
},
|
|
33
|
+
trackException: (exception) => {
|
|
16
34
|
if (Cli.getInstance().getSettingWithDefaultValue(settingsNames.disableTelemetry, false)) {
|
|
17
35
|
return;
|
|
18
36
|
}
|
|
19
|
-
|
|
37
|
+
trackTelemetry({
|
|
20
38
|
exception
|
|
21
39
|
});
|
|
22
|
-
appInsights.flush();
|
|
23
40
|
}
|
|
24
|
-
}
|
|
25
|
-
export const telemetry = new Telemetry();
|
|
41
|
+
};
|
|
26
42
|
//# sourceMappingURL=telemetry.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import appInsights from './appInsights.js';
|
|
2
|
+
import * as process from 'process';
|
|
3
|
+
import * as fs from 'fs';
|
|
4
|
+
process.stdin.setEncoding('utf8');
|
|
5
|
+
try {
|
|
6
|
+
// read from stdin
|
|
7
|
+
const input = fs.readFileSync(0, 'utf-8');
|
|
8
|
+
const data = JSON.parse(input);
|
|
9
|
+
const { commandName, properties, exception, shell, session } = data;
|
|
10
|
+
appInsights.commonProperties.shell = shell;
|
|
11
|
+
appInsights.context.tags['ai.session.id'] = session;
|
|
12
|
+
if (exception) {
|
|
13
|
+
appInsights.trackException({
|
|
14
|
+
exception
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
appInsights.trackEvent({
|
|
19
|
+
name: commandName,
|
|
20
|
+
properties
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
appInsights.flush();
|
|
24
|
+
}
|
|
25
|
+
catch { }
|
|
26
|
+
//# sourceMappingURL=telemetryRunner.js.map
|
|
@@ -18,7 +18,7 @@ m365 aad license list [options]
|
|
|
18
18
|
|
|
19
19
|
## Examples
|
|
20
20
|
|
|
21
|
-
List all licenses within the tenant
|
|
21
|
+
List all licenses within the tenant.
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
24
|
m365 aad license list
|
|
@@ -32,24 +32,30 @@ m365 aad license list
|
|
|
32
32
|
```json
|
|
33
33
|
[
|
|
34
34
|
{
|
|
35
|
+
"accountName": "contoso",
|
|
36
|
+
"accountId": "a9b44919-790b-4843-9b45-1923b8c3d61f",
|
|
37
|
+
"appliesTo": "User",
|
|
35
38
|
"capabilityStatus": "Enabled",
|
|
36
39
|
"consumedUnits": 1,
|
|
37
40
|
"id": "48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df",
|
|
38
41
|
"skuId": "c7df2760-2c81-4ef7-b578-5b5392b571df",
|
|
39
|
-
"skuPartNumber": "ENTERPRISEPREMIUM",
|
|
40
|
-
"
|
|
42
|
+
"skuPartNumber": "ENTERPRISEPREMIUM",
|
|
43
|
+
"subscriptionIds": [
|
|
44
|
+
"b079cd48-7a9e-4d8b-af82-60f3adefe53b"
|
|
45
|
+
],
|
|
41
46
|
"prepaidUnits": {
|
|
42
47
|
"enabled": 10000,
|
|
43
48
|
"suspended": 0,
|
|
44
|
-
"warning": 0
|
|
49
|
+
"warning": 0,
|
|
50
|
+
"lockedOut": 0
|
|
45
51
|
},
|
|
46
52
|
"servicePlans": [
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
{
|
|
54
|
+
"servicePlanId": "8c098270-9dd4-4350-9b30-ba4703f3b36b",
|
|
55
|
+
"servicePlanName": "ADALLOM_S_O365",
|
|
56
|
+
"provisioningStatus": "Success",
|
|
57
|
+
"appliesTo": "User"
|
|
58
|
+
}
|
|
53
59
|
]
|
|
54
60
|
}
|
|
55
61
|
]
|
|
@@ -68,8 +74,8 @@ m365 aad license list
|
|
|
68
74
|
<TabItem value="CSV">
|
|
69
75
|
|
|
70
76
|
```csv
|
|
71
|
-
id,skuId,skuPartNumber
|
|
72
|
-
48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df,c7df2760-2c81-4ef7-b578-5b5392b571df,ENTERPRISEPREMIUM
|
|
77
|
+
accountName,accountId,appliesTo,capabilityStatus,consumedUnits,id,skuId,skuPartNumber
|
|
78
|
+
contoso,a9b44919-790b-4843-9b45-1923b8c3d61f,User,Enabled,1,48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df,c7df2760-2c81-4ef7-b578-5b5392b571df,ENTERPRISEPREMIUM
|
|
73
79
|
```
|
|
74
80
|
|
|
75
81
|
</TabItem>
|
|
@@ -84,16 +90,15 @@ m365 aad license list
|
|
|
84
90
|
|
|
85
91
|
Property | Value
|
|
86
92
|
---------|-------
|
|
93
|
+
accountName | contoso
|
|
94
|
+
accountId | a9b44919-790b-4843-9b45-1923b8c3d61f
|
|
95
|
+
appliesTo | User
|
|
87
96
|
capabilityStatus | Enabled
|
|
88
97
|
consumedUnits | 1
|
|
89
98
|
id | 48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df
|
|
90
99
|
skuId | c7df2760-2c81-4ef7-b578-5b5392b571df
|
|
91
100
|
skuPartNumber | ENTERPRISEPREMIUM
|
|
92
|
-
appliesTo | User
|
|
93
|
-
prepaidUnits | {"enabled":10000,"suspended":0,"warning":0}
|
|
94
|
-
servicePlans | [{"servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b","servicePlanName": "ADALLOM_S_O365","provisioningStatus": "Success","appliesTo": "User"}]
|
|
95
101
|
```
|
|
96
102
|
|
|
97
103
|
</TabItem>
|
|
98
104
|
</Tabs>
|
|
99
|
-
|
|
@@ -31,7 +31,7 @@ m365 aad m365group add [options]
|
|
|
31
31
|
: Comma-separated list of Microsoft 365 Group members
|
|
32
32
|
|
|
33
33
|
`--visibility [visibility]`
|
|
34
|
-
: Specifies the group join policy and group content visibility for groups.
|
|
34
|
+
: Specifies the group join policy and group content visibility for groups. Allowed values: `Private`, `Public`, or `HiddenMembership`. Defaults to `Public`.
|
|
35
35
|
|
|
36
36
|
`--allowMembersToPost [allowMembersToPost]`
|
|
37
37
|
: Set if only group members should be able to post conversations to the group
|
|
@@ -22,7 +22,7 @@ m365 aad user add [options]
|
|
|
22
22
|
: The user principal name (someuser@contoso.com).
|
|
23
23
|
|
|
24
24
|
`--accountEnabled [accountEnabled]`
|
|
25
|
-
: Whether the account is enabled.
|
|
25
|
+
: Whether the account is enabled. Allowed values: `true`, `false`. Defaults to `true`.
|
|
26
26
|
|
|
27
27
|
`--mailNickname [mailNickname]`
|
|
28
28
|
: The mail alias for the user. By default this value will be extracted from `userName`.
|
|
@@ -73,7 +73,7 @@ m365 aad user add [options]
|
|
|
73
73
|
|
|
74
74
|
:::info
|
|
75
75
|
|
|
76
|
-
To use this command you must be a Global administrator, User administrator or Privileged Authentication administrator
|
|
76
|
+
To use this command you must be a Global administrator, User administrator or Privileged Authentication administrator.
|
|
77
77
|
|
|
78
78
|
:::
|
|
79
79
|
|
|
@@ -174,7 +174,6 @@ m365 aad user add --displayName "John Doe" --userName "john.doe@contoso.com" --m
|
|
|
174
174
|
Property | Value
|
|
175
175
|
---------|-------
|
|
176
176
|
id | 990e2425-f595-43bc-85ed-b89a44093793
|
|
177
|
-
businessPhones | []
|
|
178
177
|
displayName | John Doe
|
|
179
178
|
givenName | John
|
|
180
179
|
jobTitle | Sales Manager
|
|
@@ -189,4 +188,3 @@ m365 aad user add --displayName "John Doe" --userName "john.doe@contoso.com" --m
|
|
|
189
188
|
|
|
190
189
|
</TabItem>
|
|
191
190
|
</Tabs>
|
|
192
|
-
|
|
@@ -37,13 +37,13 @@ The user must have a `usageLocation` value in order to assign a license to it.
|
|
|
37
37
|
|
|
38
38
|
## Examples
|
|
39
39
|
|
|
40
|
-
Assign specific licenses to a specific user by UPN
|
|
40
|
+
Assign specific licenses to a specific user by UPN.
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
43
|
m365 aad user license add --userName "john.doe@contoso.com" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
Assign specific licenses from a specific user by ID
|
|
46
|
+
Assign specific licenses from a specific user by ID.
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
49
|
m365 aad user license add --userId "5c241023-2ba5-4ea8-a516-a2481a3e6c51" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
|
|
@@ -107,7 +107,6 @@ m365 aad user license add --userId "5c241023-2ba5-4ea8-a516-a2481a3e6c51" --ids
|
|
|
107
107
|
|
|
108
108
|
Property | Value
|
|
109
109
|
---------|-------
|
|
110
|
-
businessPhones | []
|
|
111
110
|
displayName | John Doe
|
|
112
111
|
givenName | null
|
|
113
112
|
jobTitle | null
|
|
@@ -122,4 +121,3 @@ m365 aad user license add --userId "5c241023-2ba5-4ea8-a516-a2481a3e6c51" --ids
|
|
|
122
121
|
|
|
123
122
|
</TabItem>
|
|
124
123
|
</Tabs>
|
|
125
|
-
|
|
@@ -79,9 +79,9 @@ m365 aad user license list --userId 59f80e08-24b1-41f8-8586-16765fd830d3
|
|
|
79
79
|
<TabItem value="Text">
|
|
80
80
|
|
|
81
81
|
```text
|
|
82
|
-
id
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
id skuId skuPartNumber
|
|
83
|
+
------------------------------------------- ------------------------------------ -----------------------------------------
|
|
84
|
+
x4s03usaBkSMs5fbAhyttK6cK8RP6rdKlxeBV2I1zKw c42b9cae-ea4f-4ab7-9717-81576235ccac DEVELOPERPACK_E5
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
</TabItem>
|
|
@@ -107,9 +107,7 @@ m365 aad user license list --userId 59f80e08-24b1-41f8-8586-16765fd830d3
|
|
|
107
107
|
id | x4s03usaBkSMs5fbAhyttK6cK8RP6rdKlxeBV2I1zKw
|
|
108
108
|
skuId | c42b9cae-ea4f-4ab7-9717-81576235ccac
|
|
109
109
|
skuPartNumber | DEVELOPERPACK\_E5
|
|
110
|
-
servicePlans | [{"servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653","servicePlanName":"YAMMER\_ENTERPRISE","provisioningStatus":"Success","appliesTo":"User"}]
|
|
111
110
|
```
|
|
112
111
|
|
|
113
112
|
</TabItem>
|
|
114
113
|
</Tabs>
|
|
115
|
-
|
|
@@ -18,7 +18,7 @@ m365 aad user recyclebinitem list [options]
|
|
|
18
18
|
|
|
19
19
|
## Examples
|
|
20
20
|
|
|
21
|
-
List all removed users
|
|
21
|
+
List all removed users.
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
24
|
m365 aad user recyclebinitem list
|
|
@@ -76,7 +76,6 @@ m365 aad user recyclebinitem list
|
|
|
76
76
|
|
|
77
77
|
Property | Value
|
|
78
78
|
---------|-------
|
|
79
|
-
businessPhones | []
|
|
80
79
|
displayName | John Doe
|
|
81
80
|
givenName | John Doe
|
|
82
81
|
jobTitle | Developer
|
|
@@ -91,4 +90,3 @@ m365 aad user recyclebinitem list
|
|
|
91
90
|
|
|
92
91
|
</TabItem>
|
|
93
92
|
</Tabs>
|
|
94
|
-
|
|
@@ -37,7 +37,7 @@ After running this command, it may take a minute before the user will reappear i
|
|
|
37
37
|
|
|
38
38
|
## Examples
|
|
39
39
|
|
|
40
|
-
Restore user from the recycle bin
|
|
40
|
+
Restore user from the recycle bin.
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
43
|
m365 aad user recyclebinitem restore --id 990e2425-f595-43bc-85ed-b89a44093793
|
|
@@ -102,7 +102,6 @@ m365 aad user recyclebinitem restore --id 990e2425-f595-43bc-85ed-b89a44093793
|
|
|
102
102
|
Property | Value
|
|
103
103
|
---------|-------
|
|
104
104
|
id | 990e2425-f595-43bc-85ed-b89a44093793
|
|
105
|
-
businessPhones | []
|
|
106
105
|
displayName | John Doe
|
|
107
106
|
givenName | John
|
|
108
107
|
jobTitle | Sales Manager
|
|
@@ -116,4 +115,3 @@ m365 aad user recyclebinitem restore --id 990e2425-f595-43bc-85ed-b89a44093793
|
|
|
116
115
|
|
|
117
116
|
</TabItem>
|
|
118
117
|
</Tabs>
|
|
119
|
-
|
|
@@ -33,13 +33,14 @@ If the environment with the name you specified doesn't exist, you will get the `
|
|
|
33
33
|
|
|
34
34
|
## Examples
|
|
35
35
|
|
|
36
|
-
Get information about a Microsoft Flow environment specified by name
|
|
36
|
+
Get information about a Microsoft Flow environment specified by name.
|
|
37
37
|
|
|
38
38
|
```sh
|
|
39
39
|
m365 flow environment get --name Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
Get information about the default Microsoft Flow environment
|
|
42
|
+
Get information about the default Microsoft Flow environment.
|
|
43
|
+
|
|
43
44
|
```sh
|
|
44
45
|
m365 flow environment get
|
|
45
46
|
```
|
|
@@ -162,7 +163,6 @@ m365 flow environment get
|
|
|
162
163
|
location | india
|
|
163
164
|
type | Microsoft.ProcessSimple/environments
|
|
164
165
|
id | /providers/Microsoft.ProcessSimple/environments/Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
165
|
-
properties | {"displayName":"contoso (default)","createdTime":"2019-12-21T18:32:11.8708704Z","createdBy":{"id":"SYSTEM","displayName": "SYSTEM","type": "NotSpecified"},"provisioningState":"Succeeded","creationType":"DefaultTenant","environmentSku":"Default","environmentType":"NotSpecified","states":{"management":{"id":"NotSpecified"},"runtime":{"runtimeReasonCode":"NotSpecified","requestedBy":{"displayName":"SYSTEM","type":"NotSpecified"},"id":"Enabled"}},"isDefault":true,"isPayAsYouGoEnabled":false,"azureRegionHint":"centralindia","runtimeEndpoints":{"microsoft.BusinessAppPlatform":"https://india.api.bap.microsoft.com","microsoft.CommonDataModel":"https://india.api.cds.microsoft.com","microsoft.PowerApps":"https://india.api.powerapps.com",microsoft.PowerAppsAdvisor":"https://india.api.advisor.powerapps.com","microsoft.PowerVirtualAgents":"https://powervamg.in-il101.gateway.prod.island.powerapps.com","microsoft.ApiManagement":"https://management.INDIA.azure-apihub.net","microsoft.Flow":"https://india.api.flow.microsoft.com"},"linkedEnvironmentMetadata":{"type":"NotSpecified","resourceId":"3aa550bf-52ac-42fc-98f7-5d1833c1501c","friendlyName":"contoso (default)","uniqueName":"orgfc80770f","domainName":"orgfc80770f","version":"9.2.22105.00154","instanceUrl":"https://orgfc80770f.crm8.dynamics.com/","instanceApiUrl":"https://orgfc80770f.api.crm8.dynamics.com","baseLanguage":1033,"instanceState":"Ready","createdTime":"2019-12-25T15:46:14.433Z"},"environmentFeatures":{"isOpenApiEnabled":false},"cluster":{"category":"Prod","number":"101","uriSuffix":"in-il101.gateway.prod.island","geoShortName":"IN","environment":"Prod"},"governanceConfiguration":{"protectionLevel":"Basic"}}
|
|
166
166
|
displayName | contoso (default)
|
|
167
167
|
provisioningState | Succeeded
|
|
168
168
|
environmentSku | Default
|
|
@@ -172,4 +172,3 @@ m365 flow environment get
|
|
|
172
172
|
|
|
173
173
|
</TabItem>
|
|
174
174
|
</Tabs>
|
|
175
|
-
|
|
@@ -26,7 +26,7 @@ This command is based on an API that is currently in preview and is subject to c
|
|
|
26
26
|
|
|
27
27
|
## Examples
|
|
28
28
|
|
|
29
|
-
List Microsoft Flow environments in the current tenant
|
|
29
|
+
List Microsoft Flow environments in the current tenant.
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 flow environment list
|
|
@@ -127,8 +127,8 @@ m365 flow environment list
|
|
|
127
127
|
<TabItem value="CSV">
|
|
128
128
|
|
|
129
129
|
```csv
|
|
130
|
-
name,displayName
|
|
131
|
-
d87a7535-dd31-4437-bfe1-95340acd55c5,Contoso Environment
|
|
130
|
+
name,location,type,id,displayName
|
|
131
|
+
d87a7535-dd31-4437-bfe1-95340acd55c5,india,Microsoft.ProcessSimple/environments,/providers/Microsoft.ProcessSimple/environments/d87a7535-dd31-4437-bfe1-95340acd55c5,Contoso Environment
|
|
132
132
|
```
|
|
133
133
|
|
|
134
134
|
</TabItem>
|
|
@@ -152,4 +152,3 @@ m365 flow environment list
|
|
|
152
152
|
|
|
153
153
|
</TabItem>
|
|
154
154
|
</Tabs>
|
|
155
|
-
|
|
@@ -29,13 +29,13 @@ m365 flow owner list [options]
|
|
|
29
29
|
|
|
30
30
|
## Examples
|
|
31
31
|
|
|
32
|
-
Gets the owners by the name of the Power Automate flow within a specified environment
|
|
32
|
+
Gets the owners by the name of the Power Automate flow within a specified environment.
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
35
|
m365 flow owner list --environmentName Default-c5a5d746-3520-453f-8a69-780f8e44917e --flowName 72f2be4a-78c1-4220-a048-dbf557296a72
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Gets the owners by the name of the Power Automate flow within a specified environment with admin privileges
|
|
38
|
+
Gets the owners by the name of the Power Automate flow within a specified environment with admin privileges.
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
41
|
m365 flow owner list --environmentName Default-c5a5d746-3520-453f-8a69-780f8e44917e --flowName 72f2be4a-78c1-4220-a048-dbf557296a72 --asAdmin
|
|
@@ -96,7 +96,6 @@ m365 flow owner list --environmentName Default-c5a5d746-3520-453f-8a69-780f8e449
|
|
|
96
96
|
name | fe36f75e-c103-410b-a18a-2bf6df06ac3a
|
|
97
97
|
id | /providers/Microsoft.ProcessSimple/environments/Default-c5a5d746-3520-453f-8a69-780f8e44917e/flows/72f2be4a-78c1-4220-a048-dbf557296a72/permissions/fe36f75e-c103-410b-a18a-2bf6df06ac3a
|
|
98
98
|
type | /providers/Microsoft.ProcessSimple/environments/flows/permissions
|
|
99
|
-
properties | {"roleName":"Owner","permissionType":"Principal","principal":{"id":"fe36f75e-c103-410b-a18a-2bf6df06ac3a","type":"User"}}
|
|
100
99
|
```
|
|
101
100
|
|
|
102
101
|
</TabItem>
|
|
@@ -16,10 +16,10 @@ m365 flow run list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`--flowName <flowName>`
|
|
19
|
-
: The name of the Microsoft Flow to retrieve the runs for
|
|
19
|
+
: The name of the Microsoft Flow to retrieve the runs for.
|
|
20
20
|
|
|
21
21
|
`-e, --environmentName <environmentName>`
|
|
22
|
-
: The name of the environment to which the flow belongs
|
|
22
|
+
: The name of the environment to which the flow belongs.
|
|
23
23
|
|
|
24
24
|
`--status [status]`
|
|
25
25
|
: Filter the results to only flow runs with a given status: `Succeeded`, `Running`, `Failed` or `Cancelled`. By default all flow runs are listed.
|
|
@@ -50,25 +50,25 @@ If the Microsoft Flow with the name you specified doesn't exist, you will get th
|
|
|
50
50
|
|
|
51
51
|
## Examples
|
|
52
52
|
|
|
53
|
-
List runs of the specified Microsoft Flow
|
|
53
|
+
List runs of the specified Microsoft Flow.
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
56
|
m365 flow run list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
List runs of the specified Microsoft Flow with a specific status
|
|
59
|
+
List runs of the specified Microsoft Flow with a specific status.
|
|
60
60
|
|
|
61
61
|
```sh
|
|
62
62
|
m365 flow run list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --status Running
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
List runs of the specified Microsoft Flow between a specific time range
|
|
65
|
+
List runs of the specified Microsoft Flow between a specific time range.
|
|
66
66
|
|
|
67
67
|
```sh
|
|
68
68
|
m365 flow run list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --triggerStartTime 2023-01-21T18:19:00Z --triggerEndTime 2023-01-22T00:00:00Z
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
List runs of the specified Microsoft Flow owned by another user
|
|
71
|
+
List runs of the specified Microsoft Flow owned by another user.
|
|
72
72
|
|
|
73
73
|
```sh
|
|
74
74
|
m365 flow run list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --asAdmin
|
|
@@ -158,11 +158,9 @@ m365 flow run list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c
|
|
|
158
158
|
name | 08585329112602833828909892130CU17
|
|
159
159
|
id | /providers/Microsoft.ProcessSimple/environments/Default-de348bc7-1aeb-4406-8cb3-97db021cadb4/flows/170fb67e-a514-4d84-8727-582022bd13a9/runs/08585329112602833828909892130CU17
|
|
160
160
|
type | Microsoft.ProcessSimple/environments/flows/runs
|
|
161
|
-
properties | {"startTime":"2022-11-17T14:33:45.2763872Z","status":"Running","correlation":{"clientTrackingId":"08585329112602833829909892130CU00"},"trigger":{"name":"When_a_new_response_is_submitted","inputsLink":{"uri":"https://prod-08.centralindia.logic.azure.com:443/workflows/f7bf8f6b5c494e63bfc21b54087a596e/runs/08585329112602833828909892130CU17/contents/TriggerInputs?api-version=2016-06-01&se=2022-11-17T18%3A00%3A00.0000000Z&sp=%2Fruns%2F08585329112602833828909892130CU17%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=jmdMRWvY7uGoxTmqd3_a2bJtegXuVyuKTKKUVLiwh38","contentVersion":"6ZrBBE+MJg7IvhMgyJLMmA==","contentSize":349,"contentHash":{"algorithm":"md5","value":"6ZrBBE+MJg7IvhMgyJLMmA=="}},"outputsLink":{"uri":"https://prod-08.centralindia.logic.azure.com:443/workflows/f7bf8f6b5c494e63bfc21b54087a596e/runs/08585329112602833828909892130CU17/contents/TriggerOutputs?api-version=2016-06-01&se=2022-11-17T18%3A00%3A00.0000000Z&sp=%2Fruns%2F08585329112602833828909892130CU17%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=Y3qqjuWrrcQJrmF7uvm6LVzQy5w-dNOFWJ8Yt8khXvA","contentVersion":"Z/4a8tfYygNAR1xpc44iww==","contentSize":493,"contentHash":{"algorithm":"md5","value":"Z/4a8tfYygNAR1xpc44iww=="}},"startTime":"2022-11-17T14:33:45.1914506Z","endTime":"2022-11-17T14:33:45.1914506Z","originHistoryName":"08585329112602833829909892130CU00","correlation":{"clientTrackingId":"08585329112602833829909892130CU00"},"status":"Succeeded"}}
|
|
162
161
|
startTime | 2022-11-17T14:33:45.2763872Z
|
|
163
162
|
status | Running
|
|
164
163
|
```
|
|
165
164
|
|
|
166
165
|
</TabItem>
|
|
167
166
|
</Tabs>
|
|
168
|
-
|
|
@@ -42,13 +42,13 @@ Get a list of schemaExtension objects created in the current tenant, that can be
|
|
|
42
42
|
m365 graph schemaextension list
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Get a list of schemaExtension objects created in the current tenant, with owner
|
|
45
|
+
Get a list of schemaExtension objects created in the current tenant, with the specified owner.
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
48
|
m365 graph schemaextension list --owner 617720dc-85fc-45d7-a187-cee75eaf239e
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
Get a list of schemaExtension objects created in the current tenant, with owner
|
|
51
|
+
Get a list of schemaExtension objects created in the current tenant, with the specified owner and return the third page of results of 10.
|
|
52
52
|
|
|
53
53
|
```sh
|
|
54
54
|
m365 graph schemaextension list --owner 617720dc-85fc-45d7-a187-cee75eaf239e --pageNumber 2 --pageSize 10
|
|
@@ -116,7 +116,6 @@ m365 graph schemaextension list --owner 617720dc-85fc-45d7-a187-cee75eaf239e --p
|
|
|
116
116
|
description | sample description
|
|
117
117
|
status | Available
|
|
118
118
|
owner | 617720dc-85fc-45d7-a187-cee75eaf239e
|
|
119
|
-
properties | [{"name":"p1","type":"String"},{"name":"p2","type":"String"}]
|
|
120
119
|
```
|
|
121
120
|
|
|
122
121
|
</TabItem>
|
|
@@ -39,37 +39,37 @@ When we don't specify either `userId`, `userName`, `groupId`, `groupName` or `we
|
|
|
39
39
|
|
|
40
40
|
## Examples
|
|
41
41
|
|
|
42
|
-
List Microsoft OneNote pages for the currently logged in user
|
|
42
|
+
List Microsoft OneNote pages for the currently logged in user.
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
45
|
m365 onenote page list
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
List Microsoft OneNote pages in a specific group specified by id
|
|
48
|
+
List Microsoft OneNote pages in a specific group specified by id.
|
|
49
49
|
|
|
50
50
|
```sh
|
|
51
51
|
m365 onenote page list --groupId 233e43d0-dc6a-482e-9b4e-0de7a7bce9b4
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
List Microsoft OneNote pages in a specific group specified by name
|
|
54
|
+
List Microsoft OneNote pages in a specific group specified by name.
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
57
|
m365 onenote page list --groupName "MyGroup"
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
List Microsoft OneNote pages for a specific user specified by name
|
|
60
|
+
List Microsoft OneNote pages for a specific user specified by name.
|
|
61
61
|
|
|
62
62
|
```sh
|
|
63
63
|
m365 onenote page list --userName user1@contoso.onmicrosoft.com
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
-
List Microsoft OneNote pages for a specific user specified by id
|
|
66
|
+
List Microsoft OneNote pages for a specific user specified by id.
|
|
67
67
|
|
|
68
68
|
```sh
|
|
69
69
|
m365 onenote page list --userId 2609af39-7775-4f94-a3dc-0dd67657e900
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
List Microsoft OneNote pages for a specific site
|
|
72
|
+
List Microsoft OneNote pages for a specific site.
|
|
73
73
|
|
|
74
74
|
```sh
|
|
75
75
|
m365 onenote page list --webUrl https://contoso.sharepoint.com/sites/testsite
|
|
@@ -145,10 +145,7 @@ m365 onenote page list --webUrl https://contoso.sharepoint.com/sites/testsite
|
|
|
145
145
|
createdByAppId |
|
|
146
146
|
contentUrl | https://graph.microsoft.com/v1.0/users/john@contoso.com/onenote/pages/1-a26aaec43ed348bd82edf4eb44e73d6c!68-3eb21088-b613-4698-98df-92a7d34e0678/content
|
|
147
147
|
lastModifiedDateTime | 2023-01-07T10:57:17Z
|
|
148
|
-
links | { "oneNoteClientUrl": { "href": "onenote:https://contoso-my.sharepoint.com/personal/john_contoso_com/Documents/Notitieblokken/My%20OneNote/Test.one#Page%20B& -id=94cacaca-d6b5-428d-b967-d3cf01b95c28&page-id=46a1b220-7ffd-4512-a571-55322097c08d&end" }, "oneNoteWebUrl": { "href": "https://contoso-my.sharepoint.com/personal/john_contoso_com/Documents/Notitieblokken/My%20OneNote?wd=target%28Test.one%7C94cacaca-d6b5-428d-b967-d3cf01b95c28%2FPage%20B%7C46a1b220-7ffd-4512-a571-55322097c08d%2F%29"}}
|
|
149
|
-
parentSection | {"id":"1-3eb21088-b613-4698-98df-92a7d34e0678","displayName":"Test","self":"https://graph.microsoft.com/v1.0/users/john@contoso.com/onenote/sections/1-3eb21088-b613-4698-98df-92a7d34e0678"}
|
|
150
148
|
```
|
|
151
149
|
|
|
152
150
|
</TabItem>
|
|
153
151
|
</Tabs>
|
|
154
|
-
|
|
@@ -16,7 +16,7 @@ m365 outlook message get [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-i, --id <id>`
|
|
19
|
-
: ID of the message
|
|
19
|
+
: ID of the message.
|
|
20
20
|
|
|
21
21
|
`--userId [userId]`
|
|
22
22
|
: ID of the user from which to retrieve the message. Specify either `userId` or `userPrincipalName`, but not both. This option is required when using application permissions.
|
|
@@ -29,25 +29,25 @@ m365 outlook message get [options]
|
|
|
29
29
|
|
|
30
30
|
## Examples
|
|
31
31
|
|
|
32
|
-
Get a specific message using delegated permissions
|
|
32
|
+
Get a specific message using delegated permissions.
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
35
|
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA=
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Get a specific message using delegated permissions from a shared mailbox
|
|
38
|
+
Get a specific message using delegated permissions from a shared mailbox.
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
41
|
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userPrincipalName sharedmailbox@tenant.com
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
Get a specific message from a specific user retrieved by user ID using application permissions
|
|
44
|
+
Get a specific message from a specific user retrieved by user ID using application permissions.
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
47
|
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userId 6799fd1a-723b-4eb7-8e52-41ae530274ca
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
Get a specific message from a specific user retrieved by user principal name using application permissions
|
|
50
|
+
Get a specific message from a specific user retrieved by user principal name using application permissions.
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
53
|
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userPrincipalName user@tenant.com
|
|
@@ -173,7 +173,6 @@ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYm
|
|
|
173
173
|
createdDateTime | 2023-01-26T19:22:44Z
|
|
174
174
|
lastModifiedDateTime | 2023-01-26T19:22:46Z
|
|
175
175
|
changeKey | CQAAABYAAAAhebtol4HnTZCmNsr9Gnh6AAPk7Plc
|
|
176
|
-
categories | []
|
|
177
176
|
receivedDateTime | 2023-01-26T19:22:45Z
|
|
178
177
|
sentDateTime | 2023-01-26T19:22:42Z
|
|
179
178
|
hasAttachments | true
|
|
@@ -190,16 +189,7 @@ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYm
|
|
|
190
189
|
isDraft | false
|
|
191
190
|
webLink | https://outlook.office365.com/owa/?ItemID=AAMkAGUzZWVmZWU4LTM5ZmItNDA4My04OTIzLWY1MGUxNzdiYTQ0MQBGAAAAAABn1FpEFqPeR7YAnkzP%2BVgXBwAhebtol4HnTZCmNsr9Gnh6AAAAAAEMAAAhebtol4HnTZCmNsr9Gnh6AAPfHbtVAAA%3D&exvsurl=1&viewmodel=ReadMessageItem
|
|
192
191
|
inferenceClassification | focused
|
|
193
|
-
body | {"contentType":"html","content":"<html><head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><style type=\"text/css\" style=\"display:none\">\r\n<!--\r\np\r\n\t{margin-top:0;\r\n\tmargin-bottom:0}\r\n-->\r\n</style></head><body dir=\"ltr\"><div class=\"elementToProof ContentPasted0\" style=\"font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis vel diam gravida, auctor mauris nec, posuere tellus. Vivamus placerat, nunc ac cursus feugiat, arcu tellus mattis nisl, id cursus nisl lectus eu lacus. Praesent malesuada ut orci vitae viverra. Suspendisse cursus turpis vel urna volutpat congue. Etiam auctor nec nulla sed suscipit. Vestibulum rhoncus quis mi ac faucibus. Curabitur eget eleifend felis. Vestibulum ut dolor non elit molestie ornare. <br></div></body></html>"}
|
|
194
|
-
sender | {"emailAddress":{"name":"John Doe","address":"john.doe@contoso.com"}}
|
|
195
|
-
from | {"emailAddress":{"name":"John Doe","address":"john.doe@contoso.com"}}
|
|
196
|
-
toRecipients | [{"emailAddress":{"name":"Megan Bowen","address":"megan.bowen@contoso.com"}}]
|
|
197
|
-
ccRecipients | []
|
|
198
|
-
bccRecipients | []
|
|
199
|
-
replyTo | []
|
|
200
|
-
flag | {"flagStatus":"notFlagged"}
|
|
201
192
|
```
|
|
202
193
|
|
|
203
194
|
</TabItem>
|
|
204
195
|
</Tabs>
|
|
205
|
-
|