@pnp/cli-microsoft365 12.0.0-beta.0be7d8d → 12.0.0-beta.10c5833
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +2 -6
- package/dist/auth/FileTokenStorage.js +0 -3
- package/dist/auth/msalCachePlugin.js +201 -12
- package/dist/m365/commands/logout.js +2 -4
- package/dist/m365/entra/commands/m365group/m365group-remove.js +4 -3
- package/dist/m365/spe/commands/container/container-remove.js +6 -7
- package/dist/m365/spo/commands/file/file-archive.js +1 -1
- package/dist/m365/spo/commands/file/file-remove.js +5 -5
- package/dist/m365/spo/commands/file/file-unarchive.js +1 -1
- package/dist/m365/spo/commands/folder/folder-archive.js +1 -1
- package/dist/m365/spo/commands/folder/folder-remove.js +5 -5
- package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-get.js +5 -0
- package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-set.js +8 -26
- package/dist/m365/spo/commands/homesite/homesite-list.js +5 -0
- package/dist/m365/spo/commands/list/list-remove.js +4 -4
- package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +5 -4
- package/dist/m365/spo/commands/listitem/listitem-remove.js +8 -5
- package/dist/m365/spo/commands/page/page-remove.js +7 -7
- package/dist/m365/spo/commands/site/site-list.js +60 -49
- package/dist/m365/spo/commands/site/site-remove.js +7 -7
- package/dist/m365/spo/commands/spo-get.js +5 -0
- package/dist/m365/spo/commands/spo-set.js +10 -21
- package/dist/m365/spo/commands/storageentity/storageentity-get.js +23 -17
- package/dist/m365/spo/commands/storageentity/storageentity-list.js +39 -36
- package/dist/m365/spo/commands/storageentity/storageentity-remove.js +26 -33
- package/dist/m365/spo/commands/storageentity/storageentity-set.js +26 -36
- package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +1 -1
- package/dist/m365/spo/commands/user/user-ensure.js +24 -60
- package/dist/m365/spo/commands/user/user-get.js +25 -65
- package/dist/m365/spo/commands/user/user-list.js +10 -18
- package/dist/m365/spo/commands/user/user-remove.js +26 -68
- package/dist/m365/spo/commands/userprofile/userprofile-get.js +10 -23
- package/dist/m365/spo/commands/userprofile/userprofile-set.js +10 -19
- package/dist/m365/spo/commands/web/web-add.js +20 -55
- package/dist/m365/spo/commands/web/web-clientsidewebpart-list.js +10 -18
- package/dist/m365/spo/commands/web/web-get.js +12 -30
- package/dist/m365/spo/commands/web/web-installedlanguage-list.js +10 -18
- package/dist/m365/spo/commands/web/web-list.js +10 -18
- package/dist/m365/spo/commands/web/web-reindex.js +10 -18
- package/dist/m365/spo/commands/web/web-remove.js +11 -27
- package/dist/m365/spo/commands/web/web-retentionlabel-list.js +10 -18
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +40 -64
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +31 -58
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +12 -36
- package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +11 -29
- package/dist/m365/spo/commands/web/web-rule-get.js +47 -0
- package/dist/m365/spo/commands/web/web-rule-list.js +6 -4
- package/dist/m365/spo/commands/web/web-rule-remove.js +0 -3
- package/dist/m365/spo/commands/web/web-set.js +26 -96
- package/dist/m365/spo/commands.js +1 -2
- package/dist/m365/teams/commands/channel/channel-list.js +2 -6
- package/dist/m365/teams/commands/channel/channel-member-add.js +2 -6
- package/dist/m365/teams/commands/channel/channel-member-list.js +2 -6
- package/dist/m365/teams/commands/channel/channel-member-remove.js +2 -6
- package/dist/m365/teams/commands/channel/channel-member-set.js +2 -6
- package/dist/m365/teams/commands/channel/channel-remove.js +2 -8
- package/dist/m365/teams/commands/channel/channel-set.js +2 -8
- package/dist/m365/teams/commands/tab/tab-get.js +2 -6
- package/dist/m365/teams/commands/team/team-archive.js +2 -6
- package/dist/m365/teams/commands/team/team-remove.js +2 -6
- package/dist/m365/teams/commands/team/team-unarchive.js +2 -6
- package/docs/docs/cmd/entra/m365group/m365group-remove.mdx +4 -4
- package/docs/docs/cmd/spe/container/container-remove.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-archive.mdx +8 -0
- package/docs/docs/cmd/spo/file/file-remove.mdx +4 -4
- package/docs/docs/cmd/spo/file/file-unarchive.mdx +8 -0
- package/docs/docs/cmd/spo/folder/folder-archive.mdx +6 -0
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +4 -4
- package/docs/docs/cmd/spo/list/list-remove.mdx +4 -4
- package/docs/docs/cmd/spo/listitem/listitem-batch-remove.mdx +8 -2
- package/docs/docs/cmd/spo/listitem/listitem-remove.mdx +8 -2
- package/docs/docs/cmd/spo/page/page-remove.mdx +4 -4
- package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +52 -21
- package/docs/docs/cmd/spo/site/site-list.mdx +22 -1
- package/docs/docs/cmd/spo/site/site-remove.mdx +3 -3
- package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +11 -2
- package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +9 -3
- package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +6 -6
- package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +10 -4
- package/docs/docs/cmd/spo/web/web-rule-get.mdx +108 -0
- package/docs/docs/cmd/spo/web/web-rule-list.mdx +8 -12
- package/docs/docs/cmd/spo/web/web-rule-remove.mdx +0 -6
- package/docs/docs/cmd/teams/app/app-install.mdx +21 -0
- package/docs/docs/cmd/teams/app/app-list.mdx +19 -0
- package/docs/docs/cmd/teams/app/app-publish.mdx +17 -0
- package/docs/docs/cmd/teams/app/app-remove.mdx +19 -0
- package/docs/docs/cmd/teams/app/app-uninstall.mdx +21 -0
- package/docs/docs/cmd/teams/app/app-update.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-add.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-get.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-list.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-remove.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-set.mdx +19 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.mdx +19 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.mdx +19 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.mdx +19 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.mdx +19 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.mdx +19 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.mdx +19 -0
- package/npm-shrinkwrap.json +432 -0
- package/package.json +6 -1
|
@@ -16,7 +16,10 @@ m365 spo site list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-t, --type [type]`
|
|
19
|
-
: convenience option for type of sites to list. Allowed values are `TeamSite
|
|
19
|
+
: convenience option for type of sites to list. Allowed values are `TeamSite` and `CommunicationSite`.
|
|
20
|
+
|
|
21
|
+
`--state [state]`
|
|
22
|
+
: option to filter sites by their archived state. Allowed values are `active`, `fullyArchived`, `recentlyArchived` and `archived`.
|
|
20
23
|
|
|
21
24
|
`--webTemplate [webTemplate]`
|
|
22
25
|
: type of sites to list. To be used with values like `GROUP#0` and `SITEPAGEPUBLISHING#0`. Specify either `type` or `webTemplate`, but not both.
|
|
@@ -31,6 +34,12 @@ m365 spo site list [options]
|
|
|
31
34
|
<Global />
|
|
32
35
|
|
|
33
36
|
## Remarks
|
|
37
|
+
When providing a value for option `state`, consider the following:
|
|
38
|
+
|
|
39
|
+
- `active`: return sites that are not archived
|
|
40
|
+
- `fullyArchived`: return sites that are fully archived (longer than 7 days)
|
|
41
|
+
- `recentlyArchived`: return sites that are recently archived (within 7 days)
|
|
42
|
+
- `archived`: return both recently archived and fully archived sites
|
|
34
43
|
|
|
35
44
|
Using the `--filter` option you can specify which sites you want to retrieve. For example, to get sites with _project_ in their URL, use `Url -like 'project'` as the filter.
|
|
36
45
|
|
|
@@ -76,6 +85,18 @@ List all sites in the currently connected tenant including OneDrive sites.
|
|
|
76
85
|
m365 spo site list --withOneDriveSites
|
|
77
86
|
```
|
|
78
87
|
|
|
88
|
+
List all active (non-archived) sites in the currently connected tenant.
|
|
89
|
+
|
|
90
|
+
```sh
|
|
91
|
+
m365 spo site list --state active
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
List all archived sites in the currently connected tenant.
|
|
95
|
+
|
|
96
|
+
```sh
|
|
97
|
+
m365 spo site list --state archived
|
|
98
|
+
```
|
|
99
|
+
|
|
79
100
|
## Response
|
|
80
101
|
|
|
81
102
|
<Tabs>
|
|
@@ -16,8 +16,8 @@ m365 spo site remove [options]
|
|
|
16
16
|
`-u, --url <url>`
|
|
17
17
|
: URL of the site.
|
|
18
18
|
|
|
19
|
-
`--
|
|
20
|
-
:
|
|
19
|
+
`--permanent`
|
|
20
|
+
: Permanently remove the site without leaving it in the recycle bin.
|
|
21
21
|
|
|
22
22
|
`--fromRecycleBin`
|
|
23
23
|
: Set to remove the site from the recycle bin.
|
|
@@ -49,7 +49,7 @@ m365 spo site remove --url https://contoso.sharepoint.com/sites/demosite
|
|
|
49
49
|
Remove the site without moving it to the recycle bin.
|
|
50
50
|
|
|
51
51
|
```sh
|
|
52
|
-
m365 spo site remove --url https://contoso.sharepoint.com/sites/demosite --
|
|
52
|
+
m365 spo site remove --url https://contoso.sharepoint.com/sites/demosite --permanent
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
Remove the previously deleted site from the recycle bin.
|
|
@@ -17,22 +17,31 @@ m365 spo storageentity get [options]
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-k, --key <key>`
|
|
19
19
|
: Name of the tenant property to retrieve
|
|
20
|
+
|
|
21
|
+
`-u, --appCatalogUrl [appCatalogUrl]`
|
|
22
|
+
: URL of the app catalog site. If not specified, the tenant app catalog URL will be used.
|
|
20
23
|
```
|
|
21
24
|
|
|
22
25
|
<Global />
|
|
23
26
|
|
|
24
27
|
## Remarks
|
|
25
28
|
|
|
26
|
-
Tenant properties are stored in the app catalog site associated with the site to which you are currently connected. When retrieving the specified tenant property, SharePoint will
|
|
29
|
+
Tenant properties are stored in the app catalog site associated with the site to which you are currently connected. When retrieving the specified tenant property, SharePoint will use the specified app catalog URL or automatically resolve the tenant app catalog URL.
|
|
27
30
|
|
|
28
31
|
## Examples
|
|
29
32
|
|
|
30
|
-
Show the value, description and comment of the _AnalyticsId_ tenant property
|
|
33
|
+
Show the value, description and comment of the _AnalyticsId_ tenant property using the tenant app catalog
|
|
31
34
|
|
|
32
35
|
```sh
|
|
33
36
|
m365 spo storageentity get -k AnalyticsId
|
|
34
37
|
```
|
|
35
38
|
|
|
39
|
+
Show the value, description and comment of the _AnalyticsId_ tenant property from a specific app catalog site
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
m365 spo storageentity get -k AnalyticsId -u https://contoso.sharepoint.com/sites/appcatalog
|
|
43
|
+
```
|
|
44
|
+
|
|
36
45
|
## Response
|
|
37
46
|
|
|
38
47
|
<Tabs>
|
|
@@ -15,18 +15,24 @@ m365 spo storageentity list [options]
|
|
|
15
15
|
## Options
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
|
-
`-u, --appCatalogUrl
|
|
19
|
-
: URL of the app catalog site
|
|
18
|
+
`-u, --appCatalogUrl [appCatalogUrl]`
|
|
19
|
+
: URL of the app catalog site. If not specified, the tenant app catalog URL will be used.
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
<Global />
|
|
23
23
|
|
|
24
24
|
## Remarks
|
|
25
25
|
|
|
26
|
-
Tenant properties are stored in the app catalog site. To list all tenant properties, you
|
|
26
|
+
Tenant properties are stored in the app catalog site. To list all tenant properties, you can specify the absolute URL of the app catalog site. If not specified, the command will automatically resolve the tenant app catalog URL. If you specify an incorrect URL, or the site at the given URL is not an app catalog site, no properties will be retrieved.
|
|
27
27
|
|
|
28
28
|
## Examples
|
|
29
29
|
|
|
30
|
+
List all tenant properties using the tenant app catalog
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
m365 spo storageentity list
|
|
34
|
+
```
|
|
35
|
+
|
|
30
36
|
List all tenant properties stored in the _https://contoso.sharepoint.com/sites/appcatalog_ app catalog site
|
|
31
37
|
|
|
32
38
|
```sh
|
|
@@ -13,8 +13,8 @@ m365 spo storageentity remove [options]
|
|
|
13
13
|
## Options
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
|
-
`-u, --appCatalogUrl
|
|
17
|
-
: URL of the app catalog site
|
|
16
|
+
`-u, --appCatalogUrl [appCatalogUrl]`
|
|
17
|
+
: URL of the app catalog site. If not specified, the tenant app catalog URL will be used.
|
|
18
18
|
|
|
19
19
|
`-k, --key <key>`
|
|
20
20
|
: Name of the tenant property to retrieve
|
|
@@ -27,7 +27,7 @@ m365 spo storageentity remove [options]
|
|
|
27
27
|
|
|
28
28
|
## Remarks
|
|
29
29
|
|
|
30
|
-
Tenant properties are stored in the app catalog site associated with that tenant. To remove a property, you
|
|
30
|
+
Tenant properties are stored in the app catalog site associated with that tenant. To remove a property, you can specify the absolute URL of the app catalog site. If not specified, the command will automatically resolve the tenant app catalog URL. If you specify the URL of a site different than the app catalog, you will get an access denied error.
|
|
31
31
|
|
|
32
32
|
:::info
|
|
33
33
|
|
|
@@ -37,13 +37,13 @@ To use this command you must be either **SharePoint Administrator** or **Global
|
|
|
37
37
|
|
|
38
38
|
## Examples
|
|
39
39
|
|
|
40
|
-
Remove the _AnalyticsId_ tenant property. Yields a confirmation prompt before actually removing the property
|
|
40
|
+
Remove the _AnalyticsId_ tenant property using the tenant app catalog. Yields a confirmation prompt before actually removing the property
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
|
-
m365 spo storageentity remove -k AnalyticsId
|
|
43
|
+
m365 spo storageentity remove -k AnalyticsId
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
Remove the _AnalyticsId_ tenant property. Suppresses the confirmation prompt
|
|
46
|
+
Remove the _AnalyticsId_ tenant property from a specific app catalog. Suppresses the confirmation prompt
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
49
|
m365 spo storageentity remove -k AnalyticsId --force -u https://contoso.sharepoint.com/sites/appcatalog
|
|
@@ -13,8 +13,8 @@ m365 spo storageentity set [options]
|
|
|
13
13
|
## Options
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
|
-
`-u, --appCatalogUrl
|
|
17
|
-
: URL of the app catalog site
|
|
16
|
+
`-u, --appCatalogUrl [appCatalogUrl]`
|
|
17
|
+
: URL of the app catalog site. If not specified, the tenant app catalog URL will be used.
|
|
18
18
|
|
|
19
19
|
`-k, --key <key>`
|
|
20
20
|
: Name of the tenant property to retrieve
|
|
@@ -33,7 +33,7 @@ m365 spo storageentity set [options]
|
|
|
33
33
|
|
|
34
34
|
## Remarks
|
|
35
35
|
|
|
36
|
-
Tenant properties are stored in the app catalog site associated with that tenant. To set a property, you
|
|
36
|
+
Tenant properties are stored in the app catalog site associated with that tenant. To set a property, you can specify the absolute URL of the app catalog site without a trailing slash. If not specified, the command will automatically resolve the tenant app catalog URL. If you specify the URL with trailing slash you get the error `The managed path sites/apps is not a managed path in this tenant.`
|
|
37
37
|
|
|
38
38
|
If you specify the URL of a site different than the app catalog, you will get an access denied error.
|
|
39
39
|
|
|
@@ -45,7 +45,13 @@ To use this command you must be either **SharePoint Administrator** or **Global
|
|
|
45
45
|
|
|
46
46
|
## Examples
|
|
47
47
|
|
|
48
|
-
Set _123_ as the value of the _AnalyticsId_ tenant property
|
|
48
|
+
Set _123_ as the value of the _AnalyticsId_ tenant property using the tenant app catalog
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 spo storageentity set -k AnalyticsId -v 123 -d 'Web analytics ID' -c 'Use on all sites'
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Set _123_ as the value of the _AnalyticsId_ tenant property on a specific app catalog site
|
|
49
55
|
|
|
50
56
|
```sh
|
|
51
57
|
m365 spo storageentity set -k AnalyticsId -v 123 -d 'Web analytics ID' -c 'Use on all sites' -u https://contoso.sharepoint.com/sites/appcatalog
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spo web rule get
|
|
6
|
+
|
|
7
|
+
Retrieves information about a specific alert from a SharePoint list
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spo web rule get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --webUrl <webUrl>`
|
|
19
|
+
: The URL of the SharePoint site.
|
|
20
|
+
|
|
21
|
+
`--id <id>`
|
|
22
|
+
: The ID of the rule.
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
<Global />
|
|
26
|
+
|
|
27
|
+
## Permissions
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="Delegated">
|
|
31
|
+
|
|
32
|
+
| Resource | Permissions |
|
|
33
|
+
|-----------------|----------------------|
|
|
34
|
+
| SharePoint | AllSites.FullControl |
|
|
35
|
+
| Microsoft Graph | User.ReadBasic.All |
|
|
36
|
+
|
|
37
|
+
</TabItem>
|
|
38
|
+
<TabItem value="Application">
|
|
39
|
+
|
|
40
|
+
| Resource | Permissions |
|
|
41
|
+
|-----------------|-----------------------|
|
|
42
|
+
| SharePoint | Sites.FullControl.All |
|
|
43
|
+
| Microsoft Graph | User.ReadBasic.All |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
</Tabs>
|
|
47
|
+
|
|
48
|
+
## Examples
|
|
49
|
+
|
|
50
|
+
Retrieve a rule by ID
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 spo web rule get --webUrl https://contoso.sharepoint.com/sites/Marketing --id 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
<Tabs>
|
|
59
|
+
<TabItem value="JSON">
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
{
|
|
63
|
+
"AlertFrequency": 0,
|
|
64
|
+
"AlertTemplateName": "SPAlertTemplateType.DocumentLibrary",
|
|
65
|
+
"AlertType": 0,
|
|
66
|
+
"AlwaysNotify": false,
|
|
67
|
+
"DeliveryChannels": 1,
|
|
68
|
+
"EventType": -1,
|
|
69
|
+
"Filter": "",
|
|
70
|
+
"ID": "7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e",
|
|
71
|
+
"Status": 0,
|
|
72
|
+
"Title": "Marketing documents",
|
|
73
|
+
"UserId": 8,
|
|
74
|
+
"List": {
|
|
75
|
+
"Id": "39d9e102-9e8f-4e74-8f17-84a92f972fcf",
|
|
76
|
+
"Title": "Documents",
|
|
77
|
+
"RootFolder": {
|
|
78
|
+
"ServerRelativeUrl": "/sites/Marketing/Shared Documents"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"User": {
|
|
82
|
+
"Id": 8,
|
|
83
|
+
"UserPrincipalName": "jane.doe@contoso.com"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
</TabItem>
|
|
89
|
+
<TabItem value="Text">
|
|
90
|
+
|
|
91
|
+
```text
|
|
92
|
+
AlertFrequency : 0
|
|
93
|
+
AlertTemplateName: SPAlertTemplateType.DocumentLibrary
|
|
94
|
+
AlertType : 0
|
|
95
|
+
AlwaysNotify : false
|
|
96
|
+
DeliveryChannels : 1
|
|
97
|
+
EventType : -1
|
|
98
|
+
Filter :
|
|
99
|
+
ID : 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
|
|
100
|
+
Status : 0
|
|
101
|
+
Title : Marketing documents
|
|
102
|
+
UserId : 8
|
|
103
|
+
List : {"Id":"39d9e102-9e8f-4e74-8f17-84a92f972fcf","Title":"Documents","RootFolder":{"ServerRelativeUrl":"/sites/Marketing/Shared Documents"}}
|
|
104
|
+
User : {"Id":8,"UserPrincipalName":"jane.doe@contoso.com"}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
</TabItem>
|
|
108
|
+
</Tabs>
|
|
@@ -12,12 +12,6 @@ Lists all SharePoint list alerts
|
|
|
12
12
|
m365 spo web rule list [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
## Alias
|
|
16
|
-
|
|
17
|
-
```sh
|
|
18
|
-
m365 spo web alert list
|
|
19
|
-
```
|
|
20
|
-
|
|
21
15
|
## Options
|
|
22
16
|
|
|
23
17
|
```md definition-list
|
|
@@ -47,16 +41,18 @@ m365 spo web alert list
|
|
|
47
41
|
<Tabs>
|
|
48
42
|
<TabItem value="Delegated">
|
|
49
43
|
|
|
50
|
-
| Resource
|
|
51
|
-
|
|
52
|
-
| SharePoint
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|-----------------|----------------------|
|
|
46
|
+
| SharePoint | AllSites.FullControl |
|
|
47
|
+
| Microsoft Graph | User.ReadBasic.All |
|
|
53
48
|
|
|
54
49
|
</TabItem>
|
|
55
50
|
<TabItem value="Application">
|
|
56
51
|
|
|
57
|
-
| Resource
|
|
58
|
-
|
|
59
|
-
| SharePoint
|
|
52
|
+
| Resource | Permissions |
|
|
53
|
+
|-----------------|-----------------------|
|
|
54
|
+
| SharePoint | Sites.FullControl.All |
|
|
55
|
+
| Microsoft Graph | User.ReadBasic.All |
|
|
60
56
|
|
|
61
57
|
</TabItem>
|
|
62
58
|
</Tabs>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# teams app install
|
|
4
6
|
|
|
@@ -35,6 +37,25 @@ m365 teams app install [options]
|
|
|
35
37
|
|
|
36
38
|
The `id` has to be the ID of the app from the Microsoft Teams App Catalog. Do not use the ID from the manifest of the zip app package. Use the [teams app list](./app-list.mdx) command to get this ID instead.
|
|
37
39
|
|
|
40
|
+
## Permissions
|
|
41
|
+
|
|
42
|
+
<Tabs>
|
|
43
|
+
<TabItem value="Delegated">
|
|
44
|
+
|
|
45
|
+
| Resource | Permissions |
|
|
46
|
+
|-----------------|---------------------------------------------------------------------------------------------------------------------|
|
|
47
|
+
| Microsoft Graph | AppCatalog.Submit, TeamsAppInstallation.ReadWriteForTeam, TeamsAppInstallation.ReadWriteForUser, User.ReadBasic.All |
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
<TabItem value="Application">
|
|
51
|
+
|
|
52
|
+
| Resource | Permissions |
|
|
53
|
+
|-----------------|--------------------------------------------------------------------------------------------------------------------------|
|
|
54
|
+
| Microsoft Graph | AppCatalog.Read.All, TeamsAppInstallation.ReadWriteForTeam.All, TeamsAppInstallation.ReadWriteForUser.All, User.Read.All |
|
|
55
|
+
|
|
56
|
+
</TabItem>
|
|
57
|
+
</Tabs>
|
|
58
|
+
|
|
38
59
|
## Examples
|
|
39
60
|
|
|
40
61
|
Install an app from the catalog in a Microsoft Teams team
|
|
@@ -21,6 +21,25 @@ m365 teams app list [options]
|
|
|
21
21
|
|
|
22
22
|
<Global />
|
|
23
23
|
|
|
24
|
+
## Permissions
|
|
25
|
+
|
|
26
|
+
<Tabs>
|
|
27
|
+
<TabItem value="Delegated">
|
|
28
|
+
|
|
29
|
+
| Resource | Permissions |
|
|
30
|
+
|-----------------|-------------------|
|
|
31
|
+
| Microsoft Graph | AppCatalog.Submit |
|
|
32
|
+
|
|
33
|
+
</TabItem>
|
|
34
|
+
<TabItem value="Application">
|
|
35
|
+
|
|
36
|
+
| Resource | Permissions |
|
|
37
|
+
|-----------------|---------------------|
|
|
38
|
+
| Microsoft Graph | AppCatalog.Read.All |
|
|
39
|
+
|
|
40
|
+
</TabItem>
|
|
41
|
+
</Tabs>
|
|
42
|
+
|
|
24
43
|
## Examples
|
|
25
44
|
|
|
26
45
|
List all apps from the Microsoft Teams app catalog
|
|
@@ -29,6 +29,23 @@ To use this command you must be a Global administrator.
|
|
|
29
29
|
|
|
30
30
|
:::
|
|
31
31
|
|
|
32
|
+
## Permissions
|
|
33
|
+
|
|
34
|
+
<Tabs>
|
|
35
|
+
<TabItem value="Delegated">
|
|
36
|
+
|
|
37
|
+
| Resource | Permissions |
|
|
38
|
+
|-----------------|--------------------------|
|
|
39
|
+
| Microsoft Graph | AppCatalog.ReadWrite.All |
|
|
40
|
+
|
|
41
|
+
</TabItem>
|
|
42
|
+
<TabItem value="Application">
|
|
43
|
+
|
|
44
|
+
This command does not support application permissions.
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
</Tabs>
|
|
48
|
+
|
|
32
49
|
## Examples
|
|
33
50
|
|
|
34
51
|
Add the _teams-manifest.zip_ file to the organization's app catalog
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# teams app remove
|
|
4
6
|
|
|
@@ -29,6 +31,23 @@ m365 teams app remove [options]
|
|
|
29
31
|
|
|
30
32
|
You can only remove a Teams app as a global administrator.
|
|
31
33
|
|
|
34
|
+
## Permissions
|
|
35
|
+
|
|
36
|
+
<Tabs>
|
|
37
|
+
<TabItem value="Delegated">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|--------------------------|
|
|
41
|
+
| Microsoft Graph | AppCatalog.ReadWrite.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
<TabItem value="Application">
|
|
45
|
+
|
|
46
|
+
This command does not support application permissions.
|
|
47
|
+
|
|
48
|
+
</TabItem>
|
|
49
|
+
</Tabs>
|
|
50
|
+
|
|
32
51
|
## Examples
|
|
33
52
|
|
|
34
53
|
Remove the Teams app by ID from the organization's app catalog. Will prompt for confirmation before actually removing the app.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# teams app uninstall
|
|
4
6
|
|
|
@@ -30,6 +32,25 @@ m365 teams app uninstall [options]
|
|
|
30
32
|
The `id` has to be the id the app instance installed in the Microsoft Teams team.
|
|
31
33
|
Do not use the ID from the manifest of the zip app package or the id from the Microsoft Teams App Catalog.
|
|
32
34
|
|
|
35
|
+
## Permissions
|
|
36
|
+
|
|
37
|
+
<Tabs>
|
|
38
|
+
<TabItem value="Delegated">
|
|
39
|
+
|
|
40
|
+
| Resource | Permissions |
|
|
41
|
+
|-----------------|---------------------------------------|
|
|
42
|
+
| Microsoft Graph | TeamsAppInstallation.ReadWriteForTeam |
|
|
43
|
+
|
|
44
|
+
</TabItem>
|
|
45
|
+
<TabItem value="Application">
|
|
46
|
+
|
|
47
|
+
| Resource | Permissions |
|
|
48
|
+
|-----------------|-------------------------------------------|
|
|
49
|
+
| Microsoft Graph | TeamsAppInstallation.ReadWriteForTeam.All |
|
|
50
|
+
|
|
51
|
+
</TabItem>
|
|
52
|
+
</Tabs>
|
|
53
|
+
|
|
33
54
|
## Examples
|
|
34
55
|
|
|
35
56
|
Uninstall an app from a Microsoft Teams team
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# teams app update
|
|
4
6
|
|
|
@@ -29,6 +31,23 @@ m365 teams app update [options]
|
|
|
29
31
|
|
|
30
32
|
You can only update a Teams app as a global administrator.
|
|
31
33
|
|
|
34
|
+
## Permissions
|
|
35
|
+
|
|
36
|
+
<Tabs>
|
|
37
|
+
<TabItem value="Delegated">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|--------------------------|
|
|
41
|
+
| Microsoft Graph | AppCatalog.ReadWrite.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
<TabItem value="Application">
|
|
45
|
+
|
|
46
|
+
This command does not support application permissions.
|
|
47
|
+
|
|
48
|
+
</TabItem>
|
|
49
|
+
</Tabs>
|
|
50
|
+
|
|
32
51
|
## Examples
|
|
33
52
|
|
|
34
53
|
Update the Teams app with ID _83cece1e-938d-44a1-8b86-918cf6151957_ from file _teams-manifest.zip_
|
|
@@ -44,6 +44,25 @@ When adding an attribute to a profile card, it takes up to 24 hours for the addi
|
|
|
44
44
|
|
|
45
45
|
:::
|
|
46
46
|
|
|
47
|
+
## Permissions
|
|
48
|
+
|
|
49
|
+
<Tabs>
|
|
50
|
+
<TabItem value="Delegated">
|
|
51
|
+
|
|
52
|
+
| Resource | Permissions |
|
|
53
|
+
|-----------------|------------------------------|
|
|
54
|
+
| Microsoft Graph | PeopleSettings.ReadWrite.All |
|
|
55
|
+
|
|
56
|
+
</TabItem>
|
|
57
|
+
<TabItem value="Application">
|
|
58
|
+
|
|
59
|
+
| Resource | Permissions |
|
|
60
|
+
|-----------------|------------------------------|
|
|
61
|
+
| Microsoft Graph | PeopleSettings.ReadWrite.All |
|
|
62
|
+
|
|
63
|
+
</TabItem>
|
|
64
|
+
</Tabs>
|
|
65
|
+
|
|
47
66
|
## Examples
|
|
48
67
|
|
|
49
68
|
Add the UPN as a profile property to the profile cards properties
|
|
@@ -29,6 +29,25 @@ To use this command you must be either **Tenant Administrator** or **Global Admi
|
|
|
29
29
|
|
|
30
30
|
:::
|
|
31
31
|
|
|
32
|
+
## Permissions
|
|
33
|
+
|
|
34
|
+
<Tabs>
|
|
35
|
+
<TabItem value="Delegated">
|
|
36
|
+
|
|
37
|
+
| Resource | Permissions |
|
|
38
|
+
|-----------------|-------------------------|
|
|
39
|
+
| Microsoft Graph | PeopleSettings.Read.All |
|
|
40
|
+
|
|
41
|
+
</TabItem>
|
|
42
|
+
<TabItem value="Application">
|
|
43
|
+
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|-----------------|-------------------------|
|
|
46
|
+
| Microsoft Graph | PeopleSettings.Read.All |
|
|
47
|
+
|
|
48
|
+
</TabItem>
|
|
49
|
+
</Tabs>
|
|
50
|
+
|
|
32
51
|
## Examples
|
|
33
52
|
|
|
34
53
|
Retrieve information about a specific profile card property
|
|
@@ -24,6 +24,25 @@ To use this command you must be either **Tenant Administrator** or **Global Admi
|
|
|
24
24
|
|
|
25
25
|
:::
|
|
26
26
|
|
|
27
|
+
## Permissions
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="Delegated">
|
|
31
|
+
|
|
32
|
+
| Resource | Permissions |
|
|
33
|
+
|-----------------|-------------------------|
|
|
34
|
+
| Microsoft Graph | PeopleSettings.Read.All |
|
|
35
|
+
|
|
36
|
+
</TabItem>
|
|
37
|
+
<TabItem value="Application">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|-------------------------|
|
|
41
|
+
| Microsoft Graph | PeopleSettings.Read.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
</Tabs>
|
|
45
|
+
|
|
27
46
|
## Examples
|
|
28
47
|
|
|
29
48
|
Lists all profile card properties
|
|
@@ -38,6 +38,25 @@ When removing an attribute from a profile card, it takes up to 24 hours for the
|
|
|
38
38
|
|
|
39
39
|
:::
|
|
40
40
|
|
|
41
|
+
## Permissions
|
|
42
|
+
|
|
43
|
+
<Tabs>
|
|
44
|
+
<TabItem value="Delegated">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|-----------------|------------------------------|
|
|
48
|
+
| Microsoft Graph | PeopleSettings.ReadWrite.All |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
<TabItem value="Application">
|
|
52
|
+
|
|
53
|
+
| Resource | Permissions |
|
|
54
|
+
|-----------------|------------------------------|
|
|
55
|
+
| Microsoft Graph | PeopleSettings.ReadWrite.All |
|
|
56
|
+
|
|
57
|
+
</TabItem>
|
|
58
|
+
</Tabs>
|
|
59
|
+
|
|
41
60
|
## Examples
|
|
42
61
|
|
|
43
62
|
Removes the UPN as a profile property from the profile cards
|
|
@@ -44,6 +44,25 @@ When updating an attribute to a profile card, it takes up to 24 hours for the ad
|
|
|
44
44
|
|
|
45
45
|
:::
|
|
46
46
|
|
|
47
|
+
## Permissions
|
|
48
|
+
|
|
49
|
+
<Tabs>
|
|
50
|
+
<TabItem value="Delegated">
|
|
51
|
+
|
|
52
|
+
| Resource | Permissions |
|
|
53
|
+
|-----------------|------------------------------|
|
|
54
|
+
| Microsoft Graph | PeopleSettings.ReadWrite.All |
|
|
55
|
+
|
|
56
|
+
</TabItem>
|
|
57
|
+
<TabItem value="Application">
|
|
58
|
+
|
|
59
|
+
| Resource | Permissions |
|
|
60
|
+
|-----------------|------------------------------|
|
|
61
|
+
| Microsoft Graph | PeopleSettings.ReadWrite.All |
|
|
62
|
+
|
|
63
|
+
</TabItem>
|
|
64
|
+
</Tabs>
|
|
65
|
+
|
|
47
66
|
## Examples
|
|
48
67
|
|
|
49
68
|
Updates a custom extension attribute to Cost Center
|