@pnp/cli-microsoft365 9.0.0-beta.2f8dd1e → 9.0.0-beta.39e78b2
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +10 -18
- package/dist/Command.js +50 -5
- package/dist/chili/chili.js +0 -23
- package/dist/cli/cli.js +100 -100
- package/dist/config.js +1 -1
- package/dist/m365/app/commands/permission/permission-add.js +9 -9
- package/dist/m365/cli/commands/cli-consent.js +3 -7
- package/dist/m365/commands/login.js +49 -96
- package/dist/m365/commands/setup.js +0 -4
- package/dist/m365/commands/status.js +2 -2
- package/dist/m365/connection/commands/connection-remove.js +6 -2
- package/dist/m365/connection/commands/connection-set.js +4 -1
- package/dist/m365/connection/commands/connection-use.js +25 -4
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +13 -13
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +18 -18
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +1 -1
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-remove.js +123 -0
- package/dist/m365/entra/commands/group/group-set.js +256 -0
- package/dist/m365/entra/commands/group/group-user-list.js +4 -4
- package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +4 -4
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +3 -3
- package/dist/m365/entra/commands/m365group/m365group-set.js +66 -29
- package/dist/m365/entra/commands/m365group/m365group-user-add.js +109 -32
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +6 -9
- package/dist/m365/entra/commands/m365group/m365group-user-set.js +159 -84
- package/dist/m365/entra/commands/multitenant/MultitenantOrganization.js +2 -0
- package/dist/m365/entra/commands/multitenant/multitenant-add.js +65 -0
- package/dist/m365/entra/commands/multitenant/multitenant-get.js +32 -0
- package/dist/m365/entra/commands/multitenant/multitenant-remove.js +118 -0
- package/dist/m365/entra/commands/multitenant/multitenant-set.js +72 -0
- package/dist/m365/entra/commands.js +7 -0
- package/dist/m365/external/commands/connection/connection-doctor.js +10 -24
- package/dist/m365/flow/commands/flow-get.js +1 -1
- package/dist/m365/flow/commands/flow-list.js +23 -24
- package/dist/m365/graph/commands/subscription/subscription-add.js +4 -2
- package/dist/m365/onenote/commands/notebook/notebook-add.js +132 -0
- package/dist/m365/onenote/commands.js +1 -0
- package/dist/m365/outlook/commands/message/message-get.js +11 -11
- package/dist/m365/pa/commands/app/app-export.js +13 -7
- package/dist/m365/spe/ContainerTypeProperties.js +2 -0
- package/dist/m365/spe/commands/containertype/containertype-list.js +49 -0
- package/dist/m365/spe/commands.js +2 -1
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +1 -1
- package/dist/m365/spfx/commands/project/base-project-command.js +36 -126
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -10
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +16 -22
- package/dist/m365/spo/commands/cdn/cdn-get.js +12 -15
- package/dist/m365/spo/commands/cdn/cdn-set.js +6 -4
- package/dist/m365/spo/commands/commandset/commandset-get.js +31 -17
- package/dist/m365/spo/commands/contenttype/contenttype-field-list.js +124 -0
- package/dist/m365/spo/commands/field/field-list.js +1 -1
- package/dist/m365/spo/commands/file/file-copy.js +55 -34
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/folder/folder-set.js +0 -4
- package/dist/m365/spo/commands/folder/folder-sharinglink-get.js +86 -0
- package/dist/m365/spo/commands/folder/folder-sharinglink-list.js +110 -0
- package/dist/m365/spo/commands/group/group-member-add.js +103 -99
- package/dist/m365/spo/commands/list/ListInstance.js +6 -1
- package/dist/m365/spo/commands/list/list-get.js +9 -3
- package/dist/m365/spo/commands/list/list-list.js +1 -4
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +46 -21
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +48 -46
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +2 -3
- package/dist/m365/spo/commands/page/page-text-add.js +2 -3
- package/dist/m365/spo/commands/site/site-appcatalog-remove.js +48 -24
- package/dist/m365/spo/commands/site/site-get.js +12 -16
- package/dist/m365/spo/commands/site/site-remove.js +1 -7
- package/dist/m365/spo/commands/spo-search.js +3 -4
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +19 -5
- package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +20 -6
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +2 -22
- package/dist/m365/spo/commands.js +3 -1
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-get.js +119 -0
- package/dist/m365/teams/commands/message/message-remove.js +112 -0
- package/dist/m365/teams/commands/message/message-restore.js +106 -0
- package/dist/m365/teams/commands.js +3 -0
- package/dist/m365/viva/commands/engage/engage-community-add.js +166 -0
- package/dist/m365/viva/commands/engage/engage-group-list.js +0 -5
- package/dist/m365/viva/commands/engage/engage-group-user-add.js +0 -5
- package/dist/m365/viva/commands/engage/engage-group-user-remove.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-add.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-get.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-like-set.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-list.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-remove.js +0 -5
- package/dist/m365/viva/commands/engage/engage-network-list.js +0 -5
- package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-search.js +0 -5
- package/dist/m365/viva/commands/engage/engage-user-get.js +0 -5
- package/dist/m365/viva/commands/engage/engage-user-list.js +0 -5
- package/dist/m365/viva/commands.js +1 -0
- package/dist/utils/drive.js +61 -0
- package/dist/utils/formatting.js +30 -1
- package/dist/utils/spo.js +143 -6
- package/dist/utils/teams.js +49 -0
- package/dist/utils/validation.js +19 -0
- package/dist/utils/zod.js +124 -0
- package/docs/docs/cmd/app/permission/permission-add.mdx +5 -5
- package/docs/docs/cmd/cli/cli-consent.mdx +1 -1
- package/docs/docs/cmd/connection/connection-use.mdx +8 -2
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +12 -12
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +14 -14
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +5 -5
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx +65 -0
- package/docs/docs/cmd/entra/group/group-add.mdx +0 -4
- package/docs/docs/cmd/entra/group/group-set.mdx +89 -0
- package/docs/docs/cmd/entra/group/group-user-list.mdx +7 -7
- package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +5 -5
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +3 -3
- package/docs/docs/cmd/entra/m365group/m365group-set.mdx +37 -7
- package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +28 -10
- package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +1 -1
- package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +35 -11
- package/docs/docs/cmd/entra/multitenant/multitenant-add.mdx +107 -0
- package/docs/docs/cmd/entra/multitenant/multitenant-get.mdx +94 -0
- package/docs/docs/cmd/entra/multitenant/multitenant-remove.mdx +58 -0
- package/docs/docs/cmd/entra/multitenant/multitenant-set.mdx +53 -0
- package/docs/docs/cmd/external/connection/connection-doctor.mdx +9 -9
- package/docs/docs/cmd/flow/flow-get.mdx +149 -283
- package/docs/docs/cmd/flow/flow-list.mdx +114 -56
- package/docs/docs/cmd/graph/subscription/subscription-add.mdx +18 -0
- package/docs/docs/cmd/onenote/notebook/notebook-add.mdx +169 -0
- package/docs/docs/cmd/outlook/message/message-get.mdx +5 -5
- package/docs/docs/cmd/pa/app/app-export.mdx +15 -9
- package/docs/docs/cmd/planner/plan/plan-remove.mdx +1 -1
- package/docs/docs/cmd/spe/containertype/containertype-list.mdx +102 -0
- package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +11 -12
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +88 -38
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +22 -28
- package/docs/docs/cmd/spo/cdn/cdn-set.mdx +3 -3
- package/docs/docs/cmd/spo/commandset/commandset-get.mdx +75 -24
- package/docs/docs/cmd/spo/commandset/commandset-list.mdx +26 -32
- package/docs/docs/cmd/spo/contenttype/contenttype-field-list.mdx +172 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +3 -3
- package/docs/docs/cmd/spo/field/field-list.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-copy.mdx +119 -12
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-set.mdx +0 -6
- package/docs/docs/cmd/spo/folder/folder-sharinglink-get.mdx +110 -0
- package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +114 -0
- package/docs/docs/cmd/spo/group/group-member-add.mdx +34 -27
- package/docs/docs/cmd/spo/list/list-get.mdx +6 -0
- package/docs/docs/cmd/spo/list/list-list.mdx +5 -7
- package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +15 -3
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +15 -3
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.mdx +4 -4
- package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +9 -9
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +7 -7
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +11 -2
- package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-remove.mdx +0 -3
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +79 -30
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +20 -19
- package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +84 -38
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +20 -19
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +2 -49
- package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/teams/meeting/meeting-attendancereport-get.mdx +138 -0
- package/docs/docs/cmd/teams/meeting/meeting-list.mdx +7 -3
- package/docs/docs/cmd/teams/message/message-remove.mdx +64 -0
- package/docs/docs/cmd/teams/message/message-restore.mdx +62 -0
- package/docs/docs/cmd/viva/engage/engage-community-add.mdx +168 -0
- package/npm-shrinkwrap.json +986 -1326
- package/package.json +27 -24
- package/dist/m365/viva/commands/engage/yammerCommands.js +0 -25
|
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
|
|
|
4
4
|
|
|
5
5
|
# flow list
|
|
6
6
|
|
|
7
|
-
Lists Power Automate
|
|
7
|
+
Lists Power Automate flows in the given environment
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -83,85 +83,61 @@ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
|
83
83
|
```json
|
|
84
84
|
[
|
|
85
85
|
{
|
|
86
|
-
"name": "
|
|
87
|
-
"id": "/providers/Microsoft.ProcessSimple/environments/Default-
|
|
86
|
+
"name": "fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d",
|
|
87
|
+
"id": "/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d",
|
|
88
88
|
"type": "Microsoft.ProcessSimple/environments/flows",
|
|
89
89
|
"properties": {
|
|
90
90
|
"apiId": "/providers/Microsoft.PowerApps/apis/shared_logicflows",
|
|
91
|
-
"displayName": "
|
|
91
|
+
"displayName": "Invoicing flow",
|
|
92
92
|
"userType": "Owner",
|
|
93
93
|
"state": "Started",
|
|
94
94
|
"connectionReferences": {
|
|
95
|
-
"
|
|
96
|
-
"connectionName": "
|
|
97
|
-
"source": "
|
|
98
|
-
"id": "/providers/Microsoft.PowerApps/apis/
|
|
99
|
-
"displayName": "
|
|
100
|
-
"iconUri": "https://
|
|
101
|
-
"brandColor": "#
|
|
102
|
-
"tier": "NotSpecified"
|
|
103
|
-
},
|
|
104
|
-
"shared_flowpush": {
|
|
105
|
-
"connectionName": "shared-flowpush-d2c01136-3f7d-4449-b4f1-cb2d03a35ba8",
|
|
106
|
-
"source": "Invoker",
|
|
107
|
-
"id": "/providers/Microsoft.PowerApps/apis/shared_flowpush",
|
|
108
|
-
"displayName": "Notifications",
|
|
109
|
-
"iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1599/1.0.1599.3017/flowpush/icon.png",
|
|
110
|
-
"brandColor": "#FF3B30",
|
|
95
|
+
"shared_office365": {
|
|
96
|
+
"connectionName": "shared-office365-19528cc4-23c1-4b39-abea-f010eb9fe3f9",
|
|
97
|
+
"source": "Embedded",
|
|
98
|
+
"id": "/providers/Microsoft.PowerApps/apis/shared_office365",
|
|
99
|
+
"displayName": "Office 365 Outlook",
|
|
100
|
+
"iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1686/1.0.1686.3706/office365/icon.png",
|
|
101
|
+
"brandColor": "#0078D4",
|
|
111
102
|
"tier": "Standard"
|
|
112
103
|
}
|
|
113
104
|
},
|
|
114
|
-
"createdTime": "
|
|
115
|
-
"lastModifiedTime": "
|
|
105
|
+
"createdTime": "2024-07-09T21:32:14.5918501Z",
|
|
106
|
+
"lastModifiedTime": "2024-07-09T21:32:15.2349507Z",
|
|
116
107
|
"environment": {
|
|
117
|
-
"name": "Default-
|
|
108
|
+
"name": "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4",
|
|
118
109
|
"type": "Microsoft.ProcessSimple/environments",
|
|
119
|
-
"id": "/providers/Microsoft.ProcessSimple/environments/Default-
|
|
110
|
+
"id": "/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
|
|
120
111
|
},
|
|
121
112
|
"definitionSummary": {
|
|
122
113
|
"triggers": [
|
|
123
114
|
{
|
|
124
|
-
"type": "
|
|
125
|
-
"kind": "Button",
|
|
115
|
+
"type": "Recurrence",
|
|
126
116
|
"metadata": {
|
|
127
|
-
"operationMetadataId": "
|
|
117
|
+
"operationMetadataId": "57317efe-4f87-47bc-b69c-179452c75f87"
|
|
128
118
|
}
|
|
129
119
|
}
|
|
130
120
|
],
|
|
131
121
|
"actions": [
|
|
132
122
|
{
|
|
133
123
|
"type": "OpenApiConnection",
|
|
134
|
-
"swaggerOperationId": "
|
|
124
|
+
"swaggerOperationId": "SendEmailV2",
|
|
135
125
|
"metadata": {
|
|
136
|
-
"operationMetadataId": "
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"type": "Table",
|
|
141
|
-
"metadata": {
|
|
142
|
-
"operationMetadataId": "1164ebc4-b501-46bc-bc88-cc99660f92c3"
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"type": "OpenApiConnection",
|
|
147
|
-
"swaggerOperationId": "SendEmailNotification",
|
|
148
|
-
"metadata": {
|
|
149
|
-
"operationMetadataId": "9febe29f-2e36-4765-81ab-83645d28332d"
|
|
126
|
+
"operationMetadataId": "474e8016-6a45-466a-a021-3fedf5a766be"
|
|
150
127
|
}
|
|
151
128
|
}
|
|
152
129
|
]
|
|
153
130
|
},
|
|
154
131
|
"creator": {
|
|
155
|
-
"tenantId": "
|
|
156
|
-
"objectId": "
|
|
157
|
-
"userId": "
|
|
132
|
+
"tenantId": "1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4",
|
|
133
|
+
"objectId": "9723d9b0-b8d6-48af-b381-fb4a9f0403e4",
|
|
134
|
+
"userId": "9723d9b0-b8d6-48af-b381-fb4a9f0403e4",
|
|
158
135
|
"userType": "ActiveDirectory"
|
|
159
136
|
},
|
|
160
137
|
"provisioningMethod": "FromDefinition",
|
|
161
138
|
"flowFailureAlertSubscribed": true,
|
|
162
139
|
"isManaged": false
|
|
163
|
-
}
|
|
164
|
-
"displayName": "Contoso Invoicing Flow"
|
|
140
|
+
}
|
|
165
141
|
}
|
|
166
142
|
]
|
|
167
143
|
```
|
|
@@ -171,16 +147,16 @@ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
|
171
147
|
|
|
172
148
|
```text
|
|
173
149
|
name displayName
|
|
174
|
-
------------------------------------
|
|
175
|
-
|
|
150
|
+
------------------------------------ --------------
|
|
151
|
+
fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d Invoicing Flow
|
|
176
152
|
```
|
|
177
153
|
|
|
178
154
|
</TabItem>
|
|
179
155
|
<TabItem value="CSV">
|
|
180
156
|
|
|
181
157
|
```csv
|
|
182
|
-
name,displayName
|
|
183
|
-
|
|
158
|
+
name,id,type,displayName
|
|
159
|
+
fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d,/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d,Microsoft.ProcessSimple/environments/flows,Invoicing flow
|
|
184
160
|
```
|
|
185
161
|
|
|
186
162
|
</TabItem>
|
|
@@ -189,18 +165,100 @@ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
|
189
165
|
```md
|
|
190
166
|
# flow list --environmentName "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
|
|
191
167
|
|
|
192
|
-
Date:
|
|
168
|
+
Date: 09/07/2024
|
|
193
169
|
|
|
194
|
-
##
|
|
170
|
+
## Invoicing flow (/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d)
|
|
195
171
|
|
|
196
172
|
Property | Value
|
|
197
173
|
---------|-------
|
|
198
|
-
name |
|
|
199
|
-
id | /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/
|
|
174
|
+
name | fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d
|
|
175
|
+
id | /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d
|
|
200
176
|
type | Microsoft.ProcessSimple/environments/flows
|
|
201
|
-
displayName |
|
|
177
|
+
displayName | Invoicing flow
|
|
202
178
|
```
|
|
203
179
|
|
|
204
180
|
</TabItem>
|
|
205
181
|
</Tabs>
|
|
206
182
|
|
|
183
|
+
### `asAdmin` response
|
|
184
|
+
|
|
185
|
+
<Tabs>
|
|
186
|
+
<TabItem value="JSON">
|
|
187
|
+
|
|
188
|
+
```json
|
|
189
|
+
[
|
|
190
|
+
{
|
|
191
|
+
"name": "fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d",
|
|
192
|
+
"id": "/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d",
|
|
193
|
+
"type": "Microsoft.ProcessSimple/environments/flows",
|
|
194
|
+
"properties": {
|
|
195
|
+
"apiId": "/providers/Microsoft.PowerApps/apis/shared_logicflows",
|
|
196
|
+
"displayName": "Invoicing flow",
|
|
197
|
+
"state": "Started",
|
|
198
|
+
"createdTime": "2024-07-09T21:32:15Z",
|
|
199
|
+
"lastModifiedTime": "2024-07-09T21:32:15Z",
|
|
200
|
+
"flowSuspensionReason": "None",
|
|
201
|
+
"environment": {
|
|
202
|
+
"name": "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4",
|
|
203
|
+
"type": "Microsoft.ProcessSimple/environments",
|
|
204
|
+
"id": "/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
|
|
205
|
+
},
|
|
206
|
+
"definitionSummary": {
|
|
207
|
+
"triggers": [],
|
|
208
|
+
"actions": []
|
|
209
|
+
},
|
|
210
|
+
"creator": {
|
|
211
|
+
"tenantId": "1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4",
|
|
212
|
+
"objectId": "9723d9b0-b8d6-48af-b381-fb4a9f0403e4",
|
|
213
|
+
"userId": "9723d9b0-b8d6-48af-b381-fb4a9f0403e4",
|
|
214
|
+
"userType": "ActiveDirectory"
|
|
215
|
+
},
|
|
216
|
+
"flowFailureAlertSubscribed": false,
|
|
217
|
+
"isManaged": false,
|
|
218
|
+
"machineDescriptionData": {},
|
|
219
|
+
"flowOpenAiData": {
|
|
220
|
+
"isConsequential": false,
|
|
221
|
+
"isConsequentialFlagOverwritten": false
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
</TabItem>
|
|
229
|
+
<TabItem value="Text">
|
|
230
|
+
|
|
231
|
+
```text
|
|
232
|
+
name displayName
|
|
233
|
+
------------------------------------ --------------
|
|
234
|
+
fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d Invoicing Flow
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
</TabItem>
|
|
238
|
+
<TabItem value="CSV">
|
|
239
|
+
|
|
240
|
+
```csv
|
|
241
|
+
name,id,type,displayName
|
|
242
|
+
fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d,/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d,Microsoft.ProcessSimple/environments/flows,Invoicing flow
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
</TabItem>
|
|
246
|
+
<TabItem value="Markdown">
|
|
247
|
+
|
|
248
|
+
```md
|
|
249
|
+
# flow list --environmentName "Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4"
|
|
250
|
+
|
|
251
|
+
Date: 09/07/2024
|
|
252
|
+
|
|
253
|
+
## Invoicing flow (/providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d)
|
|
254
|
+
|
|
255
|
+
Property | Value
|
|
256
|
+
---------|-------
|
|
257
|
+
name | fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d
|
|
258
|
+
id | /providers/Microsoft.ProcessSimple/environments/Default-1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4/flows/fc2d4ef5-4151-4e93-9aaa-1f380d7ed95d
|
|
259
|
+
type | Microsoft.ProcessSimple/environments/flows
|
|
260
|
+
displayName | Invoicing flow
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
</TabItem>
|
|
264
|
+
</Tabs>
|
|
@@ -67,6 +67,24 @@ Create a subscription using the maximum allowed expiration for Group resources
|
|
|
67
67
|
m365 graph subscription add --resource groups --changeTypes "updated" --notificationUrl "https://webhook.azurewebsites.net/api/send/myNotifyClient"
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
+
Create a subscription for Event Hub location if you are using Key Vault
|
|
71
|
+
|
|
72
|
+
```sh
|
|
73
|
+
m365 graph subscription add --resource user --changeTypes "created,updated,deleted" --notificationUrl "EventHub:https://azureKeyVaultName.vault.azure.net/secrets/secretName?tenantId=contoso.com"
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Create a subscription for Event Hub location if you are using role-based access control
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
m365 graph subscription add --resource user --changeTypes "created,updated,deleted" --notificationUrl "EventHub:https://eventHubNamespace.servicebus.windows.net/eventhubname/eventHubName?tenantId=contoso.com"
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Create a subscription for Event Grid Partner Topic.
|
|
83
|
+
|
|
84
|
+
```sh
|
|
85
|
+
m365 graph subscription add --resource user --changeTypes "created,updated,deleted" --notificationUrl "EventGrid:?azuresubscriptionid=8A8A8A8A-4B4B-4C4C-4D4D-12E12E12E12E&resourcegroup=resourceGroupName&partnertopic=partnerTopicName&location=partnerTopicAzureRegionName"
|
|
86
|
+
```
|
|
87
|
+
|
|
70
88
|
## Response
|
|
71
89
|
|
|
72
90
|
<Tabs>
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# onenote notebook add
|
|
6
|
+
|
|
7
|
+
Create a new OneNote notebook.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 onenote notebook add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-n, --name <name>`
|
|
19
|
+
: Name of the notebook. Notebook names must be unique. The name cannot contain more than 128 characters or contain the following characters: `?*/:<>`
|
|
20
|
+
|
|
21
|
+
`--userId [userId]`
|
|
22
|
+
: Id of the user. Specify either `userId`, `userName`, `groupId`, `groupName` or `webUrl`, but not multiple.
|
|
23
|
+
|
|
24
|
+
`--userName [userName]`
|
|
25
|
+
: Name of the user. Specify either `userId`, `userName`, `groupId`, `groupName` or `webUrl`, but not multiple.
|
|
26
|
+
|
|
27
|
+
`--groupId [groupId]`
|
|
28
|
+
: Id of the SharePoint group. Specify either `userId`, `userName`, `groupId`, `groupName` or `webUrl`, but not multiple.
|
|
29
|
+
|
|
30
|
+
`--groupName [groupName]`
|
|
31
|
+
: Name of the SharePoint group. Specify either `userId`, `userName`, `groupId`, `groupName` or `webUrl`, but not multiple.
|
|
32
|
+
|
|
33
|
+
`-u, --webUrl [webUrl]`
|
|
34
|
+
: URL of the SharePoint site. Specify either `userId`, `userName`, `groupId`, `groupName` or `webUrl`, but not multiple.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
<Global />
|
|
38
|
+
|
|
39
|
+
## Examples
|
|
40
|
+
|
|
41
|
+
Create a Microsoft OneNote notebook for the currently logged in user
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 onenote notebook add --name "Private Notebook"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Create a Microsoft OneNote notebook in a group specified by id.
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 onenote notebook add --name "Private Notebook" --groupId 233e43d0-dc6a-482e-9b4e-0de7a7bce9b4
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Create a Microsoft OneNote notebook in a group specified by displayName.
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
m365 onenote notebook add --name "Private Notebook" --groupName "MyGroup"
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Create a Microsoft OneNote notebook for a user specified by name
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
m365 onenote notebook add --name "Private Notebook" --userName user1@contoso.onmicrosoft.com
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Create a Microsoft OneNote notebook for a user specified by id
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
m365 onenote notebook add --name "Private Notebook" --userId 2609af39-7775-4f94-a3dc-0dd67657e900
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Creates a Microsoft OneNote notebooks for a site
|
|
72
|
+
|
|
73
|
+
```sh
|
|
74
|
+
m365 onenote notebook add --name "Private Notebook" --webUrl https://contoso.sharepoint.com/sites/testsite
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Response
|
|
78
|
+
|
|
79
|
+
<Tabs>
|
|
80
|
+
<TabItem value="JSON">
|
|
81
|
+
|
|
82
|
+
```json
|
|
83
|
+
{
|
|
84
|
+
"id": "1-08554ffd-b769-4a4a-9563-faaa3191f253",
|
|
85
|
+
"self": "https://graph.microsoft.com/v1.0/users/fe36f75e-c103-410b-a18a-2bf6df06ac3a/onenote/notebooks/1-08554ffd-b769-4a4a-9563-faaa3191f253",
|
|
86
|
+
"createdDateTime": "2024-04-05T17:58:27Z",
|
|
87
|
+
"displayName": "Private Notebook",
|
|
88
|
+
"lastModifiedDateTime": "2024-04-05T17:58:27Z",
|
|
89
|
+
"isDefault": false,
|
|
90
|
+
"userRole": "Owner",
|
|
91
|
+
"isShared": false,
|
|
92
|
+
"sectionsUrl": "https://graph.microsoft.com/v1.0/users/fe36f75e-c103-410b-a18a-2bf6df06ac3a/onenote/notebooks/1-08554ffd-b769-4a4a-9563-faaa3191f253/sections",
|
|
93
|
+
"sectionGroupsUrl": "https://graph.microsoft.com/v1.0/users/fe36f75e-c103-410b-a18a-2bf6df06ac3a/onenote/notebooks/1-08554ffd-b769-4a4a-9563-faaa3191f253/sectionGroups",
|
|
94
|
+
"createdBy": {
|
|
95
|
+
"user": {
|
|
96
|
+
"id": "fe36f75e-c103-410b-a18a-2bf6df06ac3a",
|
|
97
|
+
"displayName": "John Doe"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"lastModifiedBy": {
|
|
101
|
+
"user": {
|
|
102
|
+
"id": "fe36f75e-c103-410b-a18a-2bf6df06ac3a",
|
|
103
|
+
"displayName": "John Doe"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"links": {
|
|
107
|
+
"oneNoteClientUrl": {
|
|
108
|
+
"href": "onenote:https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com/Documents/Notebooks/Private Notebook"
|
|
109
|
+
},
|
|
110
|
+
"oneNoteWebUrl": {
|
|
111
|
+
"href": "https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com/Documents/Notebooks/Private Notebook"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
</TabItem>
|
|
118
|
+
<TabItem value="Text">
|
|
119
|
+
|
|
120
|
+
```text
|
|
121
|
+
createdBy : {"user":{"id":"fe36f75e-c103-410b-a18a-2bf6df06ac3a","displayName":"John Doe"}}
|
|
122
|
+
createdDateTime : 2024-04-05T17:58:36Z
|
|
123
|
+
displayName : Private Notebook
|
|
124
|
+
id : 1-f4bba32b-9b3e-4892-8df4-931a15f7eb6f
|
|
125
|
+
isDefault : false
|
|
126
|
+
isShared : false
|
|
127
|
+
lastModifiedBy : {"user":{"id":"fe36f75e-c103-410b-a18a-2bf6df06ac3a","displayName":"John Doe"}}
|
|
128
|
+
lastModifiedDateTime: 2024-04-05T17:58:36Z
|
|
129
|
+
links : {"oneNoteClientUrl":{"href":"onenote:https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com/Documents/Notebooks/Private Notebook"},"oneNoteWebUrl":{"href":"https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com/Documents/Notebooks/Private Notebook"}}
|
|
130
|
+
sectionGroupsUrl : https://graph.microsoft.com/v1.0/users/fe36f75e-c103-410b-a18a-2bf6df06ac3a/onenote/notebooks/1-f4bba32b-9b3e-4892-8df4-931a15f7eb6f/sectionGroups
|
|
131
|
+
sectionsUrl : https://graph.microsoft.com/v1.0/users/fe36f75e-c103-410b-a18a-2bf6df06ac3a/onenote/notebooks/1-f4bba32b-9b3e-4892-8df4-931a15f7eb6f/sections
|
|
132
|
+
self : https://graph.microsoft.com/v1.0/users/fe36f75e-c103-410b-a18a-2bf6df06ac3a/onenote/notebooks/1-f4bba32b-9b3e-4892-8df4-931a15f7eb6f
|
|
133
|
+
userRole : Owner
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
</TabItem>
|
|
137
|
+
<TabItem value="CSV">
|
|
138
|
+
|
|
139
|
+
```csv
|
|
140
|
+
id,self,createdDateTime,displayName,lastModifiedDateTime,isDefault,userRole,isShared,sectionsUrl,sectionGroupsUrl
|
|
141
|
+
1-272a5791-2c95-45cf-b27d-7f68e07f6149,https://graph.microsoft.com/v1.0/users/fe36f75e-c103-410b-a18a-2bf6df06ac3a/onenote/notebooks/1-272a5791-2c95-45cf-b27d-7f68e07f6149,2024-04-05T18:00:28Z,Private Notebook,2024-04-05T18:00:28Z,,Owner,,https://graph.microsoft.com/v1.0/users/fe36f75e-c103-410b-a18a-2bf6df06ac3a/onenote/notebooks/1-272a5791-2c95-45cf-b27d-7f68e07f6149/sections,https://graph.microsoft.com/v1.0/users/fe36f75e-c103-410b-a18a-2bf6df06ac3a/onenote/notebooks/1-272a5791-2c95-45cf-b27d-7f68e07f6149/sectionGroups
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
</TabItem>
|
|
145
|
+
<TabItem value="Markdown">
|
|
146
|
+
|
|
147
|
+
```md
|
|
148
|
+
# onenote notebook add --name "Private Notebook"
|
|
149
|
+
|
|
150
|
+
Date: 05/04/2024
|
|
151
|
+
|
|
152
|
+
## Private Notebook (1-fa279d79-4701-43a2-9593-c2abfbe6999f)
|
|
153
|
+
|
|
154
|
+
Property | Value
|
|
155
|
+
---------|-------
|
|
156
|
+
id | 1-fa279d79-4701-43a2-9593-c2abfbe6999f
|
|
157
|
+
self | https://graph.microsoft.com/v1.0/users/fe36f75e-c103-410b-a18a-2bf6df06ac3a/onenote/notebooks/1-fa279d79-4701-43a2-9593-c2abfbe6999f
|
|
158
|
+
createdDateTime | 2024-04-05T18:00:58Z
|
|
159
|
+
displayName | Private Notebook
|
|
160
|
+
lastModifiedDateTime | 2024-04-05T18:00:58Z
|
|
161
|
+
isDefault | false
|
|
162
|
+
userRole | Owner
|
|
163
|
+
isShared | false
|
|
164
|
+
sectionsUrl | https://graph.microsoft.com/v1.0/users/fe36f75e-c103-410b-a18a-2bf6df06ac3a/onenote/notebooks/1-fa279d79-4701-43a2-9593-c2abfbe6999f/sections
|
|
165
|
+
sectionGroupsUrl | https://graph.microsoft.com/v1.0/users/fe36f75e-c103-410b-a18a-2bf6df06ac3a/onenote/notebooks/1-fa279d79-4701-43a2-9593-c2abfbe6999f/sectionGroups
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
</TabItem>
|
|
169
|
+
</Tabs>
|
|
@@ -19,10 +19,10 @@ m365 outlook message get [options]
|
|
|
19
19
|
: ID of the message.
|
|
20
20
|
|
|
21
21
|
`--userId [userId]`
|
|
22
|
-
: ID of the user from which to retrieve the message. Specify either `userId` or `
|
|
22
|
+
: ID of the user from which to retrieve the message. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
|
|
23
23
|
|
|
24
|
-
`--
|
|
25
|
-
: UPN of the user from which to retrieve the message Specify either `userId` or `
|
|
24
|
+
`--userName [userName]`
|
|
25
|
+
: UPN of the user from which to retrieve the message Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
<Global />
|
|
@@ -38,7 +38,7 @@ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYm
|
|
|
38
38
|
Get a specific message using delegated permissions from a shared mailbox.
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
|
-
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --
|
|
41
|
+
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userName sharedmailbox@tenant.com
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
Get a specific message from a specific user retrieved by user ID using application permissions.
|
|
@@ -50,7 +50,7 @@ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYm
|
|
|
50
50
|
Get a specific message from a specific user retrieved by user principal name using application permissions.
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
|
-
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --
|
|
53
|
+
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userName user@tenant.com
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
## Response
|
|
@@ -14,25 +14,25 @@ m365 pa app export [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-n, --name <name>`
|
|
17
|
-
: The name (GUID) of the Power Apps app to export
|
|
17
|
+
: The name (GUID) of the Power Apps app to export.
|
|
18
18
|
|
|
19
19
|
`-e, --environmentName <environmentName>`
|
|
20
|
-
: The name of the environment for which to export the app
|
|
20
|
+
: The name of the environment for which to export the app.
|
|
21
21
|
|
|
22
22
|
`--packageDisplayName [packageDisplayName]`
|
|
23
|
-
: The display name to use in the exported package
|
|
23
|
+
: The display name to use in the exported package.
|
|
24
24
|
|
|
25
25
|
`-d, --packageDescription [packageDescription]`
|
|
26
|
-
: The description to use in the exported package
|
|
26
|
+
: The description to use in the exported package.
|
|
27
27
|
|
|
28
28
|
`-c, --packageCreatedBy [packageCreatedBy]`
|
|
29
|
-
: The name of the person to be used as the creator of the exported package
|
|
29
|
+
: The name of the person to be used as the creator of the exported package.
|
|
30
30
|
|
|
31
31
|
`-s, --packageSourceEnvironment [packageSourceEnvironment]`
|
|
32
|
-
: The name of the source environment from which the exported package was taken
|
|
32
|
+
: The name of the source environment from which the exported package was taken.
|
|
33
33
|
|
|
34
34
|
`-p, --path [path]`
|
|
35
|
-
: The path to save the exported package to. If not specified the app will be exported in the current working directory
|
|
35
|
+
: The path to save the exported package to. If not specified the app will be exported in the current working directory.
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
<Global />
|
|
@@ -42,13 +42,19 @@ m365 pa app export [options]
|
|
|
42
42
|
Export the specified Power App as a ZIP file
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
|
-
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
|
|
45
|
+
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Export the specified Power App as a ZIP file with a custom package name
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "Assets app"
|
|
46
52
|
```
|
|
47
53
|
|
|
48
54
|
Export the specified Power App as a ZIP file with the package displayname, package description, the one who created it, the package source environment and the path
|
|
49
55
|
|
|
50
56
|
```sh
|
|
51
|
-
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "
|
|
57
|
+
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "Assets app" --packageDescription "App to track assets of people" --packageCreatedBy "John Doe" --packageSourceEnvironment "Contoso" --path "C:/Users/John/Documents"
|
|
52
58
|
```
|
|
53
59
|
|
|
54
60
|
## Response
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spe containertype list
|
|
6
|
+
|
|
7
|
+
Lists all Container Types
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spe containertype list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
<Global />
|
|
18
|
+
|
|
19
|
+
## Examples
|
|
20
|
+
|
|
21
|
+
Retrieves a list of Container Types created for a SharePoint Embedded Application from the tenant.
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
m365 spe containertype list
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Response
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="JSON">
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
[
|
|
34
|
+
{
|
|
35
|
+
"_ObjectType_": "Microsoft.Online.SharePoint.TenantAdministration.SPContainerTypeProperties",
|
|
36
|
+
"ApplicationRedirectUrl": null,
|
|
37
|
+
"AzureSubscriptionId": "/Guid(00000000-0000-0000-0000-000000000000)/",
|
|
38
|
+
"ContainerTypeId": "/Guid(073269af-f1d2-042d-2ef5-5bdd6ac83115)/",
|
|
39
|
+
"CreationDate": null,
|
|
40
|
+
"DisplayName": "test1",
|
|
41
|
+
"ExpiryDate": null,
|
|
42
|
+
"IsBillingProfileRequired": true,
|
|
43
|
+
"OwningAppId": "/Guid(df4085cc-9a38-4255-badc-5c5225610475)/",
|
|
44
|
+
"OwningTenantId": "/Guid(00000000-0000-0000-0000-000000000000)/",
|
|
45
|
+
"Region": null,
|
|
46
|
+
"ResourceGroup": null,
|
|
47
|
+
"SPContainerTypeBillingClassification": 0
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
<TabItem value="Text">
|
|
54
|
+
|
|
55
|
+
```text
|
|
56
|
+
ContainerTypeId DisplayName OwningAppId
|
|
57
|
+
-------------------------------------------- --------------------------------------------- --------------------------------------------
|
|
58
|
+
/Guid(073269af-f1d2-042d-2ef5-5bdd6ac83115)/ test1 /Guid(df4085cc-9a38-4255-badc-5c5225610475)/
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
</TabItem>
|
|
62
|
+
<TabItem value="CSV">
|
|
63
|
+
|
|
64
|
+
```csv
|
|
65
|
+
_ObjectType_,ApplicationRedirectUrl,AzureSubscriptionId,ContainerTypeId,CreationDate,DisplayName,ExpiryDate,IsBillingProfileRequired,OwningAppId,OwningTenantId,Region,ResourceGroup,SPContainerTypeBillingClassification
|
|
66
|
+
Microsoft.Online.SharePoint.TenantAdministration.SPContainerTypeProperties,,/Guid(00000000-0000-0000-0000-000000000000)/,/Guid(073269af-f1d2-042d-2ef5-5bdd6ac83115)/,,test1,,1,/Guid(df4085cc-9a38-4255-badc-5c5225610475)/,/Guid(00000000-0000-0000-0000-000000000000)/,,,0
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
</TabItem>
|
|
70
|
+
<TabItem value="Markdown">
|
|
71
|
+
|
|
72
|
+
```md
|
|
73
|
+
# spe containertype list
|
|
74
|
+
|
|
75
|
+
Date: 5/11/2024
|
|
76
|
+
|
|
77
|
+
## test1
|
|
78
|
+
|
|
79
|
+
Property | Value
|
|
80
|
+
---------|-------
|
|
81
|
+
\_ObjectType\_ | Microsoft.Online.SharePoint.TenantAdministration.SPContainerTypeProperties
|
|
82
|
+
AzureSubscriptionId | /Guid(00000000-0000-0000-0000-000000000000)/
|
|
83
|
+
ContainerTypeId | /Guid(073269af-f1d2-042d-2ef5-5bdd6ac83115)/
|
|
84
|
+
DisplayName | test1
|
|
85
|
+
IsBillingProfileRequired | true
|
|
86
|
+
OwningAppId | /Guid(df4085cc-9a38-4255-badc-5c5225610475)/
|
|
87
|
+
OwningTenantId | /Guid(00000000-0000-0000-0000-000000000000)/
|
|
88
|
+
SPContainerTypeBillingClassification | 0
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
</TabItem>
|
|
92
|
+
</Tabs>
|
|
93
|
+
|
|
94
|
+
## More information
|
|
95
|
+
|
|
96
|
+
In SharePoint Embedded, all files and documents are stored in Containers, and each Container is identified by a Container Type.
|
|
97
|
+
|
|
98
|
+
Container Type is a property stamped on every Container instance. Each Container Type is owned by one Application, and each Application can own only one Container Type.
|
|
99
|
+
|
|
100
|
+
The primary function of a Container Type is to manage the application workload that can access the Containers. Container Type defines the access permissions an Application has towards all Containers of that type, including create, read, write, delete containers; manage container permissions, etc.
|
|
101
|
+
|
|
102
|
+
More information about SharePoint Embedded and the limits can be found at the following location: [SharePoint Embedded](https://learn.microsoft.com/en-us/sharepoint/dev/embedded/concepts/app-concepts/containertypes#sharepoint-embedded-trial-container-types)
|