@pnp/cli-microsoft365 6.0.0-beta.cd80a69 → 6.0.0-beta.d557a48
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.js +4 -2
- package/dist/Command.js +16 -2
- package/dist/m365/aad/commands/app/app-add.js +40 -17
- package/dist/m365/aad/commands/app/app-list.js +38 -0
- package/dist/m365/aad/commands/user/user-guest-add.js +103 -0
- package/dist/m365/aad/commands.js +2 -0
- package/dist/m365/adaptivecard/commands/adaptivecard-send.js +4 -4
- package/dist/m365/base/SpoCommand.js +12 -11
- package/dist/m365/commands/status.js +6 -1
- package/dist/m365/outlook/commands/mail/mail-send.js +54 -30
- package/dist/m365/outlook/commands/message/message-get.js +97 -0
- package/dist/m365/outlook/commands.js +1 -0
- package/dist/m365/planner/commands/bucket/bucket-get.js +5 -8
- package/dist/m365/planner/commands/plan/plan-get.js +11 -31
- package/dist/m365/pp/commands/card/card-clone.js +122 -0
- package/dist/m365/pp/commands/card/card-get.js +110 -0
- package/dist/m365/pp/commands/card/card-remove.js +130 -0
- package/dist/m365/pp/commands/gateway/gateway-get.js +70 -0
- package/dist/m365/pp/commands/solution/solution-get.js +117 -0
- package/dist/m365/pp/commands.js +5 -0
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.16.0-beta.1.js → doctor-1.16.0-rc.0.js} +6 -6
- package/dist/m365/spfx/commands/project/project-doctor.js +5 -2
- package/dist/m365/spfx/commands/project/project-externalize.js +4 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0-rc.0.js} +44 -28
- package/dist/m365/spfx/commands/project/project-upgrade.js +5 -2
- package/dist/m365/spfx/commands/spfx-doctor.js +6 -6
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +82 -43
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +53 -21
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +35 -14
- package/dist/m365/spo/commands/field/field-add.js +26 -1
- package/dist/m365/spo/commands/field/field-set.js +23 -13
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -15
- package/dist/m365/spo/commands/folder/folder-list.js +35 -12
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +11 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +12 -1
- package/dist/m365/spo/commands/hubsite/hubsite-connect.js +93 -18
- package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +69 -13
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +5 -23
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +4 -15
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +14 -6
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +14 -6
- package/dist/m365/spo/commands/list/list-set.js +31 -8
- package/dist/m365/spo/commands/list/list-view-field-add.js +19 -5
- package/dist/m365/spo/commands/list/list-view-field-remove.js +18 -4
- package/dist/m365/spo/commands/list/list-view-field-set.js +18 -4
- package/dist/m365/spo/commands/list/list-view-list.js +14 -10
- package/dist/m365/spo/commands/list/list-view-remove.js +17 -8
- package/dist/m365/spo/commands/list/list-view-set.js +19 -7
- package/dist/m365/spo/commands/list/list-webhook-get.js +2 -3
- package/dist/m365/spo/commands/list/list-webhook-list.js +4 -28
- package/dist/m365/spo/commands/list/list-webhook-set.js +11 -12
- package/dist/m365/spo/commands/listitem/listitem-add.js +24 -14
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +18 -8
- package/dist/m365/spo/commands/listitem/listitem-get.js +18 -8
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +20 -10
- package/dist/m365/spo/commands/listitem/listitem-list.js +21 -14
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +19 -12
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +24 -21
- package/dist/m365/spo/commands/listitem/listitem-remove.js +19 -11
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +4 -15
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +13 -5
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +13 -5
- package/dist/m365/spo/commands/listitem/listitem-set.js +52 -44
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +4 -7
- package/dist/m365/spo/commands/roledefinition/roledefinition-list.js +15 -2
- package/dist/m365/spo/commands/site/site-add.js +4 -11
- package/dist/m365/spo/commands/site/site-hubsite-connect.js +75 -0
- package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +93 -0
- package/dist/m365/spo/commands/{hubsite/hubsite-theme-sync.js → site/site-hubsite-theme-sync.js} +11 -11
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +4 -7
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +4 -15
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +4 -8
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
- package/dist/m365/spo/commands.js +5 -1
- package/dist/m365/teams/commands/channel/channel-get.js +2 -2
- package/dist/m365/teams/commands/channel/channel-remove.js +56 -39
- package/dist/m365/teams/commands/channel/channel-set.js +57 -19
- package/dist/m365/teams/commands/team/team-archive.js +4 -7
- package/dist/m365/teams/commands/team/team-remove.js +3 -3
- package/dist/m365/teams/commands/team/team-set.js +0 -7
- package/dist/m365/teams/commands/team/team-unarchive.js +3 -3
- package/dist/m365/todo/commands/list/list-get.js +89 -0
- package/dist/m365/todo/commands/task/task-add.js +55 -3
- package/dist/m365/todo/commands/task/task-get.js +108 -0
- package/dist/m365/todo/commands.js +2 -0
- package/dist/utils/md.js +8 -1
- package/docs/docs/_clisettings.md +18 -0
- package/docs/docs/cmd/aad/app/app-add.md +19 -19
- package/docs/docs/cmd/aad/app/app-list.md +149 -0
- package/docs/docs/cmd/aad/user/user-guest-add.md +107 -0
- package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +12 -5
- package/docs/docs/cmd/app/app-get.md +156 -0
- package/docs/docs/cmd/app/app-open.md +20 -0
- package/docs/docs/cmd/app/permission/permission-list.md +43 -0
- package/docs/docs/cmd/booking/business/business-get.md +107 -0
- package/docs/docs/cmd/booking/business/business-list.md +34 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +4 -11
- package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -10
- package/docs/docs/cmd/outlook/mail/mail-send.md +13 -0
- package/docs/docs/cmd/outlook/message/message-get.md +48 -0
- package/docs/docs/cmd/pa/app/app-get.md +184 -0
- package/docs/docs/cmd/pa/app/app-list.md +181 -0
- package/docs/docs/cmd/pa/app/app-remove.md +4 -0
- package/docs/docs/cmd/pa/connector/connector-export.md +4 -0
- package/docs/docs/cmd/pa/connector/connector-list.md +89 -0
- package/docs/docs/cmd/pa/environment/environment-get.md +113 -0
- package/docs/docs/cmd/pa/environment/environment-list.md +109 -0
- package/docs/docs/cmd/pa/pcf/pcf-init.md +4 -0
- package/docs/docs/cmd/pa/solution/solution-init.md +5 -0
- package/docs/docs/cmd/pa/solution/solution-reference-add.md +4 -0
- package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -0
- package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -0
- package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -0
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -0
- package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -0
- package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
- package/docs/docs/cmd/planner/plan/plan-get.md +77 -8
- package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
- package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-get.md +0 -3
- package/docs/docs/cmd/pp/card/card-clone.md +77 -0
- package/docs/docs/cmd/pp/card/card-get.md +122 -0
- package/docs/docs/cmd/pp/card/card-list.md +71 -0
- package/docs/docs/cmd/pp/card/card-remove.md +82 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +85 -0
- package/docs/docs/cmd/pp/environment/environment-get.md +308 -0
- package/docs/docs/cmd/pp/environment/environment-list.md +312 -0
- package/docs/docs/cmd/pp/gateway/gateway-get.md +56 -0
- package/docs/docs/cmd/pp/gateway/gateway-list.md +35 -0
- package/docs/docs/cmd/pp/managementapp/managementapp-add.md +23 -0
- package/docs/docs/cmd/pp/managementapp/managementapp-list.md +27 -0
- package/docs/docs/cmd/pp/solution/solution-get.md +86 -0
- package/docs/docs/cmd/pp/solution/solution-list.md +37 -0
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +62 -0
- package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-add.md +20 -2
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
- package/docs/docs/cmd/spo/customaction/customaction-add.md +3 -0
- package/docs/docs/cmd/spo/customaction/customaction-set.md +3 -2
- package/docs/docs/cmd/spo/field/field-add.md +20 -2
- package/docs/docs/cmd/spo/field/field-set.md +15 -3
- package/docs/docs/cmd/spo/file/file-roleassignment-add.md +9 -9
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +3 -3
- package/docs/docs/cmd/spo/folder/folder-list.md +45 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +6 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +6 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +36 -14
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +28 -12
- package/docs/docs/cmd/spo/hubsite/hubsite-register.md +2 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +2 -2
- package/docs/docs/cmd/spo/list/list-roleassignment-add.md +9 -9
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +8 -8
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +11 -8
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +16 -7
- package/docs/docs/cmd/spo/list/list-set.md +18 -6
- package/docs/docs/cmd/spo/list/list-view-field-add.md +14 -4
- package/docs/docs/cmd/spo/list/list-view-field-remove.md +11 -2
- package/docs/docs/cmd/spo/list/list-view-field-set.md +18 -2
- package/docs/docs/cmd/spo/list/list-view-list.md +16 -7
- package/docs/docs/cmd/spo/list/list-view-remove.md +12 -3
- package/docs/docs/cmd/spo/list/list-view-set.md +20 -6
- package/docs/docs/cmd/spo/list/list-webhook-get.md +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-list.md +3 -9
- package/docs/docs/cmd/spo/list/list-webhook-set.md +11 -4
- package/docs/docs/cmd/spo/listitem/listitem-add.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +12 -2
- package/docs/docs/cmd/spo/listitem/listitem-list.md +17 -8
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +7 -4
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-remove.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.md +8 -8
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +7 -4
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +8 -5
- package/docs/docs/cmd/spo/listitem/listitem-set.md +7 -4
- package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +14 -19
- package/docs/docs/cmd/spo/page/page-control-set.md +2 -1
- package/docs/docs/cmd/spo/site/site-add.md +0 -3
- package/docs/docs/cmd/spo/site/site-hubsite-connect.md +40 -0
- package/docs/docs/cmd/spo/site/site-hubsite-disconnect.md +42 -0
- package/docs/docs/cmd/spo/{hubsite/hubsite-theme-sync.md → site/site-hubsite-theme-sync.md} +5 -5
- package/docs/docs/cmd/spo/sitedesign/sitedesign-get.md +2 -2
- package/docs/docs/cmd/spo/term/term-add.md +5 -0
- package/docs/docs/cmd/spo/term/term-set-add.md +6 -1
- package/docs/docs/cmd/spo/web/web-roleassignment-add.md +6 -6
- package/docs/docs/cmd/spo/web/web-roleassignment-remove.md +4 -4
- package/docs/docs/cmd/spo/web/web-roleinheritance-break.md +44 -0
- package/docs/docs/cmd/teams/channel/channel-get.md +7 -7
- package/docs/docs/cmd/teams/channel/channel-remove.md +12 -9
- package/docs/docs/cmd/teams/channel/channel-set.md +13 -6
- package/docs/docs/cmd/teams/message/message-get.md +80 -0
- package/docs/docs/cmd/teams/message/message-list.md +63 -0
- package/docs/docs/cmd/teams/message/message-reply-list.md +63 -0
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +31 -0
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +4 -0
- package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +35 -0
- package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +36 -0
- package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +41 -0
- package/docs/docs/cmd/teams/report/report-directroutingcalls.md +49 -0
- package/docs/docs/cmd/teams/report/report-pstncalls.md +49 -0
- package/docs/docs/cmd/teams/report/report-useractivitycounts.md +39 -0
- package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +33 -0
- package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +58 -0
- package/docs/docs/cmd/teams/tab/tab-add.md +35 -0
- package/docs/docs/cmd/teams/tab/tab-get.md +35 -0
- package/docs/docs/cmd/teams/tab/tab-list.md +43 -0
- package/docs/docs/cmd/teams/tab/tab-remove.md +4 -0
- package/docs/docs/cmd/teams/team/team-add.md +145 -0
- package/docs/docs/cmd/teams/team/team-archive.md +7 -3
- package/docs/docs/cmd/teams/team/team-clone.md +4 -3
- package/docs/docs/cmd/teams/team/team-get.md +78 -0
- package/docs/docs/cmd/teams/team/team-list.md +30 -0
- package/docs/docs/cmd/teams/team/team-remove.md +7 -3
- package/docs/docs/cmd/teams/team/team-set.md +4 -3
- package/docs/docs/cmd/teams/team/team-unarchive.md +5 -2
- package/docs/docs/cmd/teams/user/user-app-add.md +4 -0
- package/docs/docs/cmd/teams/user/user-app-list.md +40 -0
- package/docs/docs/cmd/teams/user/user-app-remove.md +4 -0
- package/docs/docs/cmd/teams/user/user-list.md +31 -0
- package/docs/docs/cmd/tenant/id/id-get.md +20 -0
- package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
- package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
- package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
- package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
- package/docs/docs/cmd/tenant/security/security-alerts-list.md +105 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +87 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +91 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
- package/docs/docs/cmd/todo/list/list-add.md +32 -1
- package/docs/docs/cmd/todo/list/list-get.md +61 -0
- package/docs/docs/cmd/todo/list/list-list.md +31 -0
- package/docs/docs/cmd/todo/list/list-remove.md +10 -6
- package/docs/docs/cmd/todo/list/list-set.md +9 -5
- package/docs/docs/cmd/todo/task/task-add.md +88 -5
- package/docs/docs/cmd/todo/task/task-get.md +75 -0
- package/docs/docs/cmd/todo/task/task-list.md +47 -0
- package/docs/docs/cmd/todo/task/task-remove.md +9 -4
- package/docs/docs/cmd/todo/task/task-set.md +59 -5
- package/docs/docs/cmd/util/accesstoken/accesstoken-get.md +20 -0
- package/docs/docs/cmd/viva/connections/connections-app-create.md +4 -0
- package/package.json +13 -4
|
@@ -24,3 +24,112 @@ List Microsoft Power Apps environments in the current tenant
|
|
|
24
24
|
```sh
|
|
25
25
|
m365 pa environment list
|
|
26
26
|
```
|
|
27
|
+
|
|
28
|
+
## Response
|
|
29
|
+
|
|
30
|
+
=== "JSON"
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
[
|
|
34
|
+
{
|
|
35
|
+
"id":"/providers/Microsoft.PowerApps/environments/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d",
|
|
36
|
+
"name":"Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d",
|
|
37
|
+
"location":"europe",
|
|
38
|
+
"type":"Microsoft.PowerApps/environments",
|
|
39
|
+
"properties":{
|
|
40
|
+
"azureRegionHint":"westeurope",
|
|
41
|
+
"displayName":"contoso (default) (org6633049a)",
|
|
42
|
+
"createdTime":"2020-03-12T13:39:17.9876946Z",
|
|
43
|
+
"createdBy":{
|
|
44
|
+
"id":"SYSTEM",
|
|
45
|
+
"displayName":"SYSTEM",
|
|
46
|
+
"type":"NotSpecified"
|
|
47
|
+
},
|
|
48
|
+
"provisioningState":"Succeeded",
|
|
49
|
+
"creationType":"DefaultTenant",
|
|
50
|
+
"environmentSku":"Default",
|
|
51
|
+
"environmentType":"Production",
|
|
52
|
+
"isDefault":true,
|
|
53
|
+
"runtimeEndpoints":{
|
|
54
|
+
"microsoft.BusinessAppPlatform":"https://europe.api.bap.microsoft.com",
|
|
55
|
+
"microsoft.CommonDataModel":"https://europe.api.cds.microsoft.com",
|
|
56
|
+
"microsoft.PowerApps":"https://europe.api.powerapps.com",
|
|
57
|
+
"microsoft.PowerAppsAdvisor":"https://europe.api.advisor.powerapps.com",
|
|
58
|
+
"microsoft.PowerVirtualAgents":"https://powervamg.eu-il109.gateway.prod.island.powerapps.com",
|
|
59
|
+
"microsoft.ApiManagement":"https://management.EUROPE.azure-apihub.net",
|
|
60
|
+
"microsoft.Flow":"https://emea.api.flow.microsoft.com"
|
|
61
|
+
},
|
|
62
|
+
"linkedEnvironmentMetadata":{
|
|
63
|
+
"type":"Dynamics365Instance",
|
|
64
|
+
"resourceId":"5041ef46-5a1c-4a0f-a185-6bb49b5c6686",
|
|
65
|
+
"friendlyName":"contoso (default)",
|
|
66
|
+
"uniqueName":"unq5041ef465a1c4a0fa1856bb49b5c6",
|
|
67
|
+
"domainName":"org6633049a",
|
|
68
|
+
"version":"9.2.22101.00168",
|
|
69
|
+
"instanceUrl":"https://org6633049a.crm4.dynamics.com/",
|
|
70
|
+
"instanceApiUrl":"https://org6633049a.api.crm4.dynamics.com",
|
|
71
|
+
"baseLanguage":1033,
|
|
72
|
+
"instanceState":"Ready",
|
|
73
|
+
"createdTime":"2021-10-08T09:50:41.283Z",
|
|
74
|
+
"modifiedTime":"2022-10-29T14:04:14.0720726Z",
|
|
75
|
+
"hostNameSuffix":"crm4.dynamics.com",
|
|
76
|
+
"bapSolutionId":"00000001-0000-0000-0001-00000000009b",
|
|
77
|
+
"creationTemplates":[
|
|
78
|
+
"D365_CDS"
|
|
79
|
+
],
|
|
80
|
+
"webApiVersion":"v9.0",
|
|
81
|
+
"platformSku":"Standard"
|
|
82
|
+
},
|
|
83
|
+
"retentionPeriod":"P7D",
|
|
84
|
+
"lifecycleAuthority":"Environment",
|
|
85
|
+
"states":{
|
|
86
|
+
"management":{
|
|
87
|
+
"id":"NotSpecified"
|
|
88
|
+
},
|
|
89
|
+
"runtime":{
|
|
90
|
+
"runtimeReasonCode":"NotSpecified",
|
|
91
|
+
"requestedBy":{
|
|
92
|
+
"displayName":"SYSTEM",
|
|
93
|
+
"type":"NotSpecified"
|
|
94
|
+
},
|
|
95
|
+
"id":"Enabled"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"updateCadence":{
|
|
99
|
+
"id":"Frequent"
|
|
100
|
+
},
|
|
101
|
+
"connectedGroups":[],
|
|
102
|
+
"protectionStatus":{
|
|
103
|
+
"keyManagedBy":"Microsoft"
|
|
104
|
+
},
|
|
105
|
+
"trialScenarioType":"None",
|
|
106
|
+
"cluster":{
|
|
107
|
+
"category":"Prod",
|
|
108
|
+
"number":"109",
|
|
109
|
+
"uriSuffix":"eu-il109.gateway.prod.island",
|
|
110
|
+
"geoShortName":"EU",
|
|
111
|
+
"environment":"Prod"
|
|
112
|
+
},
|
|
113
|
+
"governanceConfiguration":{
|
|
114
|
+
"protectionLevel":"Basic"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"displayName":"contoso (default) (org6633049a)"
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
=== "Text"
|
|
123
|
+
|
|
124
|
+
```text
|
|
125
|
+
displayName name
|
|
126
|
+
--------------------------------------- --------------------------------------------
|
|
127
|
+
environmentName (default) (org6633050c) Default-e1dd4030-a657-480a-8a0e-c1b1eec51e2e
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
=== "CSV"
|
|
131
|
+
|
|
132
|
+
```csv
|
|
133
|
+
name,displayName
|
|
134
|
+
Default-e1dd4030-a657-480a-8a0e-c1b1eec51e2e,environmentName (default) (org6633050c)
|
|
135
|
+
```
|
|
@@ -43,6 +43,10 @@ Initialize the PowerApps Component Framework for a Dataset component
|
|
|
43
43
|
m365 pa pcf init --namespace yourNamespace --name yourCustomFieldComponent --template Dataset
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
+
## Response
|
|
47
|
+
|
|
48
|
+
The response is a custom message which will show the location where the component framework has been created and a message to remind you to run `npm install` in the directory.
|
|
49
|
+
|
|
46
50
|
## More information
|
|
47
51
|
|
|
48
52
|
- Create and build a custom component: [https://docs.microsoft.com/en-us/powerapps/developer/component-framework/create-custom-controls-using-pcf](https://docs.microsoft.com/en-us/powerapps/developer/component-framework/create-custom-controls-using-pcf)
|
|
@@ -32,6 +32,11 @@ Initializes a CDS solution project using _yourPublisherName_ as publisher name a
|
|
|
32
32
|
m365 pa solution init --publisherName yourPublisherName --publisherPrefix ypn
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
+
## Response
|
|
36
|
+
|
|
37
|
+
The response is a custom message which will show the location where the solution has been created and a message to remind you to have a look at the publisher information and solution name in the `Solution.xml` file.
|
|
38
|
+
|
|
39
|
+
|
|
35
40
|
## More information
|
|
36
41
|
|
|
37
42
|
- Create and build a custom component: [https://docs.microsoft.com/en-us/powerapps/developer/component-framework/create-custom-controls-using-pcf](https://docs.microsoft.com/en-us/powerapps/developer/component-framework/create-custom-controls-using-pcf)
|
|
@@ -29,6 +29,10 @@ Adds a reference inside the CDS Solution project in the current directory to the
|
|
|
29
29
|
m365 pa solution reference add --projectPath ./projects/ExampleProject
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
+
## Response
|
|
33
|
+
|
|
34
|
+
The command won't return a response on success.
|
|
35
|
+
|
|
32
36
|
## More information
|
|
33
37
|
|
|
34
38
|
- Create and build a custom component: [https://docs.microsoft.com/en-us/powerapps/developer/component-framework/create-custom-controls-using-pcf](https://docs.microsoft.com/en-us/powerapps/developer/component-framework/create-custom-controls-using-pcf)
|
|
@@ -43,3 +43,32 @@ Adds a Microsoft Planner bucket with the name _My Planner Bucket_ for plan with
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 planner bucket add --name "My Planner Bucket" --planTitle "My Planner Plan" --ownerGroupName "My Planner Group"
|
|
45
45
|
```
|
|
46
|
+
|
|
47
|
+
## Response
|
|
48
|
+
|
|
49
|
+
=== "JSON"
|
|
50
|
+
|
|
51
|
+
```json
|
|
52
|
+
{
|
|
53
|
+
"name": "My Planner Bucket",
|
|
54
|
+
"planId": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
|
|
55
|
+
"orderHint": "8585363889524958496",
|
|
56
|
+
"id": "ttEB_Uj690STdR3GC1MIDZgANq1U"
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
=== "Text"
|
|
61
|
+
|
|
62
|
+
```text
|
|
63
|
+
id : ttEB_Uj690STdR3GC1MIDZgANq1U
|
|
64
|
+
name : My Planner Bucket
|
|
65
|
+
orderHint: 8585363889524958496
|
|
66
|
+
planId : xqQg5FS2LkCp935s-FIFm2QAFkHM
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
=== "CSV"
|
|
70
|
+
|
|
71
|
+
```csv
|
|
72
|
+
id,name,planId,orderHint
|
|
73
|
+
ttEB_Uj690STdR3GC1MIDZgANq1U,My Planner Bucket,xqQg5FS2LkCp935s-FIFm2QAFkHM,8585363889524958496
|
|
74
|
+
```
|
|
@@ -55,3 +55,32 @@ Gets the Microsoft Planner bucket in the Plan _My Plan_ owned by groupId ee0f40f
|
|
|
55
55
|
```sh
|
|
56
56
|
m365 planner bucket get --name "Planner Bucket A" --planTitle "My Plan" --ownerGroupId "ee0f40fc-b2f7-45c7-b62d-11b90dd2ea8e"
|
|
57
57
|
```
|
|
58
|
+
|
|
59
|
+
## Response
|
|
60
|
+
|
|
61
|
+
=== "JSON"
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"name": "My Planner Bucket",
|
|
66
|
+
"planId": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
|
|
67
|
+
"orderHint": "8585363889524958496",
|
|
68
|
+
"id": "ttEB_Uj690STdR3GC1MIDZgANq1U"
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
=== "Text"
|
|
73
|
+
|
|
74
|
+
```text
|
|
75
|
+
id : ttEB_Uj690STdR3GC1MIDZgANq1U
|
|
76
|
+
name : My Planner Bucket
|
|
77
|
+
orderHint: 8585363889524958496
|
|
78
|
+
planId : xqQg5FS2LkCp935s-FIFm2QAFkHM
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
=== "CSV"
|
|
82
|
+
|
|
83
|
+
```csv
|
|
84
|
+
id,name,planId,orderHint
|
|
85
|
+
ttEB_Uj690STdR3GC1MIDZgANq1U,My Planner Bucket,xqQg5FS2LkCp935s-FIFm2QAFkHM,8585363889524958496
|
|
86
|
+
```
|
|
@@ -37,3 +37,33 @@ Lists the Microsoft Planner buckets in the Plan _My Plan_ owned by group _My Gro
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 planner bucket list --planTitle "My Plan" --ownerGroupName "My Group"
|
|
39
39
|
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
=== "JSON"
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
|
+
"name": "My Planner Bucket",
|
|
49
|
+
"planId": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
|
|
50
|
+
"orderHint": "8585363889524958496",
|
|
51
|
+
"id": "ttEB_Uj690STdR3GC1MIDZgANq1U"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
=== "Text"
|
|
57
|
+
|
|
58
|
+
```text
|
|
59
|
+
id name planId orderHint
|
|
60
|
+
---------------------------- ----------------- ---------------------------- -------------------
|
|
61
|
+
ttEB_Uj690STdR3GC1MIDZgANq1U My Planner Bucket xqQg5FS2LkCp935s-FIFm2QAFkHM 8585363889524958496
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
=== "CSV"
|
|
65
|
+
|
|
66
|
+
```csv
|
|
67
|
+
id,name,planId,orderHint
|
|
68
|
+
ttEB_Uj690STdR3GC1MIDZgANq1U,My Planner Bucket,xqQg5FS2LkCp935s-FIFm2QAFkHM,8585363889524958496
|
|
69
|
+
```
|
|
@@ -58,3 +58,7 @@ Removes the Microsoft Planner bucket with name _My Bucket_ in the Plan _My Plan_
|
|
|
58
58
|
```sh
|
|
59
59
|
m365 planner bucket remove --name "My Bucket" --planTitle "My Plan" --ownerGroupName "My Group"
|
|
60
60
|
```
|
|
61
|
+
|
|
62
|
+
## Response
|
|
63
|
+
|
|
64
|
+
The command won't return a response on success.
|
|
@@ -55,3 +55,7 @@ Updates the Microsoft Planner bucket named _My Bucket_ in the Plan _My Plan_ own
|
|
|
55
55
|
```sh
|
|
56
56
|
m365 planner bucket set --name "My Bucket" --planTitle "My Plan" --ownerGroupId 00000000-0000-0000-0000-000000000000 --newName "New bucket name"
|
|
57
57
|
```
|
|
58
|
+
|
|
59
|
+
## Response
|
|
60
|
+
|
|
61
|
+
The command won't return a response on success.
|
|
@@ -50,3 +50,126 @@ Adds a Microsoft Planner plan with the name _My Planner Plan_ for Group _My Plan
|
|
|
50
50
|
```sh
|
|
51
51
|
m365 planner plan add --title 'My Planner Plan' --ownerGroupName 'My Planner Group' --shareWithUserNames 'Allan.Carroll@contoso.com,Ida.Stevens@contoso.com'
|
|
52
52
|
```
|
|
53
|
+
|
|
54
|
+
## Response
|
|
55
|
+
|
|
56
|
+
### Standard response
|
|
57
|
+
|
|
58
|
+
=== "JSON"
|
|
59
|
+
|
|
60
|
+
``` json
|
|
61
|
+
{
|
|
62
|
+
"createdDateTime": "2015-03-30T18:36:49.2407981Z",
|
|
63
|
+
"owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
|
|
64
|
+
"title": "My Planner Plan",
|
|
65
|
+
"id": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
|
|
66
|
+
"createdBy": {
|
|
67
|
+
"user": {
|
|
68
|
+
"displayName": null,
|
|
69
|
+
"id": "95e27074-6c4a-447a-aa24-9d718a0b86fa"
|
|
70
|
+
},
|
|
71
|
+
"application": {
|
|
72
|
+
"displayName": null,
|
|
73
|
+
"id": "ebf3b108-5234-4e22-b93d-656d7dae5874"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"container": {
|
|
77
|
+
"containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
|
|
78
|
+
"type": "group",
|
|
79
|
+
"url": "https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
=== "Text"
|
|
85
|
+
|
|
86
|
+
``` text
|
|
87
|
+
createdDateTime: 2015-03-30T18:36:49.2407981Z
|
|
88
|
+
id : xqQg5FS2LkCp935s-FIFm2QAFkHM
|
|
89
|
+
owner : ebf3b108-5234-4e22-b93d-656d7dae5874
|
|
90
|
+
title : My Planner Plan
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
=== "CSV"
|
|
94
|
+
|
|
95
|
+
``` text
|
|
96
|
+
id,title,createdDateTime,owner
|
|
97
|
+
xqQg5FS2LkCp935s-FIFm2QAFkHM,My Planner Plan,2015-03-30T18:36:49.2407981Z,ebf3b108-5234-4e22-b93d-656d7dae5874
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### `shareWithUserIds`, `shareWithUserNames` response
|
|
101
|
+
|
|
102
|
+
When we make use of the option `shareWithUserIds` or `shareWithUserNames` the response will differ.
|
|
103
|
+
|
|
104
|
+
=== "JSON"
|
|
105
|
+
|
|
106
|
+
```json
|
|
107
|
+
{
|
|
108
|
+
"createdDateTime": "2015-03-30T18:36:49.2407981Z",
|
|
109
|
+
"owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
|
|
110
|
+
"title": "My Planner Plan",
|
|
111
|
+
"id": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
|
|
112
|
+
"createdBy": {
|
|
113
|
+
"user": {
|
|
114
|
+
"displayName": null,
|
|
115
|
+
"id": "95e27074-6c4a-447a-aa24-9d718a0b86fa"
|
|
116
|
+
},
|
|
117
|
+
"application": {
|
|
118
|
+
"displayName": null,
|
|
119
|
+
"id": "ebf3b108-5234-4e22-b93d-656d7dae5874"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"container": {
|
|
123
|
+
"containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
|
|
124
|
+
"type": "group",
|
|
125
|
+
"url": "https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"
|
|
126
|
+
},
|
|
127
|
+
"sharedWith": {
|
|
128
|
+
"ebf3b108-5234-4e22-b93d-656d7dae5874": true,
|
|
129
|
+
"6463a5ce-2119-4198-9f2a-628761df4a62": true
|
|
130
|
+
},
|
|
131
|
+
"categoryDescriptions": {
|
|
132
|
+
"category1": null,
|
|
133
|
+
"category2": null,
|
|
134
|
+
"category3": null,
|
|
135
|
+
"category4": null,
|
|
136
|
+
"category5": null,
|
|
137
|
+
"category6": null,
|
|
138
|
+
"category7": null,
|
|
139
|
+
"category8": null,
|
|
140
|
+
"category9": null,
|
|
141
|
+
"category10": null,
|
|
142
|
+
"category11": null,
|
|
143
|
+
"category12": null,
|
|
144
|
+
"category13": null,
|
|
145
|
+
"category14": null,
|
|
146
|
+
"category15": null,
|
|
147
|
+
"category16": null,
|
|
148
|
+
"category17": null,
|
|
149
|
+
"category18": null,
|
|
150
|
+
"category19": null,
|
|
151
|
+
"category20": null,
|
|
152
|
+
"category21": null,
|
|
153
|
+
"category22": null,
|
|
154
|
+
"category23": null,
|
|
155
|
+
"category24": null,
|
|
156
|
+
"category25": null
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
=== "Text"
|
|
162
|
+
|
|
163
|
+
```text
|
|
164
|
+
createdDateTime: 2015-03-30T18:36:49.2407981Z
|
|
165
|
+
id : xqQg5FS2LkCp935s-FIFm2QAFkHM
|
|
166
|
+
owner : ebf3b108-5234-4e22-b93d-656d7dae5874
|
|
167
|
+
title : My Planner Plan
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
=== "CSV"
|
|
171
|
+
|
|
172
|
+
```csv
|
|
173
|
+
id,title,createdDateTime,owner
|
|
174
|
+
xqQg5FS2LkCp935s-FIFm2QAFkHM,My Planner Plan,2015-03-30T18:36:49.2407981Z,ebf3b108-5234-4e22-b93d-656d7dae5874
|
|
175
|
+
```
|
|
@@ -16,17 +16,11 @@ m365 planner plan get [options]
|
|
|
16
16
|
`-t, --title [title]`
|
|
17
17
|
: Title of the plan. Specify either `id` or `title` but not both.
|
|
18
18
|
|
|
19
|
-
`--planId [planId]`
|
|
20
|
-
: (deprecated. Use `id` instead) ID of the plan. Specify either `planId` or `planTitle` but not both.
|
|
21
|
-
|
|
22
|
-
`---planTitle [planTitle]`
|
|
23
|
-
: (deprecated. Use `title` instead) Title of the plan. Specify either `planId` or `planTitle` but not both.
|
|
24
|
-
|
|
25
19
|
`--ownerGroupId [ownerGroupId]`
|
|
26
|
-
: ID of the Group that owns the plan. Specify either `ownerGroupId` or `ownerGroupName` when using `title
|
|
20
|
+
: ID of the Group that owns the plan. Specify either `ownerGroupId` or `ownerGroupName` when using `title`.
|
|
27
21
|
|
|
28
22
|
`--ownerGroupName [ownerGroupName]`
|
|
29
|
-
: Name of the Group that owns the plan. Specify either `ownerGroupId` or `ownerGroupName` when using `title
|
|
23
|
+
: Name of the Group that owns the plan. Specify either `ownerGroupId` or `ownerGroupName` when using `title`.
|
|
30
24
|
|
|
31
25
|
--8<-- "docs/cmd/_global.md"
|
|
32
26
|
|
|
@@ -49,3 +43,78 @@ Returns the Microsoft Planner plan with title _MyPlan_ for Group _My Planner Gro
|
|
|
49
43
|
```sh
|
|
50
44
|
m365 planner plan get --title "MyPlan" --ownerGroupName "My Planner Group"
|
|
51
45
|
```
|
|
46
|
+
|
|
47
|
+
## Response
|
|
48
|
+
|
|
49
|
+
=== "JSON"
|
|
50
|
+
|
|
51
|
+
```json
|
|
52
|
+
{
|
|
53
|
+
"createdDateTime": "2015-03-30T18:36:49.2407981Z",
|
|
54
|
+
"owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
|
|
55
|
+
"title": "My Planner Plan",
|
|
56
|
+
"id": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
|
|
57
|
+
"createdBy": {
|
|
58
|
+
"user": {
|
|
59
|
+
"displayName": null,
|
|
60
|
+
"id": "95e27074-6c4a-447a-aa24-9d718a0b86fa"
|
|
61
|
+
},
|
|
62
|
+
"application": {
|
|
63
|
+
"displayName": null,
|
|
64
|
+
"id": "ebf3b108-5234-4e22-b93d-656d7dae5874"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"container": {
|
|
68
|
+
"containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
|
|
69
|
+
"type": "group",
|
|
70
|
+
"url": "https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"
|
|
71
|
+
},
|
|
72
|
+
"sharedWith": {
|
|
73
|
+
"ebf3b108-5234-4e22-b93d-656d7dae5874": true,
|
|
74
|
+
"6463a5ce-2119-4198-9f2a-628761df4a62": true
|
|
75
|
+
},
|
|
76
|
+
"categoryDescriptions": {
|
|
77
|
+
"category1": null,
|
|
78
|
+
"category2": null,
|
|
79
|
+
"category3": null,
|
|
80
|
+
"category4": null,
|
|
81
|
+
"category5": null,
|
|
82
|
+
"category6": null,
|
|
83
|
+
"category7": null,
|
|
84
|
+
"category8": null,
|
|
85
|
+
"category9": null,
|
|
86
|
+
"category10": null,
|
|
87
|
+
"category11": null,
|
|
88
|
+
"category12": null,
|
|
89
|
+
"category13": null,
|
|
90
|
+
"category14": null,
|
|
91
|
+
"category15": null,
|
|
92
|
+
"category16": null,
|
|
93
|
+
"category17": null,
|
|
94
|
+
"category18": null,
|
|
95
|
+
"category19": null,
|
|
96
|
+
"category20": null,
|
|
97
|
+
"category21": null,
|
|
98
|
+
"category22": null,
|
|
99
|
+
"category23": null,
|
|
100
|
+
"category24": null,
|
|
101
|
+
"category25": null
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
=== "Text"
|
|
107
|
+
|
|
108
|
+
```text
|
|
109
|
+
createdDateTime: 2015-03-30T18:36:49.2407981Z
|
|
110
|
+
id : xqQg5FS2LkCp935s-FIFm2QAFkHM
|
|
111
|
+
owner : ebf3b108-5234-4e22-b93d-656d7dae5874
|
|
112
|
+
title : My Planner Plan
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
=== "CSV"
|
|
116
|
+
|
|
117
|
+
```csv
|
|
118
|
+
id,title,createdDateTime,owner
|
|
119
|
+
xqQg5FS2LkCp935s-FIFm2QAFkHM,My Planner Plan,2015-03-30T18:36:49.2407981Z,ebf3b108-5234-4e22-b93d-656d7dae5874
|
|
120
|
+
```
|
|
@@ -31,3 +31,48 @@ Returns a list of Microsoft Planner plans for Group _My Planner Group_
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 planner plan list --ownerGroupName "My Planner Group"
|
|
33
33
|
```
|
|
34
|
+
|
|
35
|
+
## Response
|
|
36
|
+
|
|
37
|
+
=== "JSON"
|
|
38
|
+
|
|
39
|
+
```json
|
|
40
|
+
[
|
|
41
|
+
{
|
|
42
|
+
"createdDateTime": "2015-03-30T18:36:49.2407981Z",
|
|
43
|
+
"owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
|
|
44
|
+
"title": "My Planner Plan",
|
|
45
|
+
"id": "xqQg5FS2LkCp935s-FIFm2QAFkHM",
|
|
46
|
+
"createdBy": {
|
|
47
|
+
"user": {
|
|
48
|
+
"displayName": null,
|
|
49
|
+
"id": "95e27074-6c4a-447a-aa24-9d718a0b86fa"
|
|
50
|
+
},
|
|
51
|
+
"application": {
|
|
52
|
+
"displayName": null,
|
|
53
|
+
"id": "ebf3b108-5234-4e22-b93d-656d7dae5874"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"container": {
|
|
57
|
+
"containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
|
|
58
|
+
"type": "group",
|
|
59
|
+
"url": "https://graph.microsoft.com/v1.0/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
=== "Text"
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
id title createdDateTime owner
|
|
69
|
+
---------------------------- --------------- ---------------------------- ------------------------------------
|
|
70
|
+
xqQg5FS2LkCp935s-FIFm2QAFkHM My Planner Plan 2015-03-30T18:36:49.2407981Z ebf3b108-5234-4e22-b93d-656d7dae5874
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
=== "CSV"
|
|
74
|
+
|
|
75
|
+
```csv
|
|
76
|
+
id,title,createdDateTime,owner
|
|
77
|
+
xqQg5FS2LkCp935s-FIFm2QAFkHM,My Planner Plan,2015-03-30T18:36:49.2407981Z,ebf3b108-5234-4e22-b93d-656d7dae5874
|
|
78
|
+
```
|
|
@@ -22,9 +22,6 @@ m365 planner task details get [options]
|
|
|
22
22
|
`-t, --title [title]`
|
|
23
23
|
: Title of the task. Specify either `id` or `title` but not both.
|
|
24
24
|
|
|
25
|
-
`--taskId [taskId]`
|
|
26
|
-
: (deprecated. Use `id` instead) ID of the task.
|
|
27
|
-
|
|
28
25
|
`--bucketId [bucketId]`
|
|
29
26
|
: ID of the bucket to which the task belongs. Specify `bucketId` or `bucketName` when using `title`.
|
|
30
27
|
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# pp card clone
|
|
2
|
+
|
|
3
|
+
Clones a specific Microsoft Power Platform card in the specified Power Platform environment
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
pp card clone [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-e, --environment <environment>`
|
|
14
|
+
: The name of the environment.
|
|
15
|
+
|
|
16
|
+
`--newName <newName>`
|
|
17
|
+
: The name of the new card.
|
|
18
|
+
|
|
19
|
+
`-i, --id [id]`
|
|
20
|
+
: The id of the card. Specify either `id` or `name` but not both.
|
|
21
|
+
|
|
22
|
+
`-n, --name [name]`
|
|
23
|
+
: The name of the card. Specify either `id` or `name` but not both.
|
|
24
|
+
|
|
25
|
+
`-a, --asAdmin`
|
|
26
|
+
: Run the command as admin for environments you do not have explicitly assigned permissions to.
|
|
27
|
+
|
|
28
|
+
--8<-- "docs/cmd/_global.md"
|
|
29
|
+
|
|
30
|
+
## Examples
|
|
31
|
+
|
|
32
|
+
Clones a specific card in a specific environment based on name.
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 pp card clone --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "CLI 365 Card" --newName "CLI 365 new Card"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Clones a specific card in a specific environment based on name as admin.
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 pp card clone --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "CLI 365 Card" --newName "CLI 365 new Card" --asAdmin
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Clones a specific card in a specific environment based on id.
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 pp card clone --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "408e3f42-4c9e-4c93-8aaf-3cbdea9179aa" --newName "CLI 365 new Card"
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Clones a specific card in a specific environment based on id as admin.
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 pp card clone --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "408e3f42-4c9e-4c93-8aaf-3cbdea9179aa" --newName "CLI 365 new Card" --asAdmin
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
=== "JSON"
|
|
59
|
+
|
|
60
|
+
```json
|
|
61
|
+
{
|
|
62
|
+
"CardIdClone": "80cff342-ddf1-4633-aec1-6d3d131b29e0"
|
|
63
|
+
}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
=== "Text"
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
CardIdClone: 80cff342-ddf1-4633-aec1-6d3d131b29e0
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
=== "CSV"
|
|
73
|
+
|
|
74
|
+
```csv
|
|
75
|
+
CardIdClone
|
|
76
|
+
80cff342-ddf1-4633-aec1-6d3d131b29e0
|
|
77
|
+
```
|