@pnp/cli-microsoft365 10.4.0 → 10.5.0-beta.31351d1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +1 -0
- 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/graph/commands/directoryextension/directoryextension-add.js +85 -0
- package/dist/m365/graph/commands/directoryextension/directoryextension-get.js +82 -0
- package/dist/m365/graph/commands/directoryextension/directoryextension-remove.js +93 -0
- package/dist/m365/graph/commands.js +3 -0
- 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/page/page-section-remove.js +81 -0
- package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +0 -3
- package/dist/m365/spo/commands.js +2 -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/dist/request.js +5 -0
- package/dist/utils/directoryExtension.js +25 -0
- package/dist/utils/entraApp.js +28 -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/graph/directoryextension/directoryextension-add.mdx +123 -0
- package/docs/docs/cmd/graph/directoryextension/directoryextension-get.mdx +118 -0
- package/docs/docs/cmd/graph/directoryextension/directoryextension-remove.mdx +57 -0
- 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/page/page-section-remove.mdx +47 -0
- 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 +99 -86
- package/package.json +15 -15
package/dist/utils/entraApp.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
2
|
import request from '../request.js';
|
|
3
3
|
import { odata } from './odata.js';
|
|
4
|
+
import { formatting } from './formatting.js';
|
|
5
|
+
import { cli } from '../cli/cli.js';
|
|
4
6
|
async function getCertificateBase64Encoded({ options, logger, debug }) {
|
|
5
7
|
if (options.certificateBase64Encoded) {
|
|
6
8
|
return options.certificateBase64Encoded;
|
|
@@ -278,6 +280,32 @@ export const entraApp = {
|
|
|
278
280
|
await logger.logToStderr(`OAuth2 permissions: ${JSON.stringify(entraApp.appPermissions.flatMap(permission => permission.scope), null, 2)}`);
|
|
279
281
|
}
|
|
280
282
|
return resolvedApis;
|
|
283
|
+
},
|
|
284
|
+
async getAppRegistrationByAppId(appId, properties) {
|
|
285
|
+
let url = `https://graph.microsoft.com/v1.0/applications?$filter=appId eq '${appId}'`;
|
|
286
|
+
if (properties) {
|
|
287
|
+
url += `&$select=${properties.join(',')}`;
|
|
288
|
+
}
|
|
289
|
+
const apps = await odata.getAllItems(url);
|
|
290
|
+
if (apps.length === 0) {
|
|
291
|
+
throw `App with appId '${appId}' not found in Microsoft Entra ID`;
|
|
292
|
+
}
|
|
293
|
+
return apps[0];
|
|
294
|
+
},
|
|
295
|
+
async getAppRegistrationByAppName(appName, properties) {
|
|
296
|
+
let url = `https://graph.microsoft.com/v1.0/applications?$filter=displayName eq '${formatting.encodeQueryParameter(appName)}'`;
|
|
297
|
+
if (properties) {
|
|
298
|
+
url += `&$select=${properties.join(',')}`;
|
|
299
|
+
}
|
|
300
|
+
const apps = await odata.getAllItems(url);
|
|
301
|
+
if (apps.length === 0) {
|
|
302
|
+
throw `App with name '${appName}' not found in Microsoft Entra ID`;
|
|
303
|
+
}
|
|
304
|
+
if (apps.length > 1) {
|
|
305
|
+
const resultAsKeyValuePair = formatting.convertArrayToHashTable('id', apps);
|
|
306
|
+
return await cli.handleMultipleResultsFound(`Multiple apps with name '${appName}' found in Microsoft Entra ID.`, resultAsKeyValuePair);
|
|
307
|
+
}
|
|
308
|
+
return apps[0];
|
|
281
309
|
}
|
|
282
310
|
};
|
|
283
311
|
//# sourceMappingURL=entraApp.js.map
|
|
@@ -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>
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# graph directoryextension add
|
|
6
|
+
|
|
7
|
+
Creates a new directory extension
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 graph directoryextension add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-n, --name <name>`
|
|
19
|
+
: The name of the directory extension.
|
|
20
|
+
|
|
21
|
+
`--appId [appId]`
|
|
22
|
+
: Application (client) ID of the Entra application where the directory extension is registered. Specify either `appId`, `appObjectId` or `appName`, but not multiple.
|
|
23
|
+
|
|
24
|
+
`--appObjectId [appObjectId]`
|
|
25
|
+
: Object ID of the Entra application where the directory extension is registered. Specify either `appId`, `appObjectId` or `appName`, but not multiple.
|
|
26
|
+
|
|
27
|
+
`--appName [appName]`
|
|
28
|
+
: The name of Entra application where the directory extension is registered. Specify either `appId`, `appObjectId` or `appName`, but not multiple.
|
|
29
|
+
|
|
30
|
+
`--dataType <dataType>`
|
|
31
|
+
: The data type of the value the extension property can hold. Possible values are: `Binary`, `Boolean`, `DateTime`, `Integer`, `LargeInteger` and `String`.
|
|
32
|
+
|
|
33
|
+
`--targetObjects <targetObjects>`
|
|
34
|
+
: Comma-separated list of Microsoft Graph resources that can use the extension. Possible values are: `User`, `Group`, `Application`, `AdministrativeUnit`, `Device` and `Organization`.
|
|
35
|
+
|
|
36
|
+
`--isMultiValued`
|
|
37
|
+
: Defines the directory extension as a multi-valued property.
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
<Global />
|
|
41
|
+
|
|
42
|
+
## Examples
|
|
43
|
+
|
|
44
|
+
Create a new directory extension of string type defined for user resource.
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 graph directoryextension add --name gitHubWorkAccountName --appName ContosoApp --targetObjects User --dataType String
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Create a new multi-valued directory extension of integer type defined for device and application resource
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 graph directoryextension add --name departmentIds --appId 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --targetObjects 'Application,Device' --dataType Integer --isMultiValued
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
<Tabs>
|
|
59
|
+
<TabItem value="JSON">
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
{
|
|
63
|
+
"id": "522817ae-5c95-4243-96c1-f85231fcbc1f",
|
|
64
|
+
"deletedDateTime": null,
|
|
65
|
+
"appDisplayName": "ContosoApp",
|
|
66
|
+
"dataType": "String",
|
|
67
|
+
"isMultiValued": false,
|
|
68
|
+
"isSyncedFromOnPremises": false,
|
|
69
|
+
"name": "extension_105be60b603845fea385e58772d9d630_githubworkaccount",
|
|
70
|
+
"targetObjects": [
|
|
71
|
+
"User"
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
</TabItem>
|
|
77
|
+
<TabItem value="Text">
|
|
78
|
+
|
|
79
|
+
```text
|
|
80
|
+
appDisplayName : ContosoApp
|
|
81
|
+
dataType : String
|
|
82
|
+
deletedDateTime : null
|
|
83
|
+
id : 01e77f60-3dde-4fa3-825b-cac8048994a8
|
|
84
|
+
isMultiValued : false
|
|
85
|
+
isSyncedFromOnPremises: false
|
|
86
|
+
name : extension_105be60b603845fea385e58772d9d630_githubworkaccount
|
|
87
|
+
targetObjects : ["User"]
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
</TabItem>
|
|
91
|
+
<TabItem value="CSV">
|
|
92
|
+
|
|
93
|
+
```csv
|
|
94
|
+
id,deletedDateTime,appDisplayName,dataType,isMultiValued,isSyncedFromOnPremises,name
|
|
95
|
+
b0937b01-49ce-45c7-a52a-727954f092ea,,ContosoApp,String,,,extension_105be60b603845fea385e58772d9d630_githubworkaccount
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
</TabItem>
|
|
99
|
+
<TabItem value="Markdown">
|
|
100
|
+
|
|
101
|
+
```md
|
|
102
|
+
# graph directoryextension add --debug "false" --verbose "false" --name "githubworkaccount" --appName "ContosoApp" --dataType "String" --targetObjects "User"
|
|
103
|
+
|
|
104
|
+
Date: 9/8/2024
|
|
105
|
+
|
|
106
|
+
## extension_105be60b603845fea385e58772d9d630_githubworkaccount (cec3c38e-3f4a-4ca8-9523-afa47016f51b)
|
|
107
|
+
|
|
108
|
+
Property | Value|
|
|
109
|
+
---------|-------|
|
|
110
|
+
id | cec3c38e-3f4a-4ca8-9523-afa47016f51b
|
|
111
|
+
appDisplayName | ContosoApp
|
|
112
|
+
dataType | String
|
|
113
|
+
isMultiValued | false
|
|
114
|
+
isSyncedFromOnPremises | false
|
|
115
|
+
name | extension\_105be60b603845fea385e58772d9d630\_githubworkaccount
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
</TabItem>
|
|
119
|
+
</Tabs>
|
|
120
|
+
|
|
121
|
+
## More information
|
|
122
|
+
|
|
123
|
+
- Directory extensions: https://learn.microsoft.com/graph/extensibility-overview#directory-microsoft-entra-id-extensions
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# graph directoryextension get
|
|
6
|
+
|
|
7
|
+
Retrieves the definition of a directory extension
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 graph directoryextension get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --id [id]`
|
|
19
|
+
: The ID of the directory extension. Specify either `id` or `name`, but not both.
|
|
20
|
+
|
|
21
|
+
`-n, --name [name]`
|
|
22
|
+
: The name of the directory extension. Specify either `id` or `name`, but not both.
|
|
23
|
+
|
|
24
|
+
`--appId [appId]`
|
|
25
|
+
: Application (client) ID of the Entra application where the directory extension is registered. Specify either `appId`, `appObjectId` or `appName`, but not multiple.
|
|
26
|
+
|
|
27
|
+
`--appObjectId [appObjectId]`
|
|
28
|
+
: Object ID of the Entra application where the directory extension is registered. Specify either `appId`, `appObjectId` or `appName`, but not multiple.
|
|
29
|
+
|
|
30
|
+
`--appName [appName]`
|
|
31
|
+
: The name of Entra application where the directory extension is registered. Specify either `appId`, `appObjectId` or `appName`, but not multiple.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Examples
|
|
37
|
+
|
|
38
|
+
Get directory extension by id registered for an application specified by app id.
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 directoryextension get --id 1f0f15e3-925d-40f0-8fc8-9d3ad135bce0 --appId fd918e4b-c821-4efb-b50a-5eddd23afc6f
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Get directory extension by name registered for an application specified by name.
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 directoryextension get --name extension_105be60b603845fea385e58772d9d630_GitHubWorkAccount --appName ContosoApp
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
## Response
|
|
52
|
+
|
|
53
|
+
<Tabs>
|
|
54
|
+
<TabItem value="JSON">
|
|
55
|
+
|
|
56
|
+
```json
|
|
57
|
+
{
|
|
58
|
+
"id": "522817ae-5c95-4243-96c1-f85231fcbc1f",
|
|
59
|
+
"deletedDateTime": null,
|
|
60
|
+
"appDisplayName": "ContosoApp",
|
|
61
|
+
"dataType": "String",
|
|
62
|
+
"isMultiValued": false,
|
|
63
|
+
"isSyncedFromOnPremises": false,
|
|
64
|
+
"name": "extension_105be60b603845fea385e58772d9d630_githubworkaccount",
|
|
65
|
+
"targetObjects": [
|
|
66
|
+
"User"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
</TabItem>
|
|
72
|
+
<TabItem value="Text">
|
|
73
|
+
|
|
74
|
+
```text
|
|
75
|
+
appDisplayName : ContosoApp
|
|
76
|
+
dataType : String
|
|
77
|
+
deletedDateTime : null
|
|
78
|
+
id : 01e77f60-3dde-4fa3-825b-cac8048994a8
|
|
79
|
+
isMultiValued : false
|
|
80
|
+
isSyncedFromOnPremises: false
|
|
81
|
+
name : extension_105be60b603845fea385e58772d9d630_githubworkaccount
|
|
82
|
+
targetObjects : ["User"]
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
</TabItem>
|
|
86
|
+
<TabItem value="CSV">
|
|
87
|
+
|
|
88
|
+
```csv
|
|
89
|
+
id,deletedDateTime,appDisplayName,dataType,isMultiValued,isSyncedFromOnPremises,name
|
|
90
|
+
b0937b01-49ce-45c7-a52a-727954f092ea,,ContosoApp,String,,,extension_105be60b603845fea385e58772d9d630_githubworkaccount
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
</TabItem>
|
|
94
|
+
<TabItem value="Markdown">
|
|
95
|
+
|
|
96
|
+
```md
|
|
97
|
+
# graph directoryextension add --debug "false" --verbose "false" --name "githubworkaccount" --appName "ContosoApp" --dataType "String" --targetObjects "User"
|
|
98
|
+
|
|
99
|
+
Date: 3/2/2025
|
|
100
|
+
|
|
101
|
+
## extension_105be60b603845fea385e58772d9d630_githubworkaccount (cec3c38e-3f4a-4ca8-9523-afa47016f51b)
|
|
102
|
+
|
|
103
|
+
Property | Value|
|
|
104
|
+
---------|-------|
|
|
105
|
+
id | cec3c38e-3f4a-4ca8-9523-afa47016f51b
|
|
106
|
+
appDisplayName | ContosoApp
|
|
107
|
+
dataType | String
|
|
108
|
+
isMultiValued | false
|
|
109
|
+
isSyncedFromOnPremises | false
|
|
110
|
+
name | extension\_105be60b603845fea385e58772d9d630\_githubworkaccount
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
</TabItem>
|
|
114
|
+
</Tabs>
|
|
115
|
+
|
|
116
|
+
## More information
|
|
117
|
+
|
|
118
|
+
- Directory extensions: https://learn.microsoft.com/graph/extensibility-overview#directory-microsoft-entra-id-extensions
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# graph directoryextension remove
|
|
4
|
+
|
|
5
|
+
Removes a directory extension
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 graph directoryextension remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-i, --id [id]`
|
|
17
|
+
: The ID of the directory extension to remove. Specify either `id` or `name`, but not both.
|
|
18
|
+
|
|
19
|
+
`-n, --name [name]`
|
|
20
|
+
: The name of the directory extension to remove. Specify either `id` or `name`, but not both.
|
|
21
|
+
|
|
22
|
+
`--appId [appId]`
|
|
23
|
+
: Application (client) ID of the Entra application where the directory extension is registered. Specify either `appId`, `appObjectId` or `appName`, but not multiple.
|
|
24
|
+
|
|
25
|
+
`--appObjectId [appObjectId]`
|
|
26
|
+
: Object ID of the Entra application where the directory extension is registered. Specify either `appId`, `appObjectId` or `appName`, but not multiple.
|
|
27
|
+
|
|
28
|
+
`--appName [appName]`
|
|
29
|
+
: The name of Entra application where the directory extension is registered. Specify either `appId`, `appObjectId` or `appName`, but not multiple.
|
|
30
|
+
|
|
31
|
+
`-f, --force`
|
|
32
|
+
: Don't prompt for confirmation before removing the directory extension
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<Global />
|
|
36
|
+
|
|
37
|
+
## Examples
|
|
38
|
+
|
|
39
|
+
Remove a directory extension specified by name from an application specified by app object id and don't prompt for confirmation
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
m365 graph directoryextension remove --name extension_105be60b603845fea385e58772d9d630_githubworkaccount --appObjectId 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --force
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Remove a directory extension specified by id from an application specified by app name and don't prompt for confirmation
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
m365 graph directoryextension remove --id 522817ae-5c95-4243-96c1-f85231fcbc1f --appName ContosoApp
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Response
|
|
52
|
+
|
|
53
|
+
The command won't return a response on success.
|
|
54
|
+
|
|
55
|
+
## More information
|
|
56
|
+
|
|
57
|
+
- Directory extensions: https://learn.microsoft.com/graph/extensibility-overview#directory-microsoft-entra-id-extensions
|
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>
|