@pnp/cli-microsoft365 7.0.0-beta.093ef31 → 7.0.0-beta.18ce559
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/Auth.js +10 -1
- package/dist/Command.js +2 -2
- package/dist/cli/Cli.js +4 -4
- package/dist/m365/aad/commands/app/app-get.js +4 -1
- package/dist/m365/aad/commands/app/app-remove.js +3 -1
- package/dist/m365/aad/commands/app/app-role-add.js +4 -1
- package/dist/m365/aad/commands/app/app-role-list.js +4 -1
- package/dist/m365/aad/commands/app/app-role-remove.js +5 -2
- package/dist/m365/aad/commands/app/app-set.js +8 -5
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +11 -6
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +4 -4
- package/dist/m365/aad/commands/group/group-get.js +4 -4
- package/dist/m365/aad/commands/group/group-list.js +1 -23
- package/dist/m365/aad/commands/group/group-remove.js +98 -0
- package/dist/m365/aad/commands/m365group/m365group-add.js +21 -12
- package/dist/m365/aad/commands/m365group/m365group-conversation-list.js +5 -0
- package/dist/m365/aad/commands/m365group/m365group-conversation-post-list.js +4 -0
- package/dist/m365/aad/commands/m365group/m365group-get.js +4 -3
- package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-remove.js +3 -1
- package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-restore.js +4 -1
- package/dist/m365/aad/commands/m365group/m365group-remove.js +5 -0
- package/dist/m365/aad/commands/m365group/m365group-renew.js +5 -0
- package/dist/m365/aad/commands/m365group/m365group-set.js +5 -0
- package/dist/m365/aad/commands/m365group/m365group-teamify.js +14 -6
- package/dist/m365/aad/commands/m365group/m365group-user-add.js +5 -0
- package/dist/m365/aad/commands/m365group/m365group-user-list.js +5 -0
- package/dist/m365/aad/commands/m365group/m365group-user-remove.js +5 -0
- package/dist/m365/aad/commands/m365group/m365group-user-set.js +5 -0
- package/dist/m365/aad/commands/sp/sp-add.js +4 -1
- package/dist/m365/aad/commands/sp/sp-get.js +4 -1
- package/dist/m365/aad/commands/user/user-get.js +7 -2
- package/dist/m365/aad/commands.js +1 -0
- package/dist/m365/booking/commands/business/business-get.js +4 -1
- package/dist/m365/commands/login.js +2 -2
- package/dist/m365/flow/commands/flow-export.js +13 -13
- package/dist/m365/graph/commands/subscription/subscription-add.js +5 -5
- package/dist/m365/outlook/commands/message/message-list.js +4 -2
- package/dist/m365/outlook/commands/message/message-move.js +4 -2
- package/dist/m365/pa/commands/app/app-export.js +7 -7
- package/dist/m365/pa/commands/connector/connector-export.js +5 -5
- package/dist/m365/planner/commands/bucket/bucket-add.js +4 -1
- package/dist/m365/planner/commands/bucket/bucket-get.js +9 -2
- package/dist/m365/planner/commands/bucket/bucket-list.js +4 -1
- package/dist/m365/planner/commands/bucket/bucket-remove.js +7 -2
- package/dist/m365/planner/commands/bucket/bucket-set.js +8 -2
- package/dist/m365/planner/commands/plan/plan-add.js +4 -1
- package/dist/m365/planner/commands/plan/plan-get.js +4 -1
- package/dist/m365/planner/commands/plan/plan-list.js +4 -1
- package/dist/m365/planner/commands/plan/plan-remove.js +4 -1
- package/dist/m365/planner/commands/plan/plan-set.js +4 -1
- package/dist/m365/planner/commands/roster/roster-get.js +4 -1
- package/dist/m365/planner/commands/roster/roster-member-add.js +4 -1
- package/dist/m365/planner/commands/roster/roster-member-get.js +4 -1
- package/dist/m365/planner/commands/roster/roster-member-list.js +4 -1
- package/dist/m365/planner/commands/roster/roster-member-remove.js +4 -1
- package/dist/m365/planner/commands/roster/roster-plan-list.js +4 -1
- package/dist/m365/planner/commands/roster/roster-remove.js +4 -1
- package/dist/m365/planner/commands/task/task-add.js +4 -1
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +4 -1
- package/dist/m365/planner/commands/task/task-checklistitem-list.js +4 -1
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +4 -1
- package/dist/m365/planner/commands/task/task-get.js +11 -3
- package/dist/m365/planner/commands/task/task-list.js +10 -2
- package/dist/m365/planner/commands/task/task-reference-add.js +4 -1
- package/dist/m365/planner/commands/task/task-reference-list.js +4 -1
- package/dist/m365/planner/commands/task/task-reference-remove.js +4 -1
- package/dist/m365/planner/commands/task/task-remove.js +10 -4
- package/dist/m365/planner/commands/task/task-set.js +4 -1
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +4 -1
- package/dist/m365/pp/commands/card/card-get.js +3 -5
- package/dist/m365/pp/commands/chatbot/chatbot-get.js +3 -1
- package/dist/m365/pp/commands/chatbot/chatbot-list.js +2 -2
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +4 -1
- package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +3 -1
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.18.0-beta.5.js → doctor-1.18.0.js} +2 -2
- package/dist/m365/spfx/commands/project/project-doctor.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001022_DEP_office_ui_fabric_react.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002028_DEVDEP_microsoft_rush_stack_compiler_4_7.js +13 -0
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.18.0-beta.5.js → upgrade-1.18.0.js} +35 -27
- package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
- package/dist/m365/spfx/commands/spfx-doctor.js +3 -3
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +5 -3
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +2 -2
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +3 -2
- package/dist/m365/spo/commands/commandset/commandset-get.js +4 -2
- package/dist/m365/spo/commands/commandset/commandset-remove.js +2 -1
- package/dist/m365/spo/commands/commandset/commandset-set.js +3 -1
- package/dist/m365/spo/commands/customaction/customaction-get.js +5 -2
- package/dist/m365/spo/commands/customaction/customaction-remove.js +3 -1
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +3 -1
- package/dist/m365/spo/commands/file/file-get.js +11 -8
- package/dist/m365/spo/commands/file/file-remove.js +2 -2
- package/dist/m365/spo/commands/file/file-version-clear.js +2 -2
- package/dist/m365/spo/commands/file/file-version-get.js +2 -2
- package/dist/m365/spo/commands/file/file-version-list.js +2 -2
- package/dist/m365/spo/commands/file/file-version-remove.js +2 -2
- package/dist/m365/spo/commands/file/file-version-restore.js +2 -2
- package/dist/m365/spo/commands/group/group-member-add.js +24 -24
- package/dist/m365/spo/commands/hubsite/hubsite-connect.js +7 -4
- package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +4 -1
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +3 -1
- package/dist/m365/spo/commands/listitem/listitem-add.js +1 -0
- package/dist/m365/spo/commands/listitem/listitem-attachment-add.js +127 -0
- package/dist/m365/spo/commands/listitem/listitem-attachment-get.js +97 -0
- package/dist/m365/spo/commands/listitem/listitem-attachment-remove.js +121 -0
- package/dist/m365/spo/commands/listitem/listitem-attachment-set.js +115 -0
- package/dist/m365/spo/commands/listitem/listitem-set.js +3 -2
- package/dist/m365/spo/commands/page/clientsidepages.js +18 -0
- package/dist/m365/spo/commands/page/page-get.js +1 -0
- package/dist/m365/spo/commands/page/page-list.js +4 -3
- package/dist/m365/spo/commands/page/page-section-add.js +56 -21
- package/dist/m365/spo/commands/page/page-set.js +13 -2
- package/dist/m365/spo/commands/site/site-commsite-enable.js +34 -5
- package/dist/m365/spo/commands/site/site-list.js +5 -7
- package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +1 -1
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +8 -3
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +3 -2
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +2 -1
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +3 -2
- package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +8 -3
- package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +3 -2
- package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +3 -1
- package/dist/m365/spo/commands/term/term-get.js +6 -6
- package/dist/m365/spo/commands/user/user-get.js +10 -10
- package/dist/m365/spo/commands.js +4 -0
- package/dist/m365/teams/commands/app/app-remove.js +49 -15
- package/dist/m365/teams/commands/channel/channel-add.js +5 -1
- package/dist/m365/teams/commands/channel/channel-member-add.js +12 -10
- package/dist/m365/teams/commands/channel/channel-member-remove.js +3 -1
- package/dist/m365/teams/commands/channel/channel-member-set.js +4 -1
- package/dist/m365/teams/commands/chat/chat-get.js +7 -10
- package/dist/m365/teams/commands/chat/chat-message-send.js +8 -10
- package/dist/m365/teams/commands/team/team-clone.js +5 -10
- package/dist/m365/teams/commands/team/team-list.js +94 -30
- package/dist/m365/tenant/commands/info/info-get.js +83 -0
- package/dist/m365/tenant/commands.js +1 -0
- package/dist/utils/aadGroup.js +21 -3
- package/dist/utils/formatting.js +7 -0
- package/dist/utils/powerPlatform.js +1 -1
- package/docs/docs/_clisettings.mdx +1 -1
- package/docs/docs/cmd/aad/app/app-set.mdx +15 -15
- package/docs/docs/cmd/aad/approleassignment/approleassignment-add.mdx +9 -9
- package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.mdx +10 -10
- package/docs/docs/cmd/aad/group/group-get.mdx +5 -5
- package/docs/docs/cmd/aad/group/group-list.mdx +0 -11
- package/docs/docs/cmd/aad/group/group-remove.mdx +44 -0
- package/docs/docs/cmd/aad/m365group/m365group-add.mdx +13 -3
- package/docs/docs/cmd/aad/policy/policy-list.mdx +5 -5
- package/docs/docs/cmd/cli/config/config-list.mdx +1 -1
- package/docs/docs/cmd/flow/flow-export.mdx +11 -11
- package/docs/docs/cmd/graph/subscription/subscription-add.mdx +10 -10
- package/docs/docs/cmd/pa/app/app-export.mdx +5 -5
- package/docs/docs/cmd/pa/connector/connector-export.mdx +3 -3
- package/docs/docs/cmd/pp/chatbot/chatbot-list.mdx +4 -4
- package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +2 -2
- package/docs/docs/cmd/pp/solution/solution-publisher-remove.mdx +2 -2
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-get.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-remove.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-version-get.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-version-list.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +2 -2
- package/docs/docs/cmd/spo/group/group-member-add.mdx +27 -27
- package/docs/docs/cmd/spo/list/list-contenttype-remove.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-add.mdx +2 -5
- package/docs/docs/cmd/spo/listitem/listitem-attachment-add.mdx +110 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-get.mdx +104 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-remove.mdx +58 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-set.mdx +58 -0
- package/docs/docs/cmd/spo/listitem/listitem-set.mdx +2 -5
- package/docs/docs/cmd/spo/page/page-get.mdx +0 -1
- package/docs/docs/cmd/spo/page/page-list.mdx +0 -1
- package/docs/docs/cmd/spo/page/page-section-add.mdx +25 -1
- package/docs/docs/cmd/spo/page/page-set.mdx +23 -0
- package/docs/docs/cmd/spo/site/site-commsite-enable.mdx +11 -2
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +2 -4
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +2 -4
- package/docs/docs/cmd/spo/user/user-get.mdx +8 -8
- package/docs/docs/cmd/teams/app/app-remove.mdx +9 -6
- package/docs/docs/cmd/teams/channel/channel-member-add.mdx +4 -4
- package/docs/docs/cmd/teams/team/team-clone.mdx +3 -3
- package/docs/docs/cmd/teams/team/team-list.mdx +47 -22
- package/docs/docs/cmd/tenant/info/info-get.mdx +101 -0
- package/npm-shrinkwrap.json +24 -24
- package/package.json +8 -12
|
@@ -16,10 +16,10 @@ m365 aad group get [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-i, --id [id]`
|
|
19
|
-
: The object Id of the Azure AD group. Specify either `id` or `
|
|
19
|
+
: The object Id of the Azure AD group. Specify either `id` or `displayName` but not both.
|
|
20
20
|
|
|
21
|
-
`-
|
|
22
|
-
: The display name of the Azure AD group. Specify either `id` or `
|
|
21
|
+
`-n, --displayName [displayName]`
|
|
22
|
+
: The display name of the Azure AD group. Specify either `id` or `displayName` but not both.
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
<Global />
|
|
@@ -32,10 +32,10 @@ Get information about an Azure AD Group by id
|
|
|
32
32
|
m365 aad group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Get information about an Azure AD Group by
|
|
35
|
+
Get information about an Azure AD Group by its display name
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
m365 aad group get --
|
|
38
|
+
m365 aad group get --displayName Finance
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
## Response
|
|
@@ -14,11 +14,6 @@ m365 aad group list [options]
|
|
|
14
14
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
|
-
```md definition-list
|
|
18
|
-
`-d, --deleted`
|
|
19
|
-
: Use to retrieve deleted groups
|
|
20
|
-
```
|
|
21
|
-
|
|
22
17
|
<Global />
|
|
23
18
|
|
|
24
19
|
## Examples
|
|
@@ -29,12 +24,6 @@ Lists all groups defined in Azure Active Directory.
|
|
|
29
24
|
m365 aad group list
|
|
30
25
|
```
|
|
31
26
|
|
|
32
|
-
List all recently deleted groups in the tenant
|
|
33
|
-
|
|
34
|
-
```sh
|
|
35
|
-
m365 aad group list --deleted
|
|
36
|
-
```
|
|
37
|
-
|
|
38
27
|
## Response
|
|
39
28
|
|
|
40
29
|
<Tabs>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# aad group remove
|
|
4
|
+
|
|
5
|
+
Removes an Azure AD group
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 aad group remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-i, --id [id]`
|
|
17
|
+
: The ID of the Azure AD group. Specify either `id` or `displayName` but not both.
|
|
18
|
+
|
|
19
|
+
`-n, --displayName [displayName]`
|
|
20
|
+
: The display name of the Azure AD group. Specify either `id` or `displayName` but not both.
|
|
21
|
+
|
|
22
|
+
`-f, --force`
|
|
23
|
+
: Don't prompt for confirmation.
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
<Global />
|
|
27
|
+
|
|
28
|
+
## Examples
|
|
29
|
+
|
|
30
|
+
Remove an Azure AD group by display name
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
m365 aad group remove --displayName Developers
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Remove an Azure AD group by ID
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
m365 aad group remove --id 016bf125-195b-43c5-a1a0-28ccd3192c6d
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Response
|
|
43
|
+
|
|
44
|
+
The command won't return a response on success.
|
|
@@ -30,8 +30,8 @@ m365 aad m365group add [options]
|
|
|
30
30
|
`--members [members]`
|
|
31
31
|
: Comma-separated list of Microsoft 365 Group members
|
|
32
32
|
|
|
33
|
-
`--
|
|
34
|
-
:
|
|
33
|
+
`--visibility [visibility]`
|
|
34
|
+
: Specifies the group join policy and group content visibility for groups. Possible values are: `Private`, `Public`, or `HiddenMembership`. Defaults to `Public`.
|
|
35
35
|
|
|
36
36
|
`--allowMembersToPost [allowMembersToPost]`
|
|
37
37
|
: Set if only group members should be able to post conversations to the group
|
|
@@ -53,9 +53,19 @@ m365 aad m365group add [options]
|
|
|
53
53
|
|
|
54
54
|
## Remarks
|
|
55
55
|
|
|
56
|
+
You cannot change the group type when you choose `HiddenMembership` visibility. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later.
|
|
57
|
+
|
|
56
58
|
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.
|
|
57
59
|
If an invalid user is provided in the comma-separated list of Owners or Members, the command operation will fail and the Microsoft 365 Group will not be created.
|
|
58
60
|
|
|
61
|
+
Group visibility options:
|
|
62
|
+
|
|
63
|
+
Value | Description
|
|
64
|
+
-------|-------------
|
|
65
|
+
Public | Anyone can join the group without needing owner permission. Anyone can view the attributes of the group. Anyone can see the members of the group.
|
|
66
|
+
Private | Owner permission is needed to join the group. Anyone can view the attributes of the group. Anyone can see the members of the group.
|
|
67
|
+
HiddenMembership | Owner permission is needed to join the group. Guest users cannot view the attributes of the group. Non-members cannot see the members of the group. Administrators (global, company, user, and helpdesk) can view the membership of the group. The group appears in the global address book (GAL).
|
|
68
|
+
|
|
59
69
|
## Examples
|
|
60
70
|
|
|
61
71
|
Create a public Microsoft 365 Group
|
|
@@ -67,7 +77,7 @@ m365 aad m365group add --displayName Finance --description "This is the Contoso
|
|
|
67
77
|
Create a private Microsoft 365 Group
|
|
68
78
|
|
|
69
79
|
```sh
|
|
70
|
-
m365 aad m365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --
|
|
80
|
+
m365 aad m365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --visibility Private
|
|
71
81
|
```
|
|
72
82
|
|
|
73
83
|
Create a public Microsoft 365 Group and set specified users as its owners
|
|
@@ -35,10 +35,6 @@ Returns claim-mapping policies from Azure AD
|
|
|
35
35
|
m365 aad policy list --type "claimsMapping"
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
## More information
|
|
39
|
-
|
|
40
|
-
- Microsoft Graph Azure AD policy overview: [https://docs.microsoft.com/en-us/graph/api/resources/policy-overview?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/resources/policy-overview?view=graph-rest-1.0)
|
|
41
|
-
|
|
42
38
|
## Response
|
|
43
39
|
|
|
44
40
|
<Tabs>
|
|
@@ -112,4 +108,8 @@ m365 aad policy list --type "claimsMapping"
|
|
|
112
108
|
```
|
|
113
109
|
|
|
114
110
|
</TabItem>
|
|
115
|
-
</Tabs>
|
|
111
|
+
</Tabs>
|
|
112
|
+
|
|
113
|
+
## More information
|
|
114
|
+
|
|
115
|
+
- Microsoft Graph Azure AD policy overview: [https://docs.microsoft.com/en-us/graph/api/resources/policy-overview?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/resources/policy-overview?view=graph-rest-1.0)
|
|
@@ -13,16 +13,16 @@ m365 flow export [options]
|
|
|
13
13
|
## Options
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
|
-
`-
|
|
17
|
-
: The
|
|
16
|
+
`-n, --name <name>`
|
|
17
|
+
: The name (GUID, not the display name) of the Power Automate flow to export
|
|
18
18
|
|
|
19
|
-
`-e, --
|
|
19
|
+
`-e, --environmentName <environmentName>`
|
|
20
20
|
: The name of the environment for which to export the flow
|
|
21
21
|
|
|
22
|
-
`-
|
|
22
|
+
`-d, --packageDisplayName [packageDisplayName]`
|
|
23
23
|
: The display name to use in the exported package
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
`--packageDescription [packageDescription]`
|
|
26
26
|
: The description to use in the exported package
|
|
27
27
|
|
|
28
28
|
`-c, --packageCreatedBy [packageCreatedBy]`
|
|
@@ -31,7 +31,7 @@ m365 flow export [options]
|
|
|
31
31
|
`-s, --packageSourceEnvironment [packageSourceEnvironment]`
|
|
32
32
|
: The name of the source environment from which the exported package was taken
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
`-f, --format [format]`
|
|
35
35
|
: Export format type. `json,zip`. Default `zip`
|
|
36
36
|
|
|
37
37
|
`-p, --path [path]`
|
|
@@ -50,32 +50,32 @@ This command is based on an API that is currently in preview and is subject to c
|
|
|
50
50
|
|
|
51
51
|
If the environment with the name you specified doesn't exist, you will get the `Access to the environment 'xyz' is denied.` error.
|
|
52
52
|
|
|
53
|
-
If the Power Automate flow with the
|
|
53
|
+
If the Power Automate flow with the name you specified doesn't exist, you will get the `The caller with object id 'abc' does not have permission for connection 'xyz' under Api 'shared_logicflows'.` error.
|
|
54
54
|
|
|
55
55
|
## Examples
|
|
56
56
|
|
|
57
57
|
Export the specified Power Automate flow as a ZIP file
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
|
-
m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
60
|
+
m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
Export the specified Power Automate flow as a JSON file
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
|
-
m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
66
|
+
m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --format json
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
Export the specified Power Automate flow as a ZIP file, specifying a Display Name of 'My flow name' to be embedded into the package
|
|
70
70
|
|
|
71
71
|
```sh
|
|
72
|
-
m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
72
|
+
m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName 'My flow name'
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
Export the specified Power Automate flow as a ZIP file with the filename 'MyFlow.zip' saved to the current directory
|
|
76
76
|
|
|
77
77
|
```sh
|
|
78
|
-
m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
78
|
+
m365 flow export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --path './MyFlow.zip'
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
## Response
|
|
@@ -16,19 +16,19 @@ m365 graph subscription add [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-r, --resource <resource>`
|
|
19
|
-
: The resource that will be monitored for changes
|
|
19
|
+
: The resource that will be monitored for changes.
|
|
20
20
|
|
|
21
|
-
`-c, --
|
|
22
|
-
: The type of change in the subscribed resource that will raise a notification. The supported values are: `created`, `updated`, `deleted`. Multiple values can be combined using a comma-separated list
|
|
21
|
+
`-c, --changeTypes <changeTypes>`
|
|
22
|
+
: The type of change in the subscribed resource that will raise a notification. The supported values are: `created`, `updated`, `deleted`. Multiple values can be combined using a comma-separated list.
|
|
23
23
|
|
|
24
24
|
`-u, --notificationUrl <notificationUrl>`
|
|
25
|
-
: The URL of the endpoint that will receive the notifications. This URL must use the HTTPS protocol
|
|
25
|
+
: The URL of the endpoint that will receive the notifications. This URL must use the HTTPS protocol.
|
|
26
26
|
|
|
27
27
|
`-e, --expirationDateTime [expirationDateTime]`
|
|
28
|
-
: The date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to. If not specified, the maximum allowed expiration for the specified resource will be used
|
|
28
|
+
: The date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to. If not specified, the maximum allowed expiration for the specified resource will be used.
|
|
29
29
|
|
|
30
30
|
`-s, --clientState [clientState]`
|
|
31
|
-
: The value of the clientState property sent by the service in each notification. The maximum length is 128 characters
|
|
31
|
+
: The value of the clientState property sent by the service in each notification. The maximum length is 128 characters.
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
<Global />
|
|
@@ -52,19 +52,19 @@ To subscribe to change notifications of Outlook contacts, events, or messages in
|
|
|
52
52
|
Create a subscription
|
|
53
53
|
|
|
54
54
|
```sh
|
|
55
|
-
m365 graph subscription add --resource "me/mailFolders('Inbox')/messages" --
|
|
55
|
+
m365 graph subscription add --resource "me/mailFolders('Inbox')/messages" --changeTypes "updated" --notificationUrl "https://webhook.azurewebsites.net/api/send/myNotifyClient" --expirationDateTime "2016-11-20T18:23:45.935Z" --clientState "secretClientState"
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
Create a subscription on multiple change types
|
|
59
59
|
|
|
60
60
|
```sh
|
|
61
|
-
m365 graph subscription add --resource groups --
|
|
61
|
+
m365 graph subscription add --resource groups --changeTypes "updated,deleted" --notificationUrl "https://webhook.azurewebsites.net/api/send/myNotifyClient" --expirationDateTime "2016-11-20T18:23:45.935Z" --clientState "secretClientState"
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
Create a subscription using the maximum allowed expiration for Group resources
|
|
65
65
|
|
|
66
66
|
```sh
|
|
67
|
-
m365 graph subscription add --resource groups --
|
|
67
|
+
m365 graph subscription add --resource groups --changeTypes "updated" --notificationUrl "https://webhook.azurewebsites.net/api/send/myNotifyClient"
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
## Response
|
|
@@ -125,7 +125,7 @@ m365 graph subscription add --resource groups --changeType "updated" --notificat
|
|
|
125
125
|
<TabItem value="Markdown">
|
|
126
126
|
|
|
127
127
|
```md
|
|
128
|
-
# graph subscription add --resource "groups" --
|
|
128
|
+
# graph subscription add --resource "groups" --changeTypes "updated" --notificationUrl "https://webhook.azurewebsites.net/api/changeNotificationHook" --expirationDateTime "2023-05-23T18:23:45.935Z" --clientState "some secret value"
|
|
129
129
|
|
|
130
130
|
Date: 2023-05-22
|
|
131
131
|
|
|
@@ -13,13 +13,13 @@ m365 pa app export [options]
|
|
|
13
13
|
## Options
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
|
-
`-
|
|
17
|
-
: The
|
|
16
|
+
`-n, --name <name>`
|
|
17
|
+
: The name (GUID) of the Power Apps app to export
|
|
18
18
|
|
|
19
19
|
`-e, --environmentName <environmentName>`
|
|
20
20
|
: The name of the environment for which to export the app
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
`--packageDisplayName [packageDisplayName]`
|
|
23
23
|
: The display name to use in the exported package
|
|
24
24
|
|
|
25
25
|
`-d, --packageDescription [packageDescription]`
|
|
@@ -42,13 +42,13 @@ 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 --
|
|
45
|
+
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "PowerApp"
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
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
49
|
|
|
50
50
|
```sh
|
|
51
|
-
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
51
|
+
m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "PowerApp" --packageDescription "Power App Description" --packageCreatedBy "John Doe" --packageSourceEnvironment "Contoso" --path "C:/Users/John/Documents"
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
## Response
|
|
@@ -22,7 +22,7 @@ m365 flow connector export
|
|
|
22
22
|
`-e, --environmentName <environmentName>`
|
|
23
23
|
: The name of the environment where the custom connector to export is located
|
|
24
24
|
|
|
25
|
-
`-
|
|
25
|
+
`-n, --name <name>`
|
|
26
26
|
: The name of the custom connector to export
|
|
27
27
|
|
|
28
28
|
`--outputFolder [outputFolder]`
|
|
@@ -46,13 +46,13 @@ If no output folder has been specified, the `pa connector export` command will c
|
|
|
46
46
|
Export the specified custom connector
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
|
-
m365 pa connector export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
49
|
+
m365 pa connector export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name shared_connector-201-5f20a1f2d8d6777a75-5fa602f410652f4dfa
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
Export the specified custom connector to the specific directory
|
|
53
53
|
|
|
54
54
|
```sh
|
|
55
|
-
m365 pa connector export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --
|
|
55
|
+
m365 pa connector export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name shared_connector-201-5f20a1f2d8d6777a75-5fa602f410652f4dfa --outputFolder connector
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
## Response
|
|
@@ -59,7 +59,7 @@ m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd
|
|
|
59
59
|
"isManaged": false,
|
|
60
60
|
"versionNumber": 1429641,
|
|
61
61
|
"timezoneRuleVersionNumber": 0,
|
|
62
|
-
"
|
|
62
|
+
"name": "CLI Chatbot",
|
|
63
63
|
"statusCode": 1,
|
|
64
64
|
"owner": "Doe, John",
|
|
65
65
|
"overwriteTime": "1900-01-01T00:00:00Z",
|
|
@@ -77,7 +77,7 @@ m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd
|
|
|
77
77
|
<TabItem value="Text">
|
|
78
78
|
|
|
79
79
|
```text
|
|
80
|
-
|
|
80
|
+
name botid publishedOn createdOn botModifiedOn
|
|
81
81
|
------------ ------------------------------------ -------------------- -------------------- --------------------
|
|
82
82
|
CLI Chatbot 23f5f586-97fd-43d5-95eb-451c9797a53d 2022-11-19T19:19:53Z 2022-11-19T10:42:22Z 2022-11-19T20:19:57Z
|
|
83
83
|
```
|
|
@@ -86,7 +86,7 @@ m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd
|
|
|
86
86
|
<TabItem value="CSV">
|
|
87
87
|
|
|
88
88
|
```csv
|
|
89
|
-
|
|
89
|
+
name,botid,publishedOn,createdOn,botModifiedOn
|
|
90
90
|
CLI Chatbot,23f5f586-97fd-43d5-95eb-451c9797a53d,2022-11-19T19:19:53Z,2022-11-19T10:42:22Z,2022-11-19T20:19:57Z
|
|
91
91
|
```
|
|
92
92
|
|
|
@@ -115,7 +115,7 @@ m365 pp chatbot list --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd
|
|
|
115
115
|
isManaged | false
|
|
116
116
|
versionNumber | 1429641
|
|
117
117
|
timezoneRuleVersionNumber | 0
|
|
118
|
-
|
|
118
|
+
name | CLI Chatbot
|
|
119
119
|
statusCode | 1
|
|
120
120
|
owner | Doe, John
|
|
121
121
|
overwriteTime | 1900-01-01T00:00:00Z
|
|
@@ -19,10 +19,10 @@ m365 pp solution publisher get [options]
|
|
|
19
19
|
: The name of the environment.
|
|
20
20
|
|
|
21
21
|
`-i --id [id]`
|
|
22
|
-
: The ID of the
|
|
22
|
+
: The ID of the publisher. Specify either `id` or `name` but not both.
|
|
23
23
|
|
|
24
24
|
`-n, --name [name]`
|
|
25
|
-
: The unique name
|
|
25
|
+
: The unique name of the publisher. Specify either `id` or `name` but not both.
|
|
26
26
|
|
|
27
27
|
`--asAdmin`
|
|
28
28
|
: Run the command as admin for environments you do not have explicitly assigned permissions to.
|
|
@@ -17,10 +17,10 @@ m365 pp solution publisher remove [options]
|
|
|
17
17
|
: The name of the environment.
|
|
18
18
|
|
|
19
19
|
`-i, --id [id]`
|
|
20
|
-
: The id of the
|
|
20
|
+
: The id of the publisher. Specify either `id` or `name` but not both.
|
|
21
21
|
|
|
22
22
|
`-n, --name [name]`
|
|
23
|
-
: The name of the
|
|
23
|
+
: The unique name of the publisher. Specify either `id` or `name` but not both.
|
|
24
24
|
|
|
25
25
|
`--asAdmin`
|
|
26
26
|
: Run the command as admin for environments you do not have explicitly assigned permissions to.
|
|
@@ -35,7 +35,7 @@ m365 spfx project upgrade [options]
|
|
|
35
35
|
|
|
36
36
|
## Remarks
|
|
37
37
|
|
|
38
|
-
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.
|
|
38
|
+
The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.18.0).
|
|
39
39
|
|
|
40
40
|
This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
|
|
41
41
|
|
|
@@ -15,10 +15,10 @@ m365 spo file get [options]
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
|
-
`-
|
|
18
|
+
`-u, --webUrl <webUrl>`
|
|
19
19
|
: The URL of the site where the file is located
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
`--url [url]`
|
|
22
22
|
: The server- or site-relative decoded URL of the file to retrieve. Specify either `url` or `id` but not both
|
|
23
23
|
|
|
24
24
|
`-i, --id [id]`
|
|
@@ -19,13 +19,13 @@ m365 spo page template remove
|
|
|
19
19
|
## Options
|
|
20
20
|
|
|
21
21
|
```md definition-list
|
|
22
|
-
`-
|
|
22
|
+
`-u, --webUrl <webUrl>`
|
|
23
23
|
: URL of the site where the file to remove is located
|
|
24
24
|
|
|
25
25
|
`-i, --id [id]`
|
|
26
26
|
: The ID of the file to remove. Specify either `id` or `url` but not both
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
`--url [url]`
|
|
29
29
|
: The server- or site-relative decoded URL of the file to remove. Specify either `id` or `url` but not both
|
|
30
30
|
|
|
31
31
|
`--recycle`
|
|
@@ -13,10 +13,10 @@ m365 spo file version clear [options]
|
|
|
13
13
|
## Options
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
|
-
`-
|
|
16
|
+
`-u, --webUrl <webUrl>`
|
|
17
17
|
: The URL of the site where the file is located
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
`--fileUrl [fileUrl]`
|
|
20
20
|
: The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both
|
|
21
21
|
|
|
22
22
|
`-i, --fileId [fileId]`
|
|
@@ -15,13 +15,13 @@ m365 spo file version get [options]
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
|
-
`-
|
|
18
|
+
`-u, --webUrl <webUrl>`
|
|
19
19
|
: The URL of the site where the file is located
|
|
20
20
|
|
|
21
21
|
`--label <label>`
|
|
22
22
|
: Label of version which will be retrieved
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
`--fileUrl [fileUrl]`
|
|
25
25
|
: The server- or site-relative decoded URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
26
26
|
|
|
27
27
|
`-i, --fileId [fileId]`
|
|
@@ -15,10 +15,10 @@ m365 spo file version list [options]
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
|
-
`-
|
|
18
|
+
`-u, --webUrl <webUrl>`
|
|
19
19
|
: The URL of the site where the file is located
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
`--fileUrl [fileUrl]`
|
|
22
22
|
: The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both
|
|
23
23
|
|
|
24
24
|
`-i, --fileId [fileId]`
|
|
@@ -13,13 +13,13 @@ m365 spo file version remove [options]
|
|
|
13
13
|
## Options
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
|
-
`-
|
|
16
|
+
`-u, --webUrl <webUrl>`
|
|
17
17
|
: The URL of the site where the file is located
|
|
18
18
|
|
|
19
19
|
`--label <label>`
|
|
20
20
|
: Label of version which will be removed
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
`--fileUrl [fileUrl]`
|
|
23
23
|
: The server- or site-relative decoded URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
|
|
24
24
|
|
|
25
25
|
`-i, --fileId [fileId]`
|
|
@@ -13,13 +13,13 @@ m365 spo file version restore [options]
|
|
|
13
13
|
## Options
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
|
-
`-
|
|
16
|
+
`-u, --webUrl <webUrl>`
|
|
17
17
|
: The URL of the site where the file is located
|
|
18
18
|
|
|
19
19
|
`--label <label>`
|
|
20
20
|
: Label of version which will be restored
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
`--fileUrl [fileUrl]`
|
|
23
23
|
: The server- or site-relative decoded URL of the file whose version will be restored. Specify either `fileUrl` or `fileId` but not both
|
|
24
24
|
|
|
25
25
|
`-i, --fileId [fileId]`
|