@pnp/cli-microsoft365 7.1.0-beta.aca68bd → 7.1.0-beta.bcf9db3
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/.devcontainer/Dockerfile +0 -1
- package/.eslintrc.cjs +1 -0
- package/Dockerfile +0 -1
- package/dist/Auth.js +1 -1
- package/dist/Command.js +18 -28
- package/dist/appInsights.js +5 -9
- package/dist/cli/Cli.js +9 -4
- package/dist/m365/aad/commands/group/group-user-list.js +146 -0
- package/dist/m365/aad/commands/m365group/m365group-remove.js +109 -15
- package/dist/m365/aad/commands.js +1 -0
- package/dist/m365/cli/commands/cli-doctor.js +11 -6
- package/dist/m365/commands/setup.js +2 -1
- package/dist/m365/spo/commands/app/app-deploy.js +1 -1
- package/dist/m365/spo/commands/app/app-get.js +1 -1
- package/dist/m365/spo/commands/app/app-teamspackage-download.js +1 -1
- package/dist/m365/spo/commands/apppage/apppage-add.js +1 -1
- package/dist/m365/spo/commands/feature/feature-disable.js +8 -6
- package/dist/m365/spo/commands/feature/feature-enable.js +6 -5
- package/dist/m365/spo/commands/page/Page.js +1 -1
- package/dist/m365/spo/commands/page/page-add.js +1 -1
- package/dist/m365/spo/commands/page/page-get.js +1 -1
- package/dist/m365/spo/commands/page/page-header-set.js +1 -1
- package/dist/m365/spo/commands/page/page-remove.js +1 -1
- package/dist/m365/spo/commands/page/page-set.js +2 -2
- package/dist/m365/spo/commands/page/page-text-add.js +1 -1
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +15 -14
- package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +22 -22
- package/dist/m365/spo/commands/user/user-get.js +7 -1
- package/dist/m365/todo/commands/task/task-list.js +8 -10
- package/dist/m365/todo/commands/task/task-remove.js +36 -36
- package/dist/m365/todo/commands/task/task-set.js +11 -13
- package/dist/m365/yammer/commands/group/group-user-remove.js +22 -23
- package/dist/telemetry.js +30 -14
- package/dist/telemetryRunner.js +26 -0
- package/dist/utils/odata.js +20 -19
- package/dist/utils/prompt.js +16 -0
- package/docs/docs/cmd/aad/group/group-user-list.mdx +135 -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/m365group/m365group-remove.mdx +11 -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/spo/user/user-get.mdx +6 -0
- 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/eslint-rules/lib/index.js +2 -1
- package/eslint-rules/lib/rules/no-by-server-relative-url-usage.js +55 -0
- package/npm-shrinkwrap.json +86 -82
- package/package.json +52 -31
package/dist/utils/odata.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import request from "../request.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
items = items.concat(nextPageItems);
|
|
19
|
-
}
|
|
20
|
-
return items;
|
|
2
|
+
async function getAllItems(param1, metadata) {
|
|
3
|
+
let items = [];
|
|
4
|
+
const requestOptions = typeof param1 !== 'string' ? param1 : {
|
|
5
|
+
url: param1,
|
|
6
|
+
headers: {
|
|
7
|
+
accept: `application/json;odata.metadata=${metadata ?? 'none'}`,
|
|
8
|
+
'odata-version': '4.0'
|
|
9
|
+
},
|
|
10
|
+
responseType: 'json'
|
|
11
|
+
};
|
|
12
|
+
const res = await request.get(requestOptions);
|
|
13
|
+
items = res.value;
|
|
14
|
+
const nextLink = res['@odata.nextLink'] ?? res.nextLink;
|
|
15
|
+
if (nextLink) {
|
|
16
|
+
const nextPageItems = await odata.getAllItems({ ...requestOptions, url: nextLink });
|
|
17
|
+
items = items.concat(nextPageItems);
|
|
21
18
|
}
|
|
19
|
+
return items;
|
|
20
|
+
}
|
|
21
|
+
export const odata = {
|
|
22
|
+
getAllItems
|
|
22
23
|
};
|
|
23
24
|
//# sourceMappingURL=odata.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Cli } from '../cli/Cli.js';
|
|
2
|
+
import { settingsNames } from '../settingsNames.js';
|
|
3
|
+
let inquirer;
|
|
4
|
+
export const prompt = {
|
|
5
|
+
/* c8 ignore next 10 */
|
|
6
|
+
async forInput(config, answers) {
|
|
7
|
+
if (!inquirer) {
|
|
8
|
+
inquirer = await import('inquirer');
|
|
9
|
+
}
|
|
10
|
+
const cli = Cli.getInstance();
|
|
11
|
+
const errorOutput = cli.getSettingWithDefaultValue(settingsNames.errorOutput, 'stderr');
|
|
12
|
+
const prompt = inquirer.createPromptModule({ output: errorOutput === 'stderr' ? process.stderr : process.stdout });
|
|
13
|
+
return await prompt(config, answers);
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=prompt.js.map
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# aad group user list
|
|
6
|
+
|
|
7
|
+
Lists users of a specific Azure AD group
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 aad group user list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --groupId [groupId]`
|
|
19
|
+
: The ID of the Azure AD group. Specify `groupId` or `groupDisplayName` but not both.
|
|
20
|
+
|
|
21
|
+
`-n, --groupDisplayName [groupDisplayName]`
|
|
22
|
+
: The display name of the Azure AD group. Specify `groupId` or `groupDisplayName` but not both.
|
|
23
|
+
|
|
24
|
+
`-r, --role [role]`
|
|
25
|
+
: Filter the results to only users with the given role: `Owner`, `Member`.
|
|
26
|
+
|
|
27
|
+
`-p, --properties [properties]`
|
|
28
|
+
: Comma-separated list of properties to retrieve.
|
|
29
|
+
|
|
30
|
+
`-f, --filter [filter]`
|
|
31
|
+
: OData filter to use to query the list of users with.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
When the `properties` option includes values with a `/`, for example: `manager/displayName`, an additional `$expand` query parameter will be included on `manager`.
|
|
39
|
+
|
|
40
|
+
## Examples
|
|
41
|
+
|
|
42
|
+
List all group users from a group specified by ID.
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
m365 aad group user list --groupId 03cba9da-3974-46c1-afaf-79caa2e45bbe
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
List all owners from a group specified by display name.
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 aad group user list --groupDisplayName Developers --role Owner
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
List all group users from a group specified by name. For each one return the display name, e-mail address, and manager display name.
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 aad group user list --groupDisplayName Developers --properties "displayName,mail,manager/displayName"
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
List all group users from a group specified by name. For each one return the display name, e-mail address, and manager information.
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
m365 aad group user list --groupDisplayName Developers --properties "displayName,mail,manager/*"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
List all group members that are guest users.
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
m365 aad group user list --groupDisplayName Developers --filter "userType eq 'Guest'"
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Response
|
|
73
|
+
|
|
74
|
+
<Tabs>
|
|
75
|
+
<TabItem value="JSON">
|
|
76
|
+
|
|
77
|
+
```json
|
|
78
|
+
[
|
|
79
|
+
{
|
|
80
|
+
"id": "da52218e-4822-4ac6-b41d-255e2059655e",
|
|
81
|
+
"displayName": "Adele Vance",
|
|
82
|
+
"userPrincipalName": "AdeleV@contoso.OnMicrosoft.com",
|
|
83
|
+
"givenName": "Adele",
|
|
84
|
+
"surname": "Vance",
|
|
85
|
+
"roles": [
|
|
86
|
+
"Owner",
|
|
87
|
+
"Member"
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
</TabItem>
|
|
94
|
+
<TabItem value="Text">
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
id displayName userPrincipalName roles
|
|
98
|
+
------------------------------------ -------------------- ------------------------------------ --------
|
|
99
|
+
da52218e-4822-4ac6-b41d-255e2059655e Adele Vance AdeleV@contoso.OnMicrosoft.com Owner,Member
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
</TabItem>
|
|
103
|
+
<TabItem value="CSV">
|
|
104
|
+
|
|
105
|
+
```csv
|
|
106
|
+
id,displayName,userPrincipalName,givenName,surname
|
|
107
|
+
da52218e-4822-4ac6-b41d-255e2059655e,Adele Vance,AdeleV@contoso.OnMicrosoft.com,Adele,Vance
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
</TabItem>
|
|
111
|
+
<TabItem value="Markdown">
|
|
112
|
+
|
|
113
|
+
```md
|
|
114
|
+
# aad group user list --groupId "1deaa428-8dde-4043-b028-5492226d6114"
|
|
115
|
+
|
|
116
|
+
Date: 2023-10-02
|
|
117
|
+
|
|
118
|
+
## Adele Vance (da52218e-4822-4ac6-b41d-255e2059655e)
|
|
119
|
+
|
|
120
|
+
Property | Value
|
|
121
|
+
---------|-------
|
|
122
|
+
id | da52218e-4822-4ac6-b41d-255e2059655e
|
|
123
|
+
displayName | Adele Vance
|
|
124
|
+
userPrincipalName | AdeleV@contoso.OnMicrosoft.com
|
|
125
|
+
givenName | Adele
|
|
126
|
+
surname | Vance
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
</TabItem>
|
|
130
|
+
</Tabs>
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
## More information
|
|
134
|
+
|
|
135
|
+
- View the documentation to see what userproperties can be included: [https://pnp.github.io/cli-microsoft365/cmd/aad/user/user-get#more-information](https://pnp.github.io/cli-microsoft365/cmd/aad/user/user-get#more-information)
|
|
@@ -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
|
|
@@ -27,7 +27,17 @@ m365 aad m365group remove [options]
|
|
|
27
27
|
|
|
28
28
|
## Remarks
|
|
29
29
|
|
|
30
|
-
If the specified _id_ doesn't refer to an existing group, you will get a `Resource does not exist` error.
|
|
30
|
+
If the specified _id_ doesn't refer to an existing group, you will get a `Resource does not exist` error. Additionally, if you do not have access to the group or the associated group-connected site, you will get an `Access denied` error.
|
|
31
|
+
|
|
32
|
+
When you use `--skipRecycleBin` flag to remove a Microsoft 365 group permanently, the process involves deleting the associated group-connected site and the group, and then checking if the group has been moved to the deleted groups list. In some cases, it may take a few seconds for the group to appear in the deleted groups list.
|
|
33
|
+
|
|
34
|
+
To ensure a smooth deletion process, the command employs a retry mechanism with the following parameters:
|
|
35
|
+
|
|
36
|
+
- `maxRetries`: This parameter is set to 10 by default. It specifies the maximum number of times the command will check if the group has been moved to the deleted groups list.
|
|
37
|
+
|
|
38
|
+
- `intervalInMs`: This parameter is set to 5000 milliseconds (5 seconds) by default. It defines the time interval between each retry attempt.
|
|
39
|
+
|
|
40
|
+
If the group is successfully moved to the deleted groups list within the specified number of retries, the command will then proceed to permanently remove it from the tenant. If the group cannot be removed after all retries, it will remain in the deleted groups list.
|
|
31
41
|
|
|
32
42
|
## Examples
|
|
33
43
|
|
|
@@ -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
|
-
|