@pnp/cli-microsoft365 7.11.0-beta.c513557 → 8.0.0-beta.3c404b8
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 +6 -2
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +2 -10
- package/dist/AuthServer.js +10 -10
- package/dist/Command.js +10 -10
- package/dist/chili/chili.js +0 -23
- package/dist/chili/index.js +1 -1
- package/dist/cli/cli.js +12 -74
- package/dist/index.js +1 -1
- package/dist/m365/base/AnonymousCommand.js +1 -1
- package/dist/m365/base/DelegatedGraphCommand.js +2 -2
- package/dist/m365/base/PowerAppsCommand.js +2 -2
- package/dist/m365/base/PowerAutomateCommand.js +2 -2
- package/dist/m365/base/PowerBICommand.js +2 -2
- package/dist/m365/base/PowerPlatformCommand.js +2 -2
- package/dist/m365/base/VivaEngageCommand.js +2 -2
- package/dist/m365/cli/commands/cli-consent.js +1 -1
- package/dist/m365/commands/login.js +1 -1
- package/dist/m365/commands/logout.js +1 -1
- package/dist/m365/commands/setup.js +0 -4
- package/dist/m365/commands/status.js +1 -1
- package/dist/m365/connection/commands/connection-list.js +1 -1
- package/dist/m365/connection/commands/connection-remove.js +1 -1
- package/dist/m365/connection/commands/connection-set.js +1 -1
- package/dist/m365/connection/commands/connection-use.js +1 -1
- package/dist/m365/entra/commands/app/app-permission-add.js +21 -1
- package/dist/m365/entra/commands/app/app-permission-remove.js +17 -0
- package/dist/m365/entra/commands/m365group/m365group-add.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-set.js +66 -29
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +1 -1
- package/dist/m365/entra/commands/multitenant/MultitenantOrganization.js +2 -0
- package/dist/m365/entra/commands/multitenant/multitenant-get.js +32 -0
- package/dist/m365/entra/commands.js +1 -0
- package/dist/m365/external/commands/connection/connection-doctor.js +11 -25
- package/dist/m365/external/commands/connection/connection-schema-add.js +4 -4
- package/dist/m365/file/commands/file-copy.js +3 -3
- package/dist/m365/flow/commands/flow-list.js +23 -24
- package/dist/m365/graph/commands/subscription/subscription-add.js +4 -2
- package/dist/m365/pa/commands/app/app-export.js +1 -1
- package/dist/m365/pa/commands/app/app-owner-set.js +1 -1
- package/dist/m365/pp/commands/solution/solution-publish.js +1 -1
- package/dist/m365/purview/commands/threatassessment/threatassessment-list.js +1 -1
- package/dist/m365/spfx/commands/project/base-project-command.js +36 -126
- package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +1 -1
- package/dist/m365/spfx/commands/project/project-externalize.js +1 -1
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -1
- package/dist/m365/spfx/commands/spfx-doctor.js +4 -4
- 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 +1 -1
- 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-retentionlabel-remove.js +1 -1
- package/dist/m365/spo/commands/group/group-member-add.js +103 -99
- package/dist/m365/spo/commands/group/group-member-remove.js +2 -2
- package/dist/m365/spo/commands/list/list-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +2 -2
- 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-commsite-enable.js +1 -1
- package/dist/m365/spo/commands/spo-search.js +4 -5
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +4 -4
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +2 -2
- package/dist/m365/spo/commands/user/user-ensure.js +1 -1
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/teams/commands/chat/chat-member-add.js +1 -1
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-get.js +119 -0
- package/dist/m365/teams/commands/meeting/meeting-list.js +1 -1
- package/dist/m365/teams/commands/message/message-remove.js +112 -0
- package/dist/m365/teams/commands.js +2 -0
- package/dist/m365/viva/commands/engage/engage-community-add.js +166 -0
- package/dist/m365/viva/commands/engage/engage-community-get.js +1 -1
- package/dist/m365/viva/commands.js +1 -0
- package/dist/request.js +13 -14
- package/dist/utils/formatting.js +14 -1
- package/dist/utils/spo.js +5 -5
- package/dist/utils/teams.js +49 -0
- package/dist/utils/validation.js +25 -0
- package/docs/docs/cmd/entra/m365group/m365group-set.mdx +37 -7
- package/docs/docs/cmd/entra/multitenant/multitenant-get.mdx +94 -0
- package/docs/docs/cmd/external/connection/connection-doctor.mdx +9 -9
- 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/spo/cdn/cdn-set.mdx +3 -3
- 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/group/group-member-add.mdx +34 -27
- package/docs/docs/cmd/teams/meeting/meeting-attendancereport-get.mdx +138 -0
- package/docs/docs/cmd/teams/message/message-remove.mdx +63 -0
- package/docs/docs/cmd/viva/engage/engage-community-add.mdx +168 -0
- package/npm-shrinkwrap.json +809 -803
- package/package.json +13 -13
package/dist/utils/validation.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { formatting } from "./formatting.js";
|
|
1
2
|
export const validation = {
|
|
2
3
|
isValidGuidArray(guidsString) {
|
|
3
4
|
const guids = guidsString.split(',').map(guid => guid.trim());
|
|
@@ -33,6 +34,24 @@ export const validation = {
|
|
|
33
34
|
// verify if the upn is a valid upn. @meusername will be replaced in a later stage with the actual username of the logged in user
|
|
34
35
|
return upnRegEx.test(upn) || upn.toLowerCase().trim() === '@meusername';
|
|
35
36
|
},
|
|
37
|
+
/**
|
|
38
|
+
* Validates if the provided number is a valid positive integer (1 or higher).
|
|
39
|
+
* @param integer Integer value.
|
|
40
|
+
* @returns True if integer, false otherwise.
|
|
41
|
+
*/
|
|
42
|
+
isValidPositiveInteger(integer) {
|
|
43
|
+
return !isNaN(Number(integer)) && Number.isInteger(+integer) && +integer > 0;
|
|
44
|
+
},
|
|
45
|
+
/**
|
|
46
|
+
* Validates an array of integers. The integers must be positive (1 or higher).
|
|
47
|
+
* @param integerString Comma-separated string of integers.
|
|
48
|
+
* @returns True if the integers are valid, an error message with the invalid integers otherwise.
|
|
49
|
+
*/
|
|
50
|
+
isValidPositiveIntegerArray(integerString) {
|
|
51
|
+
const integers = formatting.splitAndTrim(integerString);
|
|
52
|
+
const invalidIntegers = integers.filter(integer => !this.isValidPositiveInteger(integer));
|
|
53
|
+
return invalidIntegers.length > 0 ? invalidIntegers.join(', ') : true;
|
|
54
|
+
},
|
|
36
55
|
isDateInRange(date, monthOffset) {
|
|
37
56
|
const d = new Date(date);
|
|
38
57
|
const cutoffDate = new Date();
|
|
@@ -332,6 +351,12 @@ export const validation = {
|
|
|
332
351
|
isValidISODuration(duration) {
|
|
333
352
|
const durationRegEx = new RegExp(/^P(?!$)((\d+Y)|(\d+\.\d+Y$))?((\d+M)|(\d+\.\d+M$))?((\d+W)|(\d+\.\d+W$))?((\d+D)|(\d+\.\d+D$))?(T(?=\d)((\d+H)|(\d+\.\d+H$))?((\d+M)|(\d+\.\d+M$))?(\d+(\.\d+)?S)?)??$/);
|
|
334
353
|
return durationRegEx.test(duration);
|
|
354
|
+
},
|
|
355
|
+
isValidPermission(permissions) {
|
|
356
|
+
const invalidPermissions = permissions
|
|
357
|
+
.split(' ')
|
|
358
|
+
.filter(permission => permission.indexOf('/') < 0);
|
|
359
|
+
return invalidPermissions.length > 0 ? invalidPermissions : true;
|
|
335
360
|
}
|
|
336
361
|
};
|
|
337
362
|
//# sourceMappingURL=validation.js.map
|
|
@@ -35,10 +35,22 @@ m365 aad m365group set [options]
|
|
|
35
35
|
: Comma-separated list of Microsoft 365 Group members to add
|
|
36
36
|
|
|
37
37
|
`--isPrivate [isPrivate]`
|
|
38
|
-
: Set to true if the Microsoft 365 Group should be private and
|
|
38
|
+
: Set to `true` if the Microsoft 365 Group should be private and `false` if it should be public.
|
|
39
39
|
|
|
40
40
|
`-l, --logoPath [logoPath]`
|
|
41
41
|
: Local path to the image file to use as group logo
|
|
42
|
+
|
|
43
|
+
`--allowExternalSenders [allowExternalSenders]`
|
|
44
|
+
: Indicates if people external to the organization can send messages to the group. Valid values: `true`, `false`.
|
|
45
|
+
|
|
46
|
+
`--autoSubscribeNewMembers [autoSubscribeNewMembers]`
|
|
47
|
+
: Indicates if new members added to the group will be auto-subscribed to receive email notifications. Valid values: `true`, `false`.
|
|
48
|
+
|
|
49
|
+
`--hideFromAddressLists [hideFromAddressLists]`
|
|
50
|
+
: Indicates if the group is not displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups. Valid values: `true`, `false`.
|
|
51
|
+
|
|
52
|
+
`--hideFromOutlookClients [hideFromOutlookClients]`
|
|
53
|
+
: Indicates if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web. Valid values: `true`, `false`.
|
|
42
54
|
```
|
|
43
55
|
|
|
44
56
|
<Global />
|
|
@@ -49,38 +61,56 @@ When updating group's owners and members, the command will add newly specified u
|
|
|
49
61
|
|
|
50
62
|
When specifying the path to the logo image you can use both relative and absolute paths. Note, that ~ in the path, will not be resolved and will most likely result in an error.
|
|
51
63
|
|
|
64
|
+
:::note
|
|
65
|
+
|
|
66
|
+
Options `allowExternalSenders` and `autoSubscribeNewMembers` can only be set using delegated permissions.
|
|
67
|
+
|
|
68
|
+
:::
|
|
69
|
+
|
|
52
70
|
## Examples
|
|
53
71
|
|
|
54
|
-
Update Microsoft 365 Group display name
|
|
72
|
+
Update Microsoft 365 Group display name.
|
|
55
73
|
|
|
56
74
|
```sh
|
|
57
75
|
m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --displayName Finance
|
|
58
76
|
```
|
|
59
77
|
|
|
60
|
-
Change Microsoft 365 Group visibility to public
|
|
78
|
+
Change Microsoft 365 Group visibility to public.
|
|
61
79
|
|
|
62
80
|
```sh
|
|
63
|
-
m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --isPrivate false
|
|
81
|
+
m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --isPrivate `false`
|
|
64
82
|
```
|
|
65
83
|
|
|
66
|
-
Add new Microsoft 365 Group owners
|
|
84
|
+
Add new Microsoft 365 Group owners.
|
|
67
85
|
|
|
68
86
|
```sh
|
|
69
87
|
m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --owners "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
|
|
70
88
|
```
|
|
71
89
|
|
|
72
|
-
Add new Microsoft 365 Group members
|
|
90
|
+
Add new Microsoft 365 Group members.
|
|
73
91
|
|
|
74
92
|
```sh
|
|
75
93
|
m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --members "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
|
|
76
94
|
```
|
|
77
95
|
|
|
78
|
-
Update Microsoft 365 Group logo
|
|
96
|
+
Update Microsoft 365 Group logo.
|
|
79
97
|
|
|
80
98
|
```sh
|
|
81
99
|
m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --logoPath images/logo.png
|
|
82
100
|
```
|
|
83
101
|
|
|
102
|
+
Hide the Microsoft 365 group from the address lists and the Outlook clients.
|
|
103
|
+
|
|
104
|
+
```sh
|
|
105
|
+
m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --hideFromOutlookClients true --hideFromAddressLists true
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Auto-subscribe new members to receive email notifications and do not allow external senders to send messages to the group.
|
|
109
|
+
|
|
110
|
+
```sh
|
|
111
|
+
m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --autoSubscribeNewMembers true --allowExternalSenders false
|
|
112
|
+
```
|
|
113
|
+
|
|
84
114
|
## Response
|
|
85
115
|
|
|
86
116
|
The command won't return a response on success.
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
|
|
2
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
3
|
+
import Tabs from '@theme/Tabs';
|
|
4
|
+
import TabItem from '@theme/TabItem';
|
|
5
|
+
|
|
6
|
+
# entra multitenant get
|
|
7
|
+
|
|
8
|
+
Gets properties of the multitenant organization
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
m365 entra multitenant get [options]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Options
|
|
17
|
+
|
|
18
|
+
<Global />
|
|
19
|
+
|
|
20
|
+
## Remarks
|
|
21
|
+
|
|
22
|
+
:::info
|
|
23
|
+
|
|
24
|
+
To use this command you must be at least **Security Administrator**.
|
|
25
|
+
|
|
26
|
+
:::
|
|
27
|
+
|
|
28
|
+
## Examples
|
|
29
|
+
|
|
30
|
+
Gets properties of the multitenant organization
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
m365 entra multitenant get
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Response
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="JSON">
|
|
40
|
+
|
|
41
|
+
```json
|
|
42
|
+
{
|
|
43
|
+
"id": "c231d4a5-138f-4bdf-9fee-f26a90ea3ad0",
|
|
44
|
+
"createdDateTime": "2024-05-05T05:05:05Z",
|
|
45
|
+
"state": "active",
|
|
46
|
+
"displayName": "Contoso organization",
|
|
47
|
+
"description": "Multitenant organization between Contoso, Fabrikam, and Woodgrove Bank"
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
</TabItem>
|
|
52
|
+
<TabItem value="Text">
|
|
53
|
+
|
|
54
|
+
```text
|
|
55
|
+
createdDateTime: 2024-05-05T05:05:05Z
|
|
56
|
+
description : Multitenant organization between Contoso, Fabrikam, and Woodgrove Bank
|
|
57
|
+
displayName : Contoso organization
|
|
58
|
+
id : c231d4a5-138f-4bdf-9fee-f26a90ea3ad0
|
|
59
|
+
state : active
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
</TabItem>
|
|
63
|
+
<TabItem value="CSV">
|
|
64
|
+
|
|
65
|
+
```csv
|
|
66
|
+
id,createdDateTime,state,displayName,description
|
|
67
|
+
c231d4a5-138f-4bdf-9fee-f26a90ea3ad0,2024-05-05T05:05:05Z,active,Contoso organization,"Multitenant organization between Contoso, Fabrikam, and Woodgrove Bank"
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
</TabItem>
|
|
71
|
+
<TabItem value="Markdown">
|
|
72
|
+
|
|
73
|
+
```md
|
|
74
|
+
# entra multitenant get
|
|
75
|
+
|
|
76
|
+
Date: 5/5/2024
|
|
77
|
+
|
|
78
|
+
## Contoso organization (c231d4a5-138f-4bdf-9fee-f26a90ea3ad0)
|
|
79
|
+
|
|
80
|
+
Property | Value
|
|
81
|
+
---------|-------
|
|
82
|
+
id | c231d4a5-138f-4bdf-9fee-f26a90ea3ad0
|
|
83
|
+
createdDateTime | 2024-05-05T05:05:05Z
|
|
84
|
+
state | active
|
|
85
|
+
displayName | Contoso organization
|
|
86
|
+
description | Multitenant organization between Contoso, Fabrikam, and Woodgrove Bank
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
</TabItem>
|
|
90
|
+
</Tabs>
|
|
91
|
+
|
|
92
|
+
## More information
|
|
93
|
+
|
|
94
|
+
- Multitenant organization: https://learn.microsoft.com/entra/identity/multi-tenant-organizations/overview
|
|
@@ -126,15 +126,15 @@ m365 external connection doctor --id contosoproducts --ux copilot
|
|
|
126
126
|
<TabItem value="Text">
|
|
127
127
|
|
|
128
128
|
```text
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
129
|
+
√ Load connection
|
|
130
|
+
√ Load schema
|
|
131
|
+
× Required semantic labels: Missing label iconUrl
|
|
132
|
+
√ Searchable properties
|
|
133
|
+
√ Items have content ingested
|
|
134
|
+
i Connection configured for inline results (manual)
|
|
135
|
+
i Items have activities recorded (manual)
|
|
136
|
+
i Meaningful connection name and description (manual)
|
|
137
|
+
√ urlToItemResolver configured
|
|
138
138
|
```
|
|
139
139
|
|
|
140
140
|
</TabItem>
|
|
@@ -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>
|
|
@@ -17,10 +17,10 @@ m365 spo cdn set [options]
|
|
|
17
17
|
: Set to true to enable CDN or to false to disable it. Allowed values: `true`, `false`.
|
|
18
18
|
|
|
19
19
|
`-t, --type [type]`
|
|
20
|
-
: Type of CDN to
|
|
20
|
+
: Type of CDN to update. Allowed values: `Public`, `Private`, `Both`. Defaults to `Public`.
|
|
21
21
|
|
|
22
22
|
`--noDefaultOrigins`
|
|
23
|
-
:
|
|
23
|
+
: Specify this flag to not create the default origins.
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
<Global />
|
|
@@ -35,7 +35,7 @@ Using the `--noDefaultOrigins` option you can specify to skip the creation of th
|
|
|
35
35
|
|
|
36
36
|
:::info
|
|
37
37
|
|
|
38
|
-
To use this command you
|
|
38
|
+
To use this command you must be a Global or SharePoint administrator.
|
|
39
39
|
|
|
40
40
|
:::
|
|
41
41
|
|