@pnp/cli-microsoft365 10.5.0-beta.b872a3f → 10.5.0
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/README.md +1 -1
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +61 -3
- package/dist/appInsights.js +10 -4
- package/dist/m365/booking/commands/business/business-get.js +0 -3
- package/dist/m365/commands/login.js +3 -0
- package/dist/m365/entra/commands/user/user-guest-add.js +0 -3
- package/dist/m365/flow/commands/environment/environment-get.js +0 -3
- package/dist/m365/flow/commands/flow-get.js +0 -3
- package/dist/m365/flow/commands/run/run-get.js +0 -3
- package/dist/m365/pa/commands/app/app-get.js +0 -3
- package/dist/m365/pa/commands/environment/environment-get.js +0 -3
- package/dist/m365/planner/commands/bucket/bucket-add.js +0 -3
- package/dist/m365/planner/commands/plan/plan-add.js +0 -3
- package/dist/m365/planner/commands/plan/plan-get.js +0 -3
- package/dist/m365/planner/commands/plan/plan-set.js +0 -3
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +0 -3
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +0 -3
- package/dist/m365/pp/commands/card/card-get.js +0 -3
- package/dist/m365/pp/commands/copilot/copilot-get.js +0 -3
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +0 -3
- package/dist/m365/pp/commands/environment/environment-get.js +0 -3
- package/dist/m365/pp/commands/solution/solution-get.js +0 -3
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +0 -3
- package/dist/m365/pp/commands/website/website-get.js +0 -3
- package/dist/m365/spo/commands/group/group-member-add.js +0 -3
- package/dist/m365/spo/commands/homesite/homesite-add.js +66 -0
- package/dist/m365/spo/commands/page/page-copy.js +0 -3
- package/dist/m365/spo/commands/page/page-get.js +0 -3
- package/dist/m365/spo/commands/page/page-header-set.js +47 -10
- package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +0 -3
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +0 -3
- package/dist/m365/todo/commands/list/list-get.js +0 -3
- package/dist/m365/todo/commands/task/task-get.js +0 -3
- package/dist/m365/viva/commands/engage/engage-community-user-add.js +113 -0
- package/dist/m365/viva/commands/engage/engage-community-user-remove.js +107 -0
- package/dist/m365/viva/commands/engage/engage-message-add.js +0 -3
- package/dist/m365/viva/commands/engage/engage-message-get.js +0 -3
- package/dist/m365/viva/commands/engage/engage-user-get.js +0 -3
- package/dist/m365/viva/commands.js +2 -0
- package/docs/docs/cmd/booking/business/business-get.mdx +13 -0
- package/docs/docs/cmd/entra/user/user-guest-add.mdx +11 -0
- package/docs/docs/cmd/flow/environment/environment-get.mdx +2 -0
- package/docs/docs/cmd/flow/flow-get.mdx +2 -0
- package/docs/docs/cmd/flow/run/run-get.mdx +17 -13
- package/docs/docs/cmd/login.mdx +9 -1
- package/docs/docs/cmd/pa/app/app-get.mdx +8 -2
- package/docs/docs/cmd/pa/environment/environment-get.mdx +5 -3
- package/docs/docs/cmd/planner/plan/plan-add.mdx +2 -0
- package/docs/docs/cmd/planner/plan/plan-get.mdx +8 -4
- package/docs/docs/cmd/planner/plan/plan-set.mdx +2 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +6 -3
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +12 -3
- package/docs/docs/cmd/pp/card/card-get.mdx +36 -5
- package/docs/docs/cmd/pp/copilot/copilot-get.mdx +41 -5
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +19 -4
- package/docs/docs/cmd/pp/environment/environment-get.mdx +5 -2
- package/docs/docs/cmd/pp/solution/solution-get.mdx +12 -7
- package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +12 -7
- package/docs/docs/cmd/pp/website/website-get.mdx +22 -4
- package/docs/docs/cmd/spo/group/group-member-add.mdx +12 -3
- package/docs/docs/cmd/spo/homesite/homesite-add.mdx +124 -0
- package/docs/docs/cmd/spo/page/page-copy.mdx +30 -4
- package/docs/docs/cmd/spo/page/page-get.mdx +44 -5
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +7 -0
- package/docs/docs/cmd/todo/list/list-get.mdx +7 -4
- package/docs/docs/cmd/todo/task/task-get.mdx +7 -2
- package/docs/docs/cmd/viva/engage/engage-community-user-add.mdx +67 -0
- package/docs/docs/cmd/viva/engage/engage-community-user-remove.mdx +55 -0
- package/docs/docs/cmd/viva/engage/engage-message-add.mdx +37 -12
- package/docs/docs/cmd/viva/engage/engage-message-get.mdx +27 -13
- package/docs/docs/cmd/viva/engage/engage-user-get.mdx +50 -8
- package/npm-shrinkwrap.json +97 -84
- package/package.json +15 -15
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
3
|
+
import { zod } from '../../../../utils/zod.js';
|
|
4
|
+
import GraphCommand from '../../../base/GraphCommand.js';
|
|
5
|
+
import commands from '../../commands.js';
|
|
6
|
+
import { validation } from '../../../../utils/validation.js';
|
|
7
|
+
import { vivaEngage } from '../../../../utils/vivaEngage.js';
|
|
8
|
+
import request from '../../../../request.js';
|
|
9
|
+
import { entraUser } from '../../../../utils/entraUser.js';
|
|
10
|
+
import { formatting } from '../../../../utils/formatting.js';
|
|
11
|
+
const options = globalOptionsZod
|
|
12
|
+
.extend({
|
|
13
|
+
communityId: z.string().optional(),
|
|
14
|
+
communityDisplayName: zod.alias('n', z.string().optional()),
|
|
15
|
+
entraGroupId: z.string()
|
|
16
|
+
.refine(id => validation.isValidGuid(id), id => ({
|
|
17
|
+
message: `'${id}' is not a valid GUID.`
|
|
18
|
+
})).optional(),
|
|
19
|
+
ids: z.string()
|
|
20
|
+
.refine(ids => validation.isValidGuidArray(ids) === true, invalidIds => ({
|
|
21
|
+
message: `The following GUIDs are invalid: ${invalidIds}.`
|
|
22
|
+
})).optional(),
|
|
23
|
+
userNames: z.string()
|
|
24
|
+
.refine(userNames => validation.isValidUserPrincipalNameArray(userNames) === true, invalidUserNames => ({
|
|
25
|
+
message: `The following user principal names are invalid: ${invalidUserNames}.`
|
|
26
|
+
})).optional(),
|
|
27
|
+
role: zod.alias('r', z.enum(['Admin', 'Member']))
|
|
28
|
+
})
|
|
29
|
+
.strict();
|
|
30
|
+
class VivaEngageCommunityUserAddCommand extends GraphCommand {
|
|
31
|
+
get name() {
|
|
32
|
+
return commands.ENGAGE_COMMUNITY_USER_ADD;
|
|
33
|
+
}
|
|
34
|
+
get description() {
|
|
35
|
+
return 'Adds a user to a specific Microsoft 365 Viva Engage community';
|
|
36
|
+
}
|
|
37
|
+
get schema() {
|
|
38
|
+
return options;
|
|
39
|
+
}
|
|
40
|
+
getRefinedSchema(schema) {
|
|
41
|
+
return schema
|
|
42
|
+
.refine(options => [options.communityId, options.communityDisplayName, options.entraGroupId].filter(x => x !== undefined).length === 1, {
|
|
43
|
+
message: 'Specify either communityId, communityDisplayName, or entraGroupId, but not multiple.'
|
|
44
|
+
})
|
|
45
|
+
.refine(options => options.communityId || options.communityDisplayName || options.entraGroupId, {
|
|
46
|
+
message: 'Specify at least one of communityId, communityDisplayName, or entraGroupId.'
|
|
47
|
+
})
|
|
48
|
+
.refine(options => options.ids || options.userNames, {
|
|
49
|
+
message: 'Specify either of ids or userNames.'
|
|
50
|
+
})
|
|
51
|
+
.refine(options => typeof options.userNames !== undefined && typeof options.ids !== undefined, {
|
|
52
|
+
message: 'Specify either ids or userNames, but not both.'
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
async commandAction(logger, args) {
|
|
56
|
+
try {
|
|
57
|
+
if (this.verbose) {
|
|
58
|
+
await logger.logToStderr('Adding users to community...');
|
|
59
|
+
}
|
|
60
|
+
let entraGroupId = args.options.entraGroupId;
|
|
61
|
+
if (args.options.communityDisplayName) {
|
|
62
|
+
const community = await vivaEngage.getCommunityByDisplayName(args.options.communityDisplayName, ['groupId']);
|
|
63
|
+
entraGroupId = community.groupId;
|
|
64
|
+
}
|
|
65
|
+
if (args.options.communityId) {
|
|
66
|
+
const community = await vivaEngage.getCommunityById(args.options.communityId, ['groupId']);
|
|
67
|
+
entraGroupId = community.groupId;
|
|
68
|
+
}
|
|
69
|
+
const userIds = args.options.ids ? formatting.splitAndTrim(args.options.ids) : await entraUser.getUserIdsByUpns(formatting.splitAndTrim(args.options.userNames));
|
|
70
|
+
const role = args.options.role === 'Member' ? 'members' : 'owners';
|
|
71
|
+
for (let i = 0; i < userIds.length; i += 400) {
|
|
72
|
+
const userIdsBatch = userIds.slice(i, i + 400);
|
|
73
|
+
const requestOptions = {
|
|
74
|
+
url: `${this.resource}/v1.0/$batch`,
|
|
75
|
+
headers: {
|
|
76
|
+
'content-type': 'application/json;odata.metadata=none'
|
|
77
|
+
},
|
|
78
|
+
responseType: 'json',
|
|
79
|
+
data: {
|
|
80
|
+
requests: []
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
// only 20 requests per one batch are allowed
|
|
84
|
+
for (let j = 0; j < userIdsBatch.length; j += 20) {
|
|
85
|
+
// only 20 users can be added in one request
|
|
86
|
+
const userIdsChunk = userIdsBatch.slice(j, j + 20);
|
|
87
|
+
requestOptions.data.requests.push({
|
|
88
|
+
id: j + 1,
|
|
89
|
+
method: 'PATCH',
|
|
90
|
+
url: `/groups/${entraGroupId}`,
|
|
91
|
+
headers: {
|
|
92
|
+
'content-type': 'application/json;odata.metadata=none'
|
|
93
|
+
},
|
|
94
|
+
body: {
|
|
95
|
+
[`${role}@odata.bind`]: userIdsChunk.map((u) => `${this.resource}/v1.0/directoryObjects/${u}`)
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
const res = await request.post(requestOptions);
|
|
100
|
+
for (const response of res.responses) {
|
|
101
|
+
if (response.status !== 204) {
|
|
102
|
+
throw response.body;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
catch (err) {
|
|
108
|
+
this.handleRejectedODataJsonPromise(err);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
export default new VivaEngageCommunityUserAddCommand();
|
|
113
|
+
//# sourceMappingURL=engage-community-user-add.js.map
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
3
|
+
import { zod } from '../../../../utils/zod.js';
|
|
4
|
+
import GraphCommand from '../../../base/GraphCommand.js';
|
|
5
|
+
import commands from '../../commands.js';
|
|
6
|
+
import { validation } from '../../../../utils/validation.js';
|
|
7
|
+
import { vivaEngage } from '../../../../utils/vivaEngage.js';
|
|
8
|
+
import request from '../../../../request.js';
|
|
9
|
+
import { entraUser } from '../../../../utils/entraUser.js';
|
|
10
|
+
import { cli } from '../../../../cli/cli.js';
|
|
11
|
+
const options = globalOptionsZod
|
|
12
|
+
.extend({
|
|
13
|
+
communityId: z.string().optional(),
|
|
14
|
+
communityDisplayName: zod.alias('n', z.string().optional()),
|
|
15
|
+
entraGroupId: z.string()
|
|
16
|
+
.refine(id => validation.isValidGuid(id), id => ({
|
|
17
|
+
message: `'${id}' is not a valid GUID.`
|
|
18
|
+
})).optional(),
|
|
19
|
+
id: z.string()
|
|
20
|
+
.refine(id => validation.isValidGuid(id), id => ({
|
|
21
|
+
message: `'${id}' is not a valid GUID.`
|
|
22
|
+
})).optional(),
|
|
23
|
+
userName: z.string()
|
|
24
|
+
.refine(userName => validation.isValidUserPrincipalName(userName), userName => ({
|
|
25
|
+
message: `'${userName}' is not a valid user principal name.`
|
|
26
|
+
})).optional(),
|
|
27
|
+
force: z.boolean().optional()
|
|
28
|
+
})
|
|
29
|
+
.strict();
|
|
30
|
+
class VivaEngageCommunityUserRemoveCommand extends GraphCommand {
|
|
31
|
+
get name() {
|
|
32
|
+
return commands.ENGAGE_COMMUNITY_USER_REMOVE;
|
|
33
|
+
}
|
|
34
|
+
get description() {
|
|
35
|
+
return 'Removes a specified user from a Microsoft 365 Viva Engage community';
|
|
36
|
+
}
|
|
37
|
+
get schema() {
|
|
38
|
+
return options;
|
|
39
|
+
}
|
|
40
|
+
getRefinedSchema(schema) {
|
|
41
|
+
return schema
|
|
42
|
+
.refine(options => [options.communityId, options.communityDisplayName, options.entraGroupId].filter(x => x !== undefined).length === 1, {
|
|
43
|
+
message: 'Specify either communityId, communityDisplayName, or entraGroupId, but not multiple.'
|
|
44
|
+
})
|
|
45
|
+
.refine(options => options.communityId || options.communityDisplayName || options.entraGroupId, {
|
|
46
|
+
message: 'Specify at least one of communityId, communityDisplayName, or entraGroupId.'
|
|
47
|
+
})
|
|
48
|
+
.refine(options => options.id || options.userName, {
|
|
49
|
+
message: 'Specify either of id or userName.'
|
|
50
|
+
})
|
|
51
|
+
.refine(options => typeof options.userName !== undefined && typeof options.id !== undefined, {
|
|
52
|
+
message: 'Specify either id or userName, but not both.'
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
async commandAction(logger, args) {
|
|
56
|
+
try {
|
|
57
|
+
if (args.options.force) {
|
|
58
|
+
await this.deleteUserFromCommunity(args.options, logger);
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
const result = await cli.promptForConfirmation({ message: `Are you sure you want to remove the user ${args.options.id || args.options.userName} from the community ${args.options.communityDisplayName || args.options.communityId || args.options.entraGroupId}?` });
|
|
62
|
+
if (result) {
|
|
63
|
+
await this.deleteUserFromCommunity(args.options, logger);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
catch (err) {
|
|
68
|
+
this.handleRejectedODataJsonPromise(err);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
async deleteUserFromCommunity(options, logger) {
|
|
72
|
+
if (this.verbose) {
|
|
73
|
+
await logger.logToStderr('Removing user from community...');
|
|
74
|
+
}
|
|
75
|
+
let entraGroupId = options.entraGroupId;
|
|
76
|
+
if (options.communityDisplayName) {
|
|
77
|
+
const community = await vivaEngage.getCommunityByDisplayName(options.communityDisplayName, ['groupId']);
|
|
78
|
+
entraGroupId = community.groupId;
|
|
79
|
+
}
|
|
80
|
+
else if (options.communityId) {
|
|
81
|
+
const community = await vivaEngage.getCommunityById(options.communityId, ['groupId']);
|
|
82
|
+
entraGroupId = community.groupId;
|
|
83
|
+
}
|
|
84
|
+
const userId = options.id || await entraUser.getUserIdByUpn(options.userName);
|
|
85
|
+
await this.deleteUser(entraGroupId, userId, 'owners');
|
|
86
|
+
await this.deleteUser(entraGroupId, userId, 'members');
|
|
87
|
+
}
|
|
88
|
+
async deleteUser(entraGroupId, userId, role) {
|
|
89
|
+
try {
|
|
90
|
+
const requestOptions = {
|
|
91
|
+
url: `${this.resource}/v1.0/groups/${entraGroupId}/${role}/${userId}/$ref`,
|
|
92
|
+
headers: {
|
|
93
|
+
accept: 'application/json;odata.metadata=none'
|
|
94
|
+
},
|
|
95
|
+
responseType: 'json'
|
|
96
|
+
};
|
|
97
|
+
await request.delete(requestOptions);
|
|
98
|
+
}
|
|
99
|
+
catch (err) {
|
|
100
|
+
if (err.response.status !== 404) {
|
|
101
|
+
throw err.response.data;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
export default new VivaEngageCommunityUserRemoveCommand();
|
|
107
|
+
//# sourceMappingURL=engage-community-user-remove.js.map
|
|
@@ -14,9 +14,6 @@ class VivaEngageMessageAddCommand extends VivaEngageCommand {
|
|
|
14
14
|
get description() {
|
|
15
15
|
return 'Posts a Viva Engage network message on behalf of the current user';
|
|
16
16
|
}
|
|
17
|
-
defaultProperties() {
|
|
18
|
-
return ['id'];
|
|
19
|
-
}
|
|
20
17
|
constructor() {
|
|
21
18
|
super();
|
|
22
19
|
_VivaEngageMessageAddCommand_instances.add(this);
|
|
@@ -14,9 +14,6 @@ class VivaEngageMessageGetCommand extends VivaEngageCommand {
|
|
|
14
14
|
get description() {
|
|
15
15
|
return 'Returns a Viva Engage message';
|
|
16
16
|
}
|
|
17
|
-
defaultProperties() {
|
|
18
|
-
return ['id', 'sender_id', 'replied_to_id', 'thread_id', 'group_id', 'created_at', 'direct_message', 'system_message', 'privacy', 'message_type', 'content_excerpt'];
|
|
19
|
-
}
|
|
20
17
|
constructor() {
|
|
21
18
|
super();
|
|
22
19
|
_VivaEngageMessageGetCommand_instances.add(this);
|
|
@@ -15,9 +15,6 @@ class VivaEngageUserGetCommand extends VivaEngageCommand {
|
|
|
15
15
|
get description() {
|
|
16
16
|
return 'Retrieves the current user or searches for a user by ID or e-mail';
|
|
17
17
|
}
|
|
18
|
-
defaultProperties() {
|
|
19
|
-
return ['id', 'full_name', 'email', 'job_title', 'state', 'url'];
|
|
20
|
-
}
|
|
21
18
|
constructor() {
|
|
22
19
|
super();
|
|
23
20
|
_VivaEngageUserGetCommand_instances.add(this);
|
|
@@ -5,7 +5,9 @@ export default {
|
|
|
5
5
|
ENGAGE_COMMUNITY_GET: `${prefix} engage community get`,
|
|
6
6
|
ENGAGE_COMMUNITY_LIST: `${prefix} engage community list`,
|
|
7
7
|
ENGAGE_COMMUNITY_SET: `${prefix} engage community set`,
|
|
8
|
+
ENGAGE_COMMUNITY_USER_ADD: `${prefix} engage community user add`,
|
|
8
9
|
ENGAGE_COMMUNITY_USER_LIST: `${prefix} engage community user list`,
|
|
10
|
+
ENGAGE_COMMUNITY_USER_REMOVE: `${prefix} engage community user remove`,
|
|
9
11
|
ENGAGE_GROUP_LIST: `${prefix} engage group list`,
|
|
10
12
|
ENGAGE_GROUP_USER_ADD: `${prefix} engage group user add`,
|
|
11
13
|
ENGAGE_GROUP_USER_REMOVE: `${prefix} engage group user remove`,
|
|
@@ -137,6 +137,19 @@ m365 booking business get --name 'business name'
|
|
|
137
137
|
email : runningdevadmin@contoso.onmicrosoft.com
|
|
138
138
|
id : Accounting@contoso.onmicrosoft.com
|
|
139
139
|
phone :
|
|
140
|
+
address : {city:"",countryOrRegion:"",postalCode:"",state:"",street:""}
|
|
141
|
+
businessHours : [{day:"monday",timeSlots:[{endTime:"17:00:00.0000000",startTime:"08:00:00.0000000"}]},{day:"tuesday",timeSlots:[{endTime:"17:00:00.0000000",startTime:"08:00:00.0000000"}]},{day:"wednesday",timeSlots:[{endTime:"17:00:00.0000000",startTime:"08:00:00.0000000"}]},{day:"thursday",timeSlots:[{endTime:"17:00:00.0000000",startTime:"08:00:00.0000000"}]},{day:"friday",timeSlots:[{endTime:"17:00:00.0000000",startTime:"08:00:00.0000000"}]},{day:"saturday",timeSlots:[]},{day:"sunday",timeSlots:[]}]
|
|
142
|
+
businessType : "Financial services"
|
|
143
|
+
defaultCurrencyIso: "USD"
|
|
144
|
+
displayName : "Accounting"
|
|
145
|
+
email : "runningdevadmin@contoso.onmicrosoft.com"
|
|
146
|
+
id : "Accounting@contoso.onmicrosoft.com"
|
|
147
|
+
isPublished : true
|
|
148
|
+
languageTag : ""
|
|
149
|
+
phone : ""
|
|
150
|
+
publicUrl : "https://outlook.office365.com/owa/calendar/Accounting@contoso.onmicrosoft.com/bookings/"
|
|
151
|
+
schedulingPolicy : {allowStaffSelection:true,maximumAdvance:"P365D",minimumLeadTime:"P1D",sendConfirmationsToOwner:true,timeSlotInterval:"PT30M"}
|
|
152
|
+
webSiteUrl : ""
|
|
140
153
|
```
|
|
141
154
|
|
|
142
155
|
</TabItem>
|
|
@@ -105,6 +105,17 @@ m365 entra user guest add --emailAddress john.doe@contoso.com --messageLanguage
|
|
|
105
105
|
resetRedemption : false
|
|
106
106
|
sendInvitationMessage : true
|
|
107
107
|
status : PendingAcceptance
|
|
108
|
+
id : "35f7f726-c541-4aef-a64e-a7b6868fe47f"
|
|
109
|
+
inviteRedeemUrl : "https://login.microsoftonline.com/redeem?rd=https%3a%2f%2finvitations.microsoft.com%2fredeem%2f%3ftenant%3db373bc30-03b3-49bc-be72-9dd3e9027da8%26user%3d35f7f726-c541-4aef-a64e-a7b6868fe47f%26ticket%3dCjO3u3ZpQF2uthfZETfZ8gURzod5egvYI0uhaSN1Loo%25253d%26ver%3d2.0"
|
|
110
|
+
inviteRedirectUrl : "https://myapplications.microsoft.com/"
|
|
111
|
+
invitedUser : {id:"5257b5b2-4056-4a45-a05e-df5c92d53e6e"}
|
|
112
|
+
invitedUserDisplayName : "John Doe"
|
|
113
|
+
invitedUserEmailAddress: "john.doe@contoso.com"
|
|
114
|
+
invitedUserMessageInfo : {ccRecipients:[{emailAddress:{address:"maria.jones@contoso.com",name:null}}],customizedMessageBody:"Hi John, welcome to the organization!",messageLanguage:"en-US"}
|
|
115
|
+
invitedUserType : "Guest"
|
|
116
|
+
resetRedemption : false
|
|
117
|
+
sendInvitationMessage : true
|
|
118
|
+
status : "PendingAcceptance"
|
|
108
119
|
```
|
|
109
120
|
|
|
110
121
|
</TabItem>
|
|
@@ -137,6 +137,8 @@ m365 flow environment get
|
|
|
137
137
|
location : india
|
|
138
138
|
name : Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
139
139
|
provisioningState: Succeeded
|
|
140
|
+
properties : {azureRegionHint:"centralindia",cluster:{category:"Prod",environment:"Prod",geoShortName:"IN",number:"101",uriSuffix:"in-il101.gateway.prod.island"},createdBy:{displayName:"SYSTEM",id:"SYSTEM",type:"NotSpecified"},createdTime:"2019-12-21T18:32:11.8708704Z",creationType:"DefaultTenant",displayName:"contoso (default)",environmentFeatures:{isOpenApiEnabled:false},environmentSku:"Default",environmentType:"NotSpecified",governanceConfiguration:{protectionLevel:"Basic"},isDefault:true,isPayAsYouGoEnabled:false,linkedEnvironmentMetadata:{baseLanguage:1033,createdTime:"2019-12-25T15:46:14.433Z",domainName:"orgfc80770f",friendlyName:"contoso (default)",instanceApiUrl:"https://orgfc80770f.api.crm8.dynamics.com",instanceState:"Ready",instanceUrl:"https://orgfc80770f.crm8.dynamics.com/",resourceId:"3aa550bf-52ac-42fc-98f7-5d1833c1501c",type:"NotSpecified",uniqueName:"orgfc80770f",version:"9.2.22105.00154"},provisioningState:"Succeeded",runtimeEndpoints:{microsoft.ApiManagement:"https://management.INDIA.azure-apihub.net",microsoft.BusinessAppPlatform:"https://india.api.bap.microsoft.com",microsoft.CommonDataModel:"https://india.api.cds.microsoft.com",microsoft.Flow:"https://india.api.flow.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"},states:{management:{id:"NotSpecified"},runtime:{id:"Enabled",requestedBy:{displayName:"SYSTEM",type:"NotSpecified"},runtimeReasonCode:"NotSpecified"}}}
|
|
141
|
+
type : "Microsoft.ProcessSimple/environments"
|
|
140
142
|
```
|
|
141
143
|
|
|
142
144
|
</TabItem>
|
|
@@ -284,8 +284,10 @@ m365 flow get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --n
|
|
|
284
284
|
actions : OpenApiConnection-AnalyzeImageV2, Compose, InitializeVariable, OpenApiConnection-HttpRequest, ParseJson, OpenApiConnection-PatchFileItem
|
|
285
285
|
description:
|
|
286
286
|
displayName: My Flow
|
|
287
|
+
id : /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/ca76d7b8-3b76-4050-8c03-9fb310ad172f
|
|
287
288
|
name : ca76d7b8-3b76-4050-8c03-9fb310ad172f
|
|
288
289
|
triggers : OpenApiConnection
|
|
290
|
+
type : Microsoft.ProcessSimple/environments/flows
|
|
289
291
|
```
|
|
290
292
|
|
|
291
293
|
</TabItem>
|
|
@@ -16,22 +16,22 @@ m365 flow run get [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-n, --name <name>`
|
|
19
|
-
: The name of the run to get information about
|
|
19
|
+
: The name of the run to get information about.
|
|
20
20
|
|
|
21
21
|
`--flowName <flowName>`
|
|
22
|
-
: The name of the Power Automate flow for which to retrieve information
|
|
22
|
+
: The name of the Power Automate flow for which to retrieve information.
|
|
23
23
|
|
|
24
24
|
`-e, --environmentName <environmentName>`
|
|
25
25
|
: The name of the environment where the flow is located
|
|
26
26
|
|
|
27
27
|
`--includeTriggerInformation`
|
|
28
|
-
: (deprecated. Use option `withTrigger` instead) If specified, include information about the trigger details
|
|
28
|
+
: (deprecated. Use option `withTrigger` instead) If specified, include information about the trigger details.
|
|
29
29
|
|
|
30
30
|
`--withTrigger`
|
|
31
|
-
: If specified, include information about the trigger details
|
|
31
|
+
: If specified, include information about the trigger details.
|
|
32
32
|
|
|
33
33
|
`--withActions [withActions]`
|
|
34
|
-
: If specified, include information about all actions when no action names are specified, or provide a specified list of actions separated by commas to include only the relevant action details
|
|
34
|
+
: If specified, include information about all actions when no action names are specified, or provide a specified list of actions separated by commas to include only the relevant action details.
|
|
35
35
|
|
|
36
36
|
```
|
|
37
37
|
|
|
@@ -55,13 +55,13 @@ If the option `withTrigger` is specified, but the trigger does not contain an ou
|
|
|
55
55
|
|
|
56
56
|
## Examples
|
|
57
57
|
|
|
58
|
-
Get information about the given run of the specified Power Automate flow
|
|
58
|
+
Get information about the given run of the specified Power Automate flow.
|
|
59
59
|
|
|
60
60
|
```sh
|
|
61
61
|
m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
Get information about the given run of the specified Power Automate flow including trigger information
|
|
64
|
+
Get information about the given run of the specified Power Automate flow including trigger information.
|
|
65
65
|
|
|
66
66
|
```sh
|
|
67
67
|
m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --withTrigger
|
|
@@ -73,7 +73,7 @@ Get information about the given run of the specified Power Automate flow includi
|
|
|
73
73
|
m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --withActions
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
Get information about the given run of the specified Power Automate flow including exclusively the details of 'Action_Internal_Name1' and 'Action_Internal_Name2' actions
|
|
76
|
+
Get information about the given run of the specified Power Automate flow including exclusively the details of 'Action_Internal_Name1' and 'Action_Internal_Name2' actions.
|
|
77
77
|
|
|
78
78
|
```sh
|
|
79
79
|
m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --withActions "Action_Internal_Name1,Action_Internal_Name2"
|
|
@@ -137,11 +137,15 @@ m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
|
137
137
|
<TabItem value="Text">
|
|
138
138
|
|
|
139
139
|
```text
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
140
|
+
correlation: {"clientTrackingId":"08585329112602833829909892130CU00"}
|
|
141
|
+
endTime :
|
|
142
|
+
id : /providers/Microsoft.ProcessSimple/environments/Default-de348bc7-1aeb-4406-8cb3-97db021cadb4/flows/170fb67e-a514-4d84-8727-582022bd13a9/runs/08585329112602833828909892130CU17
|
|
143
|
+
name : 08585329112602833828909892130CU17
|
|
144
|
+
properties : {"correlation":{"clientTrackingId":"08585329112602833829909892130CU00"},"startTime":"2022-11-17T14:33:45.2763872Z","status":"Running","trigger":{"correlation":{"clientTrackingId":"08585329112602833829909892130CU00"},"endTime":"2022-11-17T14:33:45.1914506Z","inputsLink":{"contentHash":{"algorithm":"md5","value":"6ZrBBE+MJg7IvhMgyJLMmA=="},"contentSize":349,"contentVersion":"6ZrBBE+MJg7IvhMgyJLMmA==","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="},"name":"When_a_new_response_is_submitted","originHistoryName":"08585329112602833829909892130CU00","outputsLink":{"contentHash":{"algorithm":"md5","value":"Z/4a8tfYygNAR1xpc44iww=="},"contentSize":493,"contentVersion":"Z/4a8tfYygNAR1xpc44iww==","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="},"startTime":"2022-11-17T14:33:45.1914506Z","status":"Succeeded"}}
|
|
145
|
+
startTime : 2022-11-17T14:33:45.2763872Z
|
|
146
|
+
status : Running
|
|
147
|
+
triggerName: When_a_new_response_is_submitted
|
|
148
|
+
type : Microsoft.ProcessSimple/environments/flows/runs
|
|
145
149
|
```
|
|
146
150
|
|
|
147
151
|
</TabItem>
|
package/docs/docs/cmd/login.mdx
CHANGED
|
@@ -22,7 +22,7 @@ m365 login [options]
|
|
|
22
22
|
: ID of the tenant from which accounts should authenticate. Use `common` or `organization` for multitenant apps. Defaults to `common` if not specified and if the config value `tenantId` and the environment variable `CLIMICROSOFT365_TENANT` are also not set.
|
|
23
23
|
|
|
24
24
|
`-t, --authType [authType]`
|
|
25
|
-
: The type of authentication to use. Allowed values `certificate`, `deviceCode`, `password`, `identity`, `browser`, `secret`. Default `deviceCode`
|
|
25
|
+
: The type of authentication to use. Allowed values `certificate`, `deviceCode`, `password`, `identity`, `federatedIdentity`, `browser`, `secret`. Default `deviceCode`
|
|
26
26
|
|
|
27
27
|
`-u, --userName [userName]`
|
|
28
28
|
: Name of the user to authenticate. Required when `authType` is set to `password`
|
|
@@ -78,6 +78,8 @@ When logging in to Microsoft 365 using the user name and password, next to the a
|
|
|
78
78
|
|
|
79
79
|
When logging in to Microsoft 365 using a certificate, the CLI for Microsoft 365 will store the contents of the certificate so that it can automatically re-authenticate if necessary. The contents of the certificate are removed by re-authenticating using the device code or by calling the [logout](logout.mdx) command.
|
|
80
80
|
|
|
81
|
+
Federated Identity is currently supported in GitHub Actions. To use this you need to set `authType` to `federatedIdentity` and specify `appId` and `tenant` to the values of the app registration you've configured a federated credential on.
|
|
82
|
+
|
|
81
83
|
To log in to Microsoft 365 using a certificate or secret, you will typically [create a custom Microsoft Entra application](../user-guide/using-own-identity.mdx). To use this application with the CLI for Microsoft 365, you will set the `CLIMICROSOFT365_ENTRAAPPID` environment variable to the application's ID and the `CLIMICROSOFT365_TENANT` environment variable to the ID of the Microsoft Entra tenant, where you created the Microsoft Entra application. Also, please make sure to read about [the caveats when using the certificate login option](../user-guide/cli-certificate-caveats.mdx).
|
|
82
84
|
|
|
83
85
|
Managed identity in Azure Cloud Shell is the identity of the user. It is neither system- nor user-assigned and it can't be configured. To log in to Microsoft 365 using managed identity in Azure Cloud Shell, set `authType` to `identity` and don't specify the `userName` option.
|
|
@@ -182,6 +184,12 @@ Log in to Microsoft 365 using a user-assigned managed identity with `clientId` s
|
|
|
182
184
|
m365 login --authType identity --userName ac9fbed5-804c-4362-a369-21a4ec51109e
|
|
183
185
|
```
|
|
184
186
|
|
|
187
|
+
Log in to Microsoft 365 using a federated identity. Can currently only be used in GitHub Actions.
|
|
188
|
+
|
|
189
|
+
```sh
|
|
190
|
+
m365 login --authType federatedIdentity --appId eb96cfd0-abfa-4477-8d1d-c6dfde3efb19 --tenant 9a1a1bbd-e158-4cf5-967d-a53b8e85c628
|
|
191
|
+
```
|
|
192
|
+
|
|
185
193
|
Log in to Microsoft 365 using the interactive browser authentication with `clientId` set in the configuration. Uses the identity of the current user.
|
|
186
194
|
|
|
187
195
|
```sh
|
|
@@ -235,11 +235,17 @@ m365 pa app get --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --environmentName De
|
|
|
235
235
|
<TabItem value="Text">
|
|
236
236
|
|
|
237
237
|
```text
|
|
238
|
+
appLocation: europe
|
|
239
|
+
appType : ClassicCanvasApp
|
|
238
240
|
appVersion : 2022-10-25T21:28:12Z
|
|
239
241
|
description: App Description
|
|
240
|
-
displayName:
|
|
242
|
+
displayName: PowerApps Application
|
|
243
|
+
id : /providers/Microsoft.PowerApps/apps/37ea6004-f07b-46ca-8ef3-a256b67b4dbb
|
|
241
244
|
name : 37ea6004-f07b-46ca-8ef3-a256b67b4dbb
|
|
242
|
-
owner : user@
|
|
245
|
+
owner : user@tenant.onmicrosoft.com
|
|
246
|
+
properties : {"almMode":"Environment","appOpenProtocolUri":"ms-apps:///providers/Microsoft.PowerApps/apps/37ea6004-f07b-46ca-8ef3-a256b67b4dbb","appOpenUri":"https://apps.powerapps.com/play/e/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d/a/37ea6004-f07b-46ca-8ef3-a256b67b4dbb?tenantId=e1dd4023-a656-480a-8a0e-c1b1eec51e1d&hint=296b0ef7-b4d0-4124-b835-f9c220a1f4bc","appPackageDetails":{"appPackageResourcesKind":"Split","documentServerVersion":{"build":33,"major":3,"majorRevision":0,"minor":22102,"minorRevision":0,"revision":0},"id":"20221025t000000zac5237a2672a4782ad5a7d71040c032bhttps://pafeblobprodam.blob.core.windows.net/20221025t000000zac5237a2672a4782ad5a7d71040c032b/5b38cd68-a930-4a14-be71-c622de887d1a/web/index.web.html?sv=2018-03-28&sr=c&sig=eztEkTd1pFaFEITA%2Bqqj2XCpxwgeujMC7FahMmEkujA%3D&se=2022-11-04T12%3A00%3A00Z&sp=rlhttps://pafeblobprodam.blob.core.windows.net/20221025t000000zac5237a2672a4782ad5a7d71040c032b/5b38cd68-a930-4a14-be71-c622de887d1a/player.msappk?sv=2018-03-28&sr=c&sig=eztEkTd1pFaFEITA%2Bqqj2XCpxwgeujMC7FahMmEkujA%3D&se=2022-11-04T12%3A00%3A00Z&sp=rlhttps://pafeblobprodam.blob.core.windows.net/alt20221025t000000z529d41282a634bf6b94383dde5a8d52c/20221025T212824Z/index.web.html","packagePropertiesJson":"{\"cdnUrl\":\"https://content.powerapps.com/resource/app\",\"id\":\"638023301009567627\",\"preLoadIdx\":\"https://content.powerapps.com/resource/app/kdfj31mdao7t9/preloadindex.web.html\",\"v\":2.1}","playerPackage":{"readonlyValue":"https://pafeblobprodam-secondary.blob.core.windows.net/20221025t000000zac5237a2672a4782ad5a7d71040c032b/5b38cd68-a930-4a14-be71-c622de887d1a/player.msappk?sv=2018-03-28&sr=c&sig=eztEkTd1pFaFEITA%2Bqqj2XCpxwgeujMC7FahMmEkujA%3D&se=2022-11-04T12%3A00%3A00Z&sp=rl","value":"https://pafeblobprodam.blob.core.windows.net:443/20221025t000000zac5237a2672a4782ad5a7d71040c032b/5b38cd68-a930-4a14-be71-c622de887d1a/player.msappk?sv=2018-03-28&sr=c&sig=eztEkTd1pFaFEITA%2Bqqj2XCpxwgeujMC7FahMmEkujA%3D&se=2022-11-04T12%3A00%3A00Z&sp=rl"},"unauthenticatedWebPackage":{"value":"https://pafeblobprodam.blob.core.windows.net/alt20221025t000000z529d41282a634bf6b94383dde5a8d52c/20221025T212824Z/index.web.html"},"webPackage":{"readonlyValue":"https://pafeblobprodam-secondary.blob.core.windows.net/20221025t000000zac5237a2672a4782ad5a7d71040c032b/5b38cd68-a930-4a14-be71-c622de887d1a/web/index.web.html?sv=2018-03-28&sr=c&sig=eztEkTd1pFaFEITA%2Bqqj2XCpxwgeujMC7FahMmEkujA%3D&se=2022-11-04T12%3A00%3A00Z&sp=rl","value":"https://pafeblobprodam.blob.core.windows.net:443/20221025t000000zac5237a2672a4782ad5a7d71040c032b/5b38cd68-a930-4a14-be71-c622de887d1a/web/index.web.html?sv=2018-03-28&sr=c&sig=eztEkTd1pFaFEITA%2Bqqj2XCpxwgeujMC7FahMmEkujA%3D&se=2022-11-04T12%3A00%3A00Z&sp=rl"}},"backgroundColor":"RGBA(0,176,240,1)","backgroundImageUri":"https://pafeblobprodam.blob.core.windows.net:443/20221025t000000zddd642012aba4021a4886c8e21a3e1cb/logoSmallFile?sv=2018-03-28&sr=c&sig=cOkbwChyhCO%2BEJpqMDRxrXaxRoPD1TbTy%2B%2BFkdJEOjI%3D&se=2022-12-24T10%3A06%3A27Z&sp=rl","bypassConsent":false,"canConsumeAppPass":true}
|
|
247
|
+
tags : {"hasComponent":"false","hasUnlockedComponent":"false","isUnifiedRootApp":"false","minimumRequiredApiVersion":"2.2.0","primaryDeviceHeight":"768","primaryDeviceWidth":"1366","primaryFormFactor":"Tablet","publisherVersion":"3.22102.32","supportsLandscape":"true","supportsPortrait":"true"}
|
|
248
|
+
type : Microsoft.PowerApps/apps
|
|
243
249
|
```
|
|
244
250
|
|
|
245
251
|
</TabItem>
|
|
@@ -143,13 +143,15 @@ m365 pa environment get --name Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
|
143
143
|
|
|
144
144
|
```text
|
|
145
145
|
azureRegionHint : westeurope
|
|
146
|
-
displayName :
|
|
146
|
+
displayName : contoso (default)
|
|
147
147
|
environmentSku : Default
|
|
148
|
-
id : /providers/Microsoft.PowerApps/environments/Default-
|
|
148
|
+
id : /providers/Microsoft.PowerApps/environments/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d
|
|
149
149
|
isDefault : true
|
|
150
150
|
location : europe
|
|
151
|
-
name : Default-
|
|
151
|
+
name : Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d
|
|
152
|
+
properties : {"azureRegionHint":"westeurope","clientUris":{"admin":"https://admin.powerplatform.microsoft.com/environments/environment/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d/hub","maker":"https://make.powerapps.com/environments/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d/home"},"cluster":{"category":"Prod","environment":"Prod","geoShortName":"EU","number":"109","uriSuffix":"eu-il109.gateway.prod.island"},"connectedGroups":[],"createdBy":{"displayName":"SYSTEM","id":"SYSTEM","type":"NotSpecified"},"createdTime":"2020-03-12T13:39:17.9876946Z","creationType":"DefaultTenant","databaseType":"CommonDataService","displayName":"contoso (default)","governanceConfiguration":{"protectionLevel":"Basic"},"lifecycleAuthority":"Environment","linkedEnvironmentMetadata":{"baseLanguage":1033,"createdTime":"2021-10-08T09:50:41.283Z","domainName":"org6633049a","friendlyName":"contoso (default)","instanceApiUrl":"https://org6633049a.api.crm4.dynamics.com","instanceState":"Ready","instanceUrl":"https://org6633049a.crm4.dynamics.com/","platformSku":"Standard","resourceId":"5041ef46-5a1c-4a0f-a185-6bb49b5c6686","uniqueName":"unq5041ef465a1c4a0fa1856bb49b5c6","version":"9.2.22101.00168"},"protectionStatus":{"keyManagedBy":"Microsoft"},"provisioningState":"Succeeded","retentionPeriod":"P7D","runtimeEndpoints":{"microsoft.ApiManagement":"https://management.EUROPE.azure-apihub.net","microsoft.BusinessAppPlatform":"https://europe.api.bap.microsoft.com","microsoft.CommonDataModel":"https://europe.api.cds.microsoft.com","microsoft.Flow":"https://emea.api.flow.microsoft.com","microsoft.PowerApps":"https://europe.api.powerapps.com","microsoft.PowerAppsAdvisor":"https://europe.api.advisor.powerapps.com","microsoft.PowerVirtualAgents":"https://powervamg.eu-il109.gateway.prod.island.powerapps.com"},"states":{"management":{"id":"NotSpecified"},"runtime":{"id":"Enabled","requestedBy":{"displayName":"SYSTEM","type":"NotSpecified"},"runtimeReasonCode":"NotSpecified"}},"trialScenarioType":"None","updateCadence":{"id":"Frequent"}}
|
|
152
153
|
provisioningState: Succeeded
|
|
154
|
+
type : Microsoft.PowerApps/environments
|
|
153
155
|
```
|
|
154
156
|
|
|
155
157
|
</TabItem>
|
|
@@ -103,6 +103,8 @@ m365 planner plan add --title 'My Planner Plan' --ownerGroupName 'My Planner Gro
|
|
|
103
103
|
<TabItem value="Text">
|
|
104
104
|
|
|
105
105
|
```text
|
|
106
|
+
container : {"containerId":"ebf3b108-5234-4e22-b93d-656d7dae5874","type":"group","url":"https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"}
|
|
107
|
+
createdBy : {"application":{"displayName":null,"id":"ebf3b108-5234-4e22-b93d-656d7dae5874"},"user":{"displayName":null,"id":"95e27074-6c4a-447a-aa24-9d718a0b86fa"}}
|
|
106
108
|
createdDateTime: 2015-03-30T18:36:49.2407981Z
|
|
107
109
|
id : xqQg5FS2LkCp935s-FIFm2QAFkHM
|
|
108
110
|
owner : ebf3b108-5234-4e22-b93d-656d7dae5874
|
|
@@ -131,10 +131,14 @@ m365 planner plan get --rosterId "FeMZFDoK8k2oWmuGE-XFHZcAEwtn"
|
|
|
131
131
|
<TabItem value="Text">
|
|
132
132
|
|
|
133
133
|
```text
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
categoryDescriptions: {"category1":null,"category10":null,"category11":null,"category12":null,"category13":null,"category14":null,"category15":null,"category16":null,"category17":null,"category18":null,"category19":null,"category2":null,"category20":null,"category21":null,"category22":null,"category23":null,"category24":null,"category25":null,"category3":null,"category4":null,"category5":null,"category6":null,"category7":null,"category8":null,"category9":null}
|
|
135
|
+
container : {"containerId":"ebf3b108-5234-4e22-b93d-656d7dae5874","type":"group","url":"https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"}
|
|
136
|
+
createdBy : {"application":{"displayName":null,"id":"ebf3b108-5234-4e22-b93d-656d7dae5874"},"user":{"displayName":null,"id":"95e27074-6c4a-447a-aa24-9d718a0b86fa"}}
|
|
137
|
+
createdDateTime : 2015-03-30T18:36:49.2407981Z
|
|
138
|
+
id : xqQg5FS2LkCp935s-FIFm2QAFkHM
|
|
139
|
+
owner : ebf3b108-5234-4e22-b93d-656d7dae5874
|
|
140
|
+
sharedWith : {"6463a5ce-2119-4198-9f2a-628761df4a62":true,"ebf3b108-5234-4e22-b93d-656d7dae5874":true}
|
|
141
|
+
title : My Planner Plan
|
|
138
142
|
```
|
|
139
143
|
|
|
140
144
|
</TabItem>
|
|
@@ -112,6 +112,8 @@ m365 planner plan set --id 'gndWOTSK60GfPQfiDDj43JgACDCb' --category21 'ToDo' --
|
|
|
112
112
|
<TabItem value="Text">
|
|
113
113
|
|
|
114
114
|
```text
|
|
115
|
+
container : {"containerId":"ebf3b108-5234-4e22-b93d-656d7dae5874","type":"group","url":"https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"}
|
|
116
|
+
createdBy : {"application":{"displayName":null,"id":"ebf3b108-5234-4e22-b93d-656d7dae5874"},"user":{"displayName":null,"id":"95e27074-6c4a-447a-aa24-9d718a0b86fa"}}
|
|
115
117
|
createdDateTime: 2015-03-30T18:36:49.2407981Z
|
|
116
118
|
id : xqQg5FS2LkCp935s-FIFm2QAFkHM
|
|
117
119
|
owner : ebf3b108-5234-4e22-b93d-656d7dae5874
|
|
@@ -67,9 +67,12 @@ m365 planner task checklistitem add --taskId 2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2 --titl
|
|
|
67
67
|
<TabItem value="Text">
|
|
68
68
|
|
|
69
69
|
```txt
|
|
70
|
-
id
|
|
71
|
-
isChecked: false
|
|
72
|
-
|
|
70
|
+
id : b65db83e-d777-49db-8cdd-57a41b86f48c
|
|
71
|
+
isChecked : false
|
|
72
|
+
lastModifiedBy : {"user":{"displayName":null,"id":"b2091e18-7882-4efe-b7d1-90703f5a5c65"}}
|
|
73
|
+
lastModifiedDateTime: 2023-01-25T22:11:42.2488405Z
|
|
74
|
+
orderHint : 8585269221832287402
|
|
75
|
+
title : Communicate with customer
|
|
73
76
|
```
|
|
74
77
|
|
|
75
78
|
</TabItem>
|
|
@@ -94,9 +94,18 @@ m365 pp aibuildermodel get --environmentName "Default-d87a7535-dd31-4437-bfe1-95
|
|
|
94
94
|
<TabItem value="Text">
|
|
95
95
|
|
|
96
96
|
```text
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
_statecode : 0
|
|
98
|
+
_createdby_value : 5fa787c1-1c4d-ed11-bba1-000d3a2caf7f
|
|
99
|
+
_createdonbehalfby_value : null
|
|
100
|
+
_createdon : 2022-11-29T11:58:45Z
|
|
101
|
+
_componentstate : 0
|
|
102
|
+
_importsequencenumber : null
|
|
103
|
+
_introducedversion : "1.0"
|
|
104
|
+
_iscustomizable : {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"iscustomizableanddeletable"}
|
|
105
|
+
_modifiedonbehalfby_value: null
|
|
106
|
+
_msowningteam_value : null
|
|
107
|
+
_statuscode : 0
|
|
108
|
+
_modifiedby_value : 5fa787c1-1c4d-ed11-bba1-000d3a2caf7f
|
|
100
109
|
```
|
|
101
110
|
|
|
102
111
|
</TabItem>
|
|
@@ -115,11 +115,42 @@ m365 pp card get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5
|
|
|
115
115
|
<TabItem value="Text">
|
|
116
116
|
|
|
117
117
|
```text
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
118
|
+
appdefinition : {"screens":{"main":{"template":{"$schema":"http://adaptivecards.io/schemas/1.4.0/adaptive-card.json","actions":[],"body":[{"size":"Medium","text":"Your card title goes here","type":"TextBlock","weight":"bolder"},{"text":"Add and remove element to customize your new card.","type":"TextBlock","wrap":true}],"type":"AdaptiveCard","version":"1.4"},"verbs":{"submit":"echo"}}},"connections":{},"flows":{},"sampleData":{"main":{}},"variables":{}}
|
|
119
|
+
cardid : 0eab9392-7354-ed11-bba2-000d3adf774e
|
|
120
|
+
coowners : null
|
|
121
|
+
componentidunique : 24205370-bc43-4c5e-b095-16da18f0b1a3
|
|
122
|
+
componentstate : 0
|
|
123
|
+
createdon : 2022-10-25T14:44:48Z
|
|
124
|
+
description :
|
|
125
|
+
hiddentags : null
|
|
126
|
+
importsequencenumber : null
|
|
127
|
+
ismanaged : false
|
|
128
|
+
iscustomizable : {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"iscustomizableanddeletable"}
|
|
129
|
+
modifiedon : 2022-10-25T14:44:48Z
|
|
130
|
+
name : Tasks List
|
|
131
|
+
overriddencreatedon : null
|
|
132
|
+
overwritetime : 1900-01-01T00:00:00Z
|
|
133
|
+
owninguser : {"azureactivedirectoryobjectid":"78637d62-e872-4dc9-b7c1-bd161e631682","fullname":"# John Doe","ownerid":"4f175d04-b952-ed11-bba2-000d3adf774e","systemuserid":"4f175d04-b952-ed11-bba2-000d3adf774e"}
|
|
134
|
+
publishdate : null
|
|
135
|
+
publishsourceid : null
|
|
136
|
+
remixsourceid : null
|
|
137
|
+
schemaversion : null
|
|
138
|
+
sizes : null
|
|
139
|
+
solutionid : fd140aae-4df4-11dd-bd17-0019b9312238
|
|
140
|
+
statecode : 0
|
|
141
|
+
statuscode : 1
|
|
142
|
+
tags : null
|
|
143
|
+
timezoneruleversionnumber: null
|
|
144
|
+
utcconversiontimezonecode: null
|
|
145
|
+
versionnumber : 4451230
|
|
146
|
+
_ownerid_value : 4f175d04-b952-ed11-bba2-000d3adf774e
|
|
147
|
+
_owningbusinessunit_value: b419f090-fe22-ec11-b6e5-000d3ab596a1
|
|
148
|
+
_owningteam_value : null
|
|
149
|
+
_owninguser_value : 4f175d04-b952-ed11-bba2-000d3adf774e
|
|
150
|
+
_createdby_value : 4f175d04-b952-ed11-bba2-000d3adf774e
|
|
151
|
+
_createdonbehalfby_value : null
|
|
152
|
+
_modifiedby_value : 4f175d04-b952-ed11-bba2-000d3adf774e
|
|
153
|
+
_modifiedonbehalfby_value: null
|
|
123
154
|
```
|
|
124
155
|
|
|
125
156
|
</TabItem>
|