@pnp/cli-microsoft365 7.0.0-beta.9229cf8 → 7.0.0-beta.99e75a7
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 -1
- package/dist/Auth.js +2 -1
- package/dist/Command.js +1 -1
- package/dist/m365/aad/commands/{o365group/o365group-add.js → m365group/m365group-add.js} +17 -17
- package/dist/m365/aad/commands/{o365group/o365group-conversation-list.js → m365group/m365group-conversation-list.js} +10 -10
- package/dist/m365/aad/commands/{o365group/o365group-conversation-post-list.js → m365group/m365group-conversation-post-list.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-get.js → m365group/m365group-get.js} +13 -10
- package/dist/m365/aad/commands/{o365group/o365group-list.js → m365group/m365group-list.js} +13 -28
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-clear.js → m365group/m365group-recyclebinitem-clear.js} +15 -15
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-list.js → m365group/m365group-recyclebinitem-list.js} +10 -10
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-remove.js → m365group/m365group-recyclebinitem-remove.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-restore.js → m365group/m365group-recyclebinitem-restore.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-remove.js → m365group/m365group-remove.js} +12 -12
- package/dist/m365/aad/commands/{o365group/o365group-renew.js → m365group/m365group-renew.js} +10 -10
- package/dist/m365/aad/commands/{o365group/o365group-report-activitycounts.js → m365group/m365group-report-activitycounts.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activitydetail.js → m365group/m365group-report-activitydetail.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activityfilecounts.js → m365group/m365group-report-activityfilecounts.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activitygroupcounts.js → m365group/m365group-report-activitygroupcounts.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-report-activitystorage.js → m365group/m365group-report-activitystorage.js} +4 -4
- package/dist/m365/aad/commands/{o365group/o365group-set.js → m365group/m365group-set.js} +17 -17
- package/dist/m365/aad/commands/{o365group/o365group-teamify.js → m365group/m365group-teamify.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-user-add.js → m365group/m365group-user-add.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-user-list.js → m365group/m365group-user-list.js} +12 -12
- package/dist/m365/aad/commands/{o365group/o365group-user-remove.js → m365group/m365group-user-remove.js} +14 -14
- package/dist/m365/aad/commands/{o365group/o365group-user-set.js → m365group/m365group-user-set.js} +15 -15
- package/dist/m365/aad/commands.js +22 -22
- package/dist/m365/pa/commands/app/app-permission-ensure.js +162 -0
- package/dist/m365/pa/commands/app/app-permission-list.js +2 -2
- package/dist/m365/pa/commands/app/app-permission-remove.js +153 -0
- package/dist/m365/pa/commands.js +2 -0
- package/dist/m365/spfx/commands/project/project-externalize/rules/PnPJsRule.js +2 -2
- package/dist/m365/spfx/commands/spfx-doctor.js +73 -103
- package/dist/m365/spo/commands/file/file-add.js +13 -13
- package/dist/m365/spo/commands/file/file-checkin.js +1 -1
- package/dist/m365/spo/commands/file/file-checkout.js +1 -1
- package/dist/m365/spo/commands/file/file-copy.js +36 -4
- package/dist/m365/spo/commands/file/file-list.js +4 -4
- package/dist/m365/spo/commands/file/file-move.js +2 -2
- package/dist/m365/spo/commands/file/file-remove.js +6 -6
- package/dist/m365/spo/commands/file/file-rename.js +2 -2
- package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/file/file-roleassignment-remove.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/file/file-version-clear.js +1 -1
- package/dist/m365/spo/commands/file/file-version-get.js +1 -1
- package/dist/m365/spo/commands/file/file-version-list.js +1 -1
- package/dist/m365/spo/commands/file/file-version-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-version-restore.js +1 -1
- package/dist/m365/spo/commands/folder/folder-add.js +2 -4
- package/dist/m365/spo/commands/folder/folder-get.js +1 -1
- package/dist/m365/spo/commands/folder/folder-list.js +2 -2
- package/dist/m365/spo/commands/folder/folder-remove.js +7 -4
- package/dist/m365/spo/commands/folder/folder-rename.js +13 -17
- package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
- package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/group/group-list.js +0 -1
- package/dist/m365/spo/commands/site/site-set.js +2 -2
- package/dist/m365/spo/commands/theme/theme-list.js +1 -9
- package/dist/utils/spo.js +1 -1
- package/docs/docs/cmd/aad/{o365group/o365group-add.mdx → m365group/m365group-add.mdx} +13 -13
- package/docs/docs/cmd/aad/{o365group/o365group-conversation-list.mdx → m365group/m365group-conversation-list.mdx} +4 -4
- package/docs/docs/cmd/aad/{o365group/o365group-conversation-post-list.mdx → m365group/m365group-conversation-post-list.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-get.mdx → m365group/m365group-get.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-list.mdx → m365group/m365group-list.mdx} +12 -29
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-clear.mdx → m365group/m365group-recyclebinitem-clear.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-list.mdx → m365group/m365group-recyclebinitem-list.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-remove.mdx → m365group/m365group-recyclebinitem-remove.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-restore.mdx → m365group/m365group-recyclebinitem-restore.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-remove.mdx → m365group/m365group-remove.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-renew.mdx → m365group/m365group-renew.mdx} +4 -4
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitycounts.mdx → m365group/m365group-report-activitycounts.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitydetail.mdx → m365group/m365group-report-activitydetail.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-report-activityfilecounts.mdx → m365group/m365group-report-activityfilecounts.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitygroupcounts.mdx → m365group/m365group-report-activitygroupcounts.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-report-activitystorage.mdx → m365group/m365group-report-activitystorage.mdx} +6 -6
- package/docs/docs/cmd/aad/{o365group/o365group-set.mdx → m365group/m365group-set.mdx} +8 -8
- package/docs/docs/cmd/aad/{o365group/o365group-teamify.mdx → m365group/m365group-teamify.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-add.mdx → m365group/m365group-user-add.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-list.mdx → m365group/m365group-user-list.mdx} +7 -7
- package/docs/docs/cmd/aad/{o365group/o365group-user-remove.mdx → m365group/m365group-user-remove.mdx} +5 -5
- package/docs/docs/cmd/aad/{o365group/o365group-user-set.mdx → m365group/m365group-user-set.mdx} +5 -5
- package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +85 -0
- package/docs/docs/cmd/pa/app/app-permission-remove.mdx +74 -0
- package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkin.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -9
- package/docs/docs/cmd/spo/file/file-checkout.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-copy.mdx +20 -16
- package/docs/docs/cmd/spo/file/file-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-list.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-move.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-remove.mdx +8 -8
- package/docs/docs/cmd/spo/file/file-rename.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
- 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/file/file-sharinginfo-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-add.mdx +76 -1
- package/docs/docs/cmd/spo/folder/folder-get.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-list.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-rename.mdx +5 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
- package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
- package/npm-shrinkwrap.json +142 -88
- package/package.json +13 -13
- /package/dist/m365/aad/commands/{o365group → m365group}/GroupExtended.js +0 -0
package/docs/docs/cmd/aad/{o365group/o365group-teamify.mdx → m365group/m365group-teamify.mdx}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
# aad
|
|
3
|
+
# aad m365group teamify
|
|
4
4
|
|
|
5
5
|
Creates a new Microsoft Teams team under existing Microsoft 365 group
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365 aad
|
|
10
|
+
m365 aad m365group teamify [options]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Options
|
|
@@ -27,15 +27,15 @@ m365 aad o365group teamify [options]
|
|
|
27
27
|
Creates a new Microsoft Teams team under existing Microsoft 365 group with id _e3f60f99-0bad-481f-9e9f-ff0f572fbd03_
|
|
28
28
|
|
|
29
29
|
```sh
|
|
30
|
-
m365 aad
|
|
30
|
+
m365 aad m365group teamify --id e3f60f99-0bad-481f-9e9f-ff0f572fbd03
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
Creates a new Microsoft Teams team under existing Microsoft 365 group with mailNickname _GroupName_
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
m365 aad
|
|
36
|
+
m365 aad m365group teamify --mailNickname GroupName
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
## Response
|
|
40
40
|
|
|
41
|
-
The command won't return a response on success.
|
|
41
|
+
The command won't return a response on success.
|
package/docs/docs/cmd/aad/{o365group/o365group-user-add.mdx → m365group/m365group-user-add.mdx}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
# aad
|
|
3
|
+
# aad m365group user add
|
|
4
4
|
|
|
5
5
|
Adds user to specified Microsoft 365 Group or Microsoft Teams team
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365 aad
|
|
10
|
+
m365 aad m365group user add [options]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Alias
|
|
@@ -39,13 +39,13 @@ m365 teams user add
|
|
|
39
39
|
Add a new member to the specified Microsoft 365 Group
|
|
40
40
|
|
|
41
41
|
```sh
|
|
42
|
-
m365 aad
|
|
42
|
+
m365 aad m365group user add --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
Add a new owner to the specified Microsoft 365 Group
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
|
-
m365 aad
|
|
48
|
+
m365 aad m365group user add --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Owner
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
Add a new member to the specified Microsoft Teams team
|
|
@@ -56,4 +56,4 @@ m365 teams user add --teamId '00000000-0000-0000-0000-000000000000' --userName '
|
|
|
56
56
|
|
|
57
57
|
## Response
|
|
58
58
|
|
|
59
|
-
The command won't return a response on success.
|
|
59
|
+
The command won't return a response on success.
|
package/docs/docs/cmd/aad/{o365group/o365group-user-list.mdx → m365group/m365group-user-list.mdx}
RENAMED
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# aad
|
|
5
|
+
# aad m365group user list
|
|
6
6
|
|
|
7
7
|
Lists users for the specified Microsoft 365 group
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 aad
|
|
12
|
+
m365 aad m365group user list [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -29,19 +29,19 @@ m365 aad o365group user list [options]
|
|
|
29
29
|
List all users and their role in the specified Microsoft 365 group
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
|
-
m365 aad
|
|
32
|
+
m365 aad m365group user list --groupId '00000000-0000-0000-0000-000000000000'
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
List all owners and their role in the specified Microsoft 365 group
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
m365 aad
|
|
38
|
+
m365 aad m365group user list --groupId '00000000-0000-0000-0000-000000000000' --role Owner
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
List all guests and their role in the specified Microsoft 365 group
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
|
-
m365 aad
|
|
44
|
+
m365 aad m365group user list --groupId '00000000-0000-0000-0000-000000000000' --role Guest
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Response
|
|
@@ -81,7 +81,7 @@ m365 aad o365group user list --groupId '00000000-0000-0000-0000-000000000000' --
|
|
|
81
81
|
<TabItem value="Markdown">
|
|
82
82
|
|
|
83
83
|
```md
|
|
84
|
-
# aad
|
|
84
|
+
# aad m365group user list --groupId "1deaa428-8dde-4043-b028-5492226d6114"
|
|
85
85
|
|
|
86
86
|
Date: 2023-06-02
|
|
87
87
|
|
|
@@ -96,4 +96,4 @@ m365 aad o365group user list --groupId '00000000-0000-0000-0000-000000000000' --
|
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
</TabItem>
|
|
99
|
-
</Tabs>
|
|
99
|
+
</Tabs>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
# aad
|
|
3
|
+
# aad m365group user remove
|
|
4
4
|
|
|
5
5
|
Removes the specified user from specified Microsoft 365 Group or Microsoft Teams team
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365 aad
|
|
10
|
+
m365 aad m365group user remove [options]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Alias
|
|
@@ -43,13 +43,13 @@ You can remove users from a Microsoft 365 Group or Microsoft Teams team if you a
|
|
|
43
43
|
Removes user from the specified Microsoft 365 Group
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
|
-
m365 aad
|
|
46
|
+
m365 aad m365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
Removes user from the specified Microsoft 365 Group without confirmation
|
|
50
50
|
|
|
51
51
|
```sh
|
|
52
|
-
m365 aad
|
|
52
|
+
m365 aad m365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --force
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
Removes user from the specified Microsoft Teams team
|
|
@@ -60,4 +60,4 @@ m365 aad teams user remove --teamId '00000000-0000-0000-0000-000000000000' --use
|
|
|
60
60
|
|
|
61
61
|
## Response
|
|
62
62
|
|
|
63
|
-
The command won't return a response on success.
|
|
63
|
+
The command won't return a response on success.
|
package/docs/docs/cmd/aad/{o365group/o365group-user-set.mdx → m365group/m365group-user-set.mdx}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
# aad
|
|
3
|
+
# aad m365group user set
|
|
4
4
|
|
|
5
5
|
Updates role of the specified user in the specified Microsoft 365 Group or Microsoft Teams team
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365 aad
|
|
10
|
+
m365 aad m365group user set [options]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Alias
|
|
@@ -43,13 +43,13 @@ The command will return an error if the user already has the specified role in t
|
|
|
43
43
|
Promote the specified user to owner of the given Microsoft 365 Group
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
|
-
m365 aad
|
|
46
|
+
m365 aad m365group user set --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Owner
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
Demote the specified user from owner to member in the given Microsoft 365 Group
|
|
50
50
|
|
|
51
51
|
```sh
|
|
52
|
-
m365 aad
|
|
52
|
+
m365 aad m365group user set --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Member
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
Promote the specified user to owner of the given Microsoft Teams team
|
|
@@ -66,4 +66,4 @@ m365 aad teams user set --teamId '00000000-0000-0000-0000-000000000000' --userNa
|
|
|
66
66
|
|
|
67
67
|
## Response
|
|
68
68
|
|
|
69
|
-
The command won't return a response on success.
|
|
69
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# pa app permission ensure
|
|
4
|
+
|
|
5
|
+
Assigns/updates permissions to a Power Apps app
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 pa app permission ensure [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`--appName <appName>`
|
|
17
|
+
: The name (GUID) of the Microsoft Power App.
|
|
18
|
+
|
|
19
|
+
`--roleName <roleName>`
|
|
20
|
+
: Permission level given to the app. Valid values: `CanEdit`, `CanView`. Sharing with the entire tenant is only supported with `CanView` role.
|
|
21
|
+
|
|
22
|
+
`--userId [userId]`
|
|
23
|
+
: The Azure AD ID of the user. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
24
|
+
|
|
25
|
+
`--userName [userName]`
|
|
26
|
+
: The user principal name of the user. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
27
|
+
|
|
28
|
+
`--groupId [groupId]`
|
|
29
|
+
: The Azure AD ID of the group. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
30
|
+
|
|
31
|
+
`--groupName [groupName]`
|
|
32
|
+
: The name of the Azure AD group. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
33
|
+
|
|
34
|
+
`--tenant`
|
|
35
|
+
: Share the app with the entire tenant. When specifying this, only `CanView` role is supported. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
36
|
+
|
|
37
|
+
`--sendInvitationMail`
|
|
38
|
+
: When set, an invitation mail will be sent.
|
|
39
|
+
|
|
40
|
+
`--asAdmin`
|
|
41
|
+
: Run the command as admin for apps you don't own.
|
|
42
|
+
|
|
43
|
+
`-e, --environmentName [environmentName]`
|
|
44
|
+
: The name of the environment. Specify only a value when running the command as admin.
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
<Global />
|
|
48
|
+
|
|
49
|
+
## Remarks
|
|
50
|
+
|
|
51
|
+
:::note
|
|
52
|
+
|
|
53
|
+
When specifying a value for `groupId` or `groupName`, note that you can only grant permissions to security groups.
|
|
54
|
+
|
|
55
|
+
:::
|
|
56
|
+
|
|
57
|
+
## Examples
|
|
58
|
+
|
|
59
|
+
Share a Power App app with another user with run-only permissions
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
m365 pa app permission ensure --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --userName john.doe@contoso.com --roleName CanView --sendInvitationMail
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Add co-owner permissions for a security group to a Power Apps app
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
m365 pa app permission ensure --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --groupName Developers --roleName CanEdit
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Add permissions as admin to a Power App app that you do not own
|
|
72
|
+
|
|
73
|
+
```sh
|
|
74
|
+
m365 pa app permission ensure --environment Default-e535e809-c6a1-47b5-8951-d0898a64bf8a --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --userId 42a28ec6-972f-4fdd-b483-50ee4b237f91 --roleName CanEdit --asAdmin
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Share a Power Apps app with everyone in the tenant
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
m365 pa app permission ensure --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --roleName CanView --tenant
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Response
|
|
84
|
+
|
|
85
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# pa app permission remove
|
|
4
|
+
|
|
5
|
+
Removes permissions to a Power Apps app
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 pa app permission remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`--appName <appName>`
|
|
17
|
+
: The name (GUID) of the Microsoft Power App.
|
|
18
|
+
|
|
19
|
+
`--userId [userId]`
|
|
20
|
+
: The Azure AD ID of the user. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
21
|
+
|
|
22
|
+
`--userName [userName]`
|
|
23
|
+
: The user principal name of the user. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
24
|
+
|
|
25
|
+
`--groupId [groupId]`
|
|
26
|
+
: The Azure AD ID of the group. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
27
|
+
|
|
28
|
+
`--groupName [groupName]`
|
|
29
|
+
: The name of the Azure AD group. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
30
|
+
|
|
31
|
+
`--tenant`
|
|
32
|
+
: When specifying this, tenant permissions (everyone in the tenant) will be removed. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
33
|
+
|
|
34
|
+
`--asAdmin`
|
|
35
|
+
: Run the command as admin for apps you don't own.
|
|
36
|
+
|
|
37
|
+
`-e, --environmentName [environmentName]`
|
|
38
|
+
: The name of the environment. Specify only a value when running the command as admin.
|
|
39
|
+
|
|
40
|
+
`-f, --force`
|
|
41
|
+
: Don't prompt for confirmation.
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
<Global />
|
|
45
|
+
|
|
46
|
+
## Examples
|
|
47
|
+
|
|
48
|
+
Remove permissions of a specific user for a specific app
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 pa app permission remove --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --userName john.doe@contoso.com
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Remove permissions of a specific security group for a specific app
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 pa app permission remove --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --groupName Developers
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Removes permissions as administrator for an app which you do not own
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
m365 pa app permission remove --environment Default-e535e809-c6a1-47b5-8951-d0898a64bf8a --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --userId 42a28ec6-972f-4fdd-b483-50ee4b237f91 --asAdmin
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Unshare a Power Apps app with the entire tenant
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
m365 pa app permission remove --appName bc9f0a7e-53df-46af-b669-5888bb2f63d0 --tenant
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Response
|
|
73
|
+
|
|
74
|
+
The command won't return a response on success.
|
|
@@ -38,7 +38,7 @@ m365 planner plan add [options]
|
|
|
38
38
|
|
|
39
39
|
## Remarks
|
|
40
40
|
|
|
41
|
-
- Related to the options `--shareWithUserIds` and `--shareWithUserNames`. If you are leveraging Microsoft 365 groups, use the `aad
|
|
41
|
+
- Related to the options `--shareWithUserIds` and `--shareWithUserNames`. If you are leveraging Microsoft 365 groups, use the `aad m365group user` commands to manage group membership to share the [group's](https://pnp.github.io/cli-microsoft365/cmd/aad/m365group/m365group-user-add/) plan. You can also add existing members of the group to this collection though it is not required for them to access the plan owned by the group.
|
|
42
42
|
|
|
43
43
|
- Hint: Unlike for groups, a Planner Roster can contain only 1 plan.
|
|
44
44
|
|
|
@@ -17,7 +17,7 @@ m365 spo file add [options]
|
|
|
17
17
|
: The URL of the site where the file should be uploaded to
|
|
18
18
|
|
|
19
19
|
`--folder <folder>`
|
|
20
|
-
: The server- or site-relative URL to the folder where the file should be uploaded
|
|
20
|
+
: The server- or site-relative decoded URL to the folder where the file should be uploaded
|
|
21
21
|
|
|
22
22
|
`-p, --path <path>`
|
|
23
23
|
: Local path to the file to upload
|
|
@@ -17,7 +17,7 @@ m365 spo file checkin [options]
|
|
|
17
17
|
: The URL of the site where the file is located
|
|
18
18
|
|
|
19
19
|
`--url [url]`
|
|
20
|
-
: The server- or site-relative URL of the file to retrieve. Specify either `url` or `id` but not both
|
|
20
|
+
: The server- or site-relative decoded URL of the file to retrieve. Specify either `url` or `id` but not both
|
|
21
21
|
|
|
22
22
|
`-i, --id [id]`
|
|
23
23
|
: The UniqueId (GUID) of the file to retrieve. Specify either `url` or `id` but not both
|
|
@@ -17,7 +17,7 @@ m365 spo file checkout undo [options]
|
|
|
17
17
|
: The URL of the site where the file is located.
|
|
18
18
|
|
|
19
19
|
`--fileUrl [fileUrl]`
|
|
20
|
-
: The server- or site-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
|
|
20
|
+
: The server- or site-relative decoded URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
|
|
21
21
|
|
|
22
22
|
`-i, --fileId [fileId]`
|
|
23
23
|
: The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
|
|
@@ -28,14 +28,6 @@ m365 spo file checkout undo [options]
|
|
|
28
28
|
|
|
29
29
|
<Global />
|
|
30
30
|
|
|
31
|
-
## Remarks
|
|
32
|
-
|
|
33
|
-
:::info
|
|
34
|
-
|
|
35
|
-
When specifying option `fileUrl`, make sure that the URL is decoded. If not, you will get a `File Not Found` error.
|
|
36
|
-
|
|
37
|
-
:::
|
|
38
|
-
|
|
39
31
|
## Examples
|
|
40
32
|
|
|
41
33
|
Discards a checked-out file with a specific ID.
|
|
@@ -17,7 +17,7 @@ m365 spo file checkout [options]
|
|
|
17
17
|
: The URL of the site where the file is located
|
|
18
18
|
|
|
19
19
|
`--url [url]`
|
|
20
|
-
: The server- or site-relative URL of the file to retrieve. Specify either `url` or `id` but not both
|
|
20
|
+
: The server- or site-relative decoded URL of the file to retrieve. Specify either `url` or `id` but not both
|
|
21
21
|
|
|
22
22
|
`-i, --id [id]`
|
|
23
23
|
: The UniqueId (GUID) of the file to retrieve. Specify either `url` or `id` but not both
|
|
@@ -16,11 +16,14 @@ m365 spo file copy [options]
|
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
17
|
: The URL of the site where the file is located.
|
|
18
18
|
|
|
19
|
-
`-s, --sourceUrl
|
|
20
|
-
: Site-relative, server-relative or absolute URL of the file.
|
|
19
|
+
`-s, --sourceUrl [sourceUrl]`
|
|
20
|
+
: Site-relative, server-relative or absolute decoded URL of the file. Specify either `sourceUrl` or `sourceId` but not both.
|
|
21
|
+
|
|
22
|
+
`-i, --sourceId [sourceId]`
|
|
23
|
+
: The Unique ID (GUID) of the file. Specify either `sourceUrl` or `sourceId` but not both.
|
|
21
24
|
|
|
22
25
|
`-t, --targetUrl <targetUrl>`
|
|
23
|
-
: Server-relative or absolute URL of the location.
|
|
26
|
+
: Server-relative or absolute decoded URL of the location.
|
|
24
27
|
|
|
25
28
|
`--newName [newName]`
|
|
26
29
|
: New name of the destination file.
|
|
@@ -28,6 +31,9 @@ m365 spo file copy [options]
|
|
|
28
31
|
`--nameConflictBehavior [nameConflictBehavior]`
|
|
29
32
|
: Behavior when a document with the same name is already present at the destination. Possible values: `fail`, `replace`, `rename`. Default is `fail`.
|
|
30
33
|
|
|
34
|
+
`--resetAuthorAndCreated`
|
|
35
|
+
: Use this option to clear the author and created date. When not specified, the values from the source file are used.
|
|
36
|
+
|
|
31
37
|
`--bypassSharedLock`
|
|
32
38
|
: This indicates whether a file with a share lock can still be copied. Use this option to copy a file that is locked.
|
|
33
39
|
```
|
|
@@ -36,12 +42,6 @@ m365 spo file copy [options]
|
|
|
36
42
|
|
|
37
43
|
## Remarks
|
|
38
44
|
|
|
39
|
-
:::info
|
|
40
|
-
|
|
41
|
-
The required URLs `webUrl`, `sourceUrl` and `targetUrl` cannot be encoded. When you do so, you will get a `File Not Found` error.
|
|
42
|
-
|
|
43
|
-
:::
|
|
44
|
-
|
|
45
45
|
When you specify a value for `nameConflictBehavior`, consider the following:
|
|
46
46
|
|
|
47
47
|
- `fail` will throw an error when the destination file already exists.
|
|
@@ -50,30 +50,34 @@ When you specify a value for `nameConflictBehavior`, consider the following:
|
|
|
50
50
|
|
|
51
51
|
## Examples
|
|
52
52
|
|
|
53
|
-
Copy a file to a document library in another site collection with server relative
|
|
53
|
+
Copy a file by server-relative URL to a document library in another site collection with server relative URL
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
56
|
m365 spo file copy --webUrl https://contoso.sharepoint.com/sites/project --sourceUrl "/sites/project/Shared Documents/Document.pdf" --targetUrl "/sites/IT/Shared Documents"
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
Copy a file to a document library in another site collection
|
|
59
|
+
Copy a file by site-relative URL to a document library in another site collection and clear the author and created date
|
|
60
60
|
|
|
61
61
|
```sh
|
|
62
|
-
m365 spo file copy --webUrl https://contoso.sharepoint.com/sites/project --sourceUrl "
|
|
62
|
+
m365 spo file copy --webUrl https://contoso.sharepoint.com/sites/project --sourceUrl "/Shared Documents/Document.pdf" --targetUrl "/sites/IT/Shared Documents" --resetAuthorAndCreated
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
Copy file to a document library in another site collection
|
|
65
|
+
Copy file by sourceId (UniqueId) to a document library in another site collection and rename the file
|
|
66
66
|
|
|
67
67
|
```sh
|
|
68
|
-
m365 spo file copy --webUrl https://contoso.sharepoint.com/sites/project --
|
|
68
|
+
m365 spo file copy --webUrl https://contoso.sharepoint.com/sites/project --sourceId "b2307a39-e878-458b-bc90-03bc578531d6" --targetUrl "/sites/IT/Shared Documents" --newName "Report.pdf"
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
Copy file to a document library in another site collection with a new name, rename the file if it already exists
|
|
71
|
+
Copy file by sourceId (UniqueId) to a document library in another site collection with a new name, rename the file if it already exists
|
|
72
72
|
|
|
73
73
|
```sh
|
|
74
|
-
m365 spo file copy --webUrl https://contoso.sharepoint.com/sites/project --
|
|
74
|
+
m365 spo file copy --webUrl https://contoso.sharepoint.com/sites/project --sourceId "b2307a39-e878-458b-bc90-03bc578531d6" --targetUrl "/sites/IT/Shared Documents" --newName "Report.pdf" --nameConflictBehavior rename
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
+
## Response
|
|
78
|
+
|
|
79
|
+
The command won't return a response on success.
|
|
80
|
+
|
|
77
81
|
## More information
|
|
78
82
|
|
|
79
83
|
- Copy items from a SharePoint document library: [https://support.office.com/en-us/article/move-or-copy-items-from-a-sharepoint-document-library-00e2f483-4df3-46be-a861-1f5f0c1a87bc](https://support.office.com/en-us/article/move-or-copy-items-from-a-sharepoint-document-library-00e2f483-4df3-46be-a861-1f5f0c1a87bc)
|
|
@@ -19,7 +19,7 @@ m365 spo file get [options]
|
|
|
19
19
|
: The URL of the site where the file is located
|
|
20
20
|
|
|
21
21
|
`-u, --url [url]`
|
|
22
|
-
: The server- or site-relative URL of the file to retrieve. Specify either `url` or `id` but not both
|
|
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]`
|
|
25
25
|
: The UniqueId (GUID) of the file to retrieve. Specify either `url` or `id` but not both
|
|
@@ -18,8 +18,8 @@ m365 spo file list [options]
|
|
|
18
18
|
`-u, --webUrl <webUrl>`
|
|
19
19
|
: The URL of the site where the folder from which to retrieve files is located.
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
: The server- or site-relative URL of the parent folder from which to retrieve files.
|
|
21
|
+
`--folderUrl <folderUrl>`
|
|
22
|
+
: The server- or site-relative decoded URL of the parent folder from which to retrieve files.
|
|
23
23
|
|
|
24
24
|
`--fields [fields]`
|
|
25
25
|
: Comma-separated list of fields to retrieve. Will retrieve all fields if not specified.
|
|
@@ -17,10 +17,10 @@ m365 spo file move [options]
|
|
|
17
17
|
: The URL of the site where the file is located
|
|
18
18
|
|
|
19
19
|
`-s, --sourceUrl <sourceUrl>`
|
|
20
|
-
: The server- or site-relative URL of the file to move
|
|
20
|
+
: The server- or site-relative decoded URL of the file to move
|
|
21
21
|
|
|
22
22
|
`-t, --targetUrl <targetUrl>`
|
|
23
|
-
: Server-relative URL where to move the file
|
|
23
|
+
: Server-relative decoded URL where to move the file
|
|
24
24
|
|
|
25
25
|
`--deleteIfAlreadyExists`
|
|
26
26
|
: If a file already exists at the targetUrl, it will be moved to the recycle bin. If omitted, the move operation will be canceled if the file already exists at the targetUrl location
|
|
@@ -26,7 +26,7 @@ m365 spo page template remove
|
|
|
26
26
|
: The ID of the file to remove. Specify either `id` or `url` but not both
|
|
27
27
|
|
|
28
28
|
`-u, --url [url]`
|
|
29
|
-
: The server- or site-relative URL of the file to remove. Specify either `id` or `url` but not both
|
|
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`
|
|
32
32
|
: Recycle the file instead of actually deleting it
|
|
@@ -39,26 +39,26 @@ m365 spo page template remove
|
|
|
39
39
|
|
|
40
40
|
## Examples
|
|
41
41
|
|
|
42
|
-
Remove
|
|
42
|
+
Remove file by ID
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
45
|
m365 spo file remove --webUrl https://contoso.sharepoint.com/sites/project-x --id 0cd891ef-afce-4e55-b836-fce03286cccf
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Remove the file
|
|
48
|
+
Remove the file by site-relative URL
|
|
49
49
|
|
|
50
50
|
```sh
|
|
51
|
-
m365 spo file remove --webUrl https://contoso.sharepoint.com/sites/project-x --url
|
|
51
|
+
m365 spo file remove --webUrl https://contoso.sharepoint.com/sites/project-x --url "/Shared Documents/Test.docx"
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
Move the file
|
|
54
|
+
Move the file by server-relative URL to the recycle bin
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
|
-
m365 spo file remove --webUrl https://contoso.sharepoint.com/sites/project-x --url /sites/project-x/SharedDocuments/Test.docx --recycle
|
|
57
|
+
m365 spo file remove --webUrl https://contoso.sharepoint.com/sites/project-x --url "/sites/project-x/SharedDocuments/Test.docx" --recycle
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
Remove
|
|
60
|
+
Remove a page template by site-relative URL
|
|
61
61
|
|
|
62
62
|
```sh
|
|
63
|
-
m365 spo page template remove --webUrl https://contoso.sharepoint.com/sites/project-x --url
|
|
63
|
+
m365 spo page template remove --webUrl https://contoso.sharepoint.com/sites/project-x --url "/Shared Documents/Forms/Template.dotx"
|
|
64
64
|
```
|
|
@@ -17,7 +17,7 @@ m365 spo file rename [options]
|
|
|
17
17
|
: The URL of the site where the file is located
|
|
18
18
|
|
|
19
19
|
`-s, --sourceUrl <sourceUrl>`
|
|
20
|
-
: The server- or site-relative URL of the file to rename
|
|
20
|
+
: The server- or site-relative decoded URL of the file to rename
|
|
21
21
|
|
|
22
22
|
`-t, --targetFileName <targetFileName>`
|
|
23
23
|
: New file name of the file
|
|
@@ -34,13 +34,13 @@ If you try to rename a file without the `--force` flag and a file with this name
|
|
|
34
34
|
|
|
35
35
|
## Examples
|
|
36
36
|
|
|
37
|
-
Renames a file
|
|
37
|
+
Renames a file
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
40
|
m365 spo file rename --webUrl https://contoso.sharepoint.com/sites/project-x --sourceUrl '/Shared Documents/Test1.docx' --targetFileName 'Test2.docx'
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
Renames a file
|
|
43
|
+
Renames a file. If the file with the target file name already exists, this file will be moved to the recycle bin.
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
46
|
m365 spo file rename --webUrl https://contoso.sharepoint.com/sites/project-x --sourceUrl '/Shared Documents/Test1.docx' --targetFileName 'Test2.docx' --force
|
|
@@ -14,10 +14,10 @@ m365 spo file retentionlabel ensure [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: URL of the site where the retention label from a file to apply is located
|
|
17
|
+
: URL of the site where the retention label from a file to apply is located.
|
|
18
18
|
|
|
19
19
|
`--fileUrl [fileUrl]`
|
|
20
|
-
: The site- or server-relative URL of the file that should be labelled. Specify either `fileUrl` or `fileId` but not both.
|
|
20
|
+
: The site- or server-relative decoded URL of the file that should be labelled. Specify either `fileUrl` or `fileId` but not both.
|
|
21
21
|
|
|
22
22
|
`-i, --fileId [fileId]`
|
|
23
23
|
: The UniqueId (GUID) of the file that should be labelled. Specify either `fileUrl` or `fileId` but not both.
|
|
@@ -14,16 +14,16 @@ m365 spo file retentionlabel remove [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: URL of the site where the retention label from a file to remove is located
|
|
17
|
+
: URL of the site where the retention label from a file to remove is located.
|
|
18
18
|
|
|
19
19
|
`--fileUrl [fileUrl]`
|
|
20
|
-
: The server- or site-relative URL of the file of which the label should be removed. Specify either `fileUrl` or `fileId` but not both.
|
|
20
|
+
: The server- or site-relative decoded URL of the file of which the label should be removed. Specify either `fileUrl` or `fileId` but not both.
|
|
21
21
|
|
|
22
22
|
`-i, --fileId [fileId]`
|
|
23
23
|
: The UniqueId (GUID) of the file of which the label should be removed. Specify either `fileUrl` or `fileId` but not both.
|
|
24
24
|
|
|
25
25
|
`-f, --force`
|
|
26
|
-
: Don't prompt for confirming removing the retention label from a file
|
|
26
|
+
: Don't prompt for confirming removing the retention label from a file.
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
<Global />
|