@pnp/cli-microsoft365 5.0.0-beta.85f5ab3 → 5.0.0-beta.9b77e24

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.
Files changed (96) hide show
  1. package/.devcontainer/Dockerfile +2 -2
  2. package/.devcontainer/devcontainer.json +9 -1
  3. package/.eslintrc.js +1 -0
  4. package/README.md +1 -1
  5. package/dist/Utils.js +7 -0
  6. package/dist/appInsights.js +5 -2
  7. package/dist/cli/Cli.js +24 -4
  8. package/dist/m365/aad/commands/app/app-add.js +58 -5
  9. package/dist/m365/aad/commands/app/app-get.js +97 -0
  10. package/dist/m365/aad/commands/group/group-list.js +41 -0
  11. package/dist/m365/aad/commands/o365group/{GroupUser.js → GroupExtended.js} +1 -1
  12. package/dist/m365/aad/commands/o365group/o365group-add.js +56 -50
  13. package/dist/m365/aad/commands/o365group/o365group-user-set.js +3 -3
  14. package/dist/m365/aad/commands/oauth2grant/oauth2grant-list.js +4 -4
  15. package/dist/m365/aad/commands/oauth2grant/oauth2grant-remove.js +36 -12
  16. package/dist/m365/aad/commands/sp/sp-add.js +107 -0
  17. package/dist/m365/aad/commands/user/user-get.js +33 -6
  18. package/dist/m365/aad/commands/user/user-hibp.js +67 -0
  19. package/dist/m365/aad/commands/user/user-password-validate.js +42 -0
  20. package/dist/m365/aad/commands.js +5 -0
  21. package/dist/m365/app/commands/permission/permission-list.js +266 -0
  22. package/dist/m365/app/commands.js +7 -0
  23. package/dist/m365/base/AppCommand.js +76 -0
  24. package/dist/m365/{aad/commands/o365group/Group.js → base/M365RcJson.js} +1 -1
  25. package/dist/m365/cli/commands/cli-doctor.js +2 -0
  26. package/dist/m365/cli/commands/config/config-set.js +4 -1
  27. package/dist/m365/file/commands/file-add.js +32 -13
  28. package/dist/m365/file/commands/file-list.js +181 -0
  29. package/dist/m365/file/commands.js +2 -1
  30. package/dist/m365/pa/cds-project-mutator.js +1 -1
  31. package/dist/m365/pa/commands/app/app-list.js +28 -1
  32. package/dist/m365/planner/commands/task/task-add.js +288 -0
  33. package/dist/m365/planner/commands.js +1 -0
  34. package/dist/m365/search/commands/externalconnection/externalconnection-add.js +99 -0
  35. package/dist/m365/search/commands.js +7 -0
  36. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006005_CFG_PS_metadata.js +63 -0
  37. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +60 -0
  38. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.13.1.js +53 -0
  39. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0-beta.4.js +57 -0
  40. package/dist/m365/spfx/commands/project/project-upgrade.js +17 -13
  41. package/dist/m365/spfx/commands/spfx-doctor.js +176 -62
  42. package/dist/m365/spo/commands/contenttype/contenttype-list.js +52 -0
  43. package/dist/m365/spo/commands/group/group-user-add.js +64 -13
  44. package/dist/m365/spo/commands/list/list-get.js +6 -2
  45. package/dist/m365/spo/commands/page/Page.js +3 -1
  46. package/dist/m365/spo/commands/page/page-add.js +7 -10
  47. package/dist/m365/spo/commands/page/page-set.js +7 -10
  48. package/dist/m365/spo/commands/site/site-ensure.js +1 -1
  49. package/dist/m365/spo/commands/site/site-remove.js +98 -30
  50. package/dist/m365/spo/commands/web/web-installedlanguage-list.js +48 -0
  51. package/dist/m365/spo/commands.js +3 -1
  52. package/dist/m365/teams/commands/app/app-list.js +9 -6
  53. package/dist/m365/teams/commands/chat/chat-list.js +43 -0
  54. package/dist/m365/teams/commands/chat/chat-member-list.js +42 -0
  55. package/dist/m365/teams/commands/message/message-get.js +1 -1
  56. package/dist/m365/teams/commands/report/report-directroutingcalls.js +1 -1
  57. package/dist/m365/teams/commands/report/report-pstncalls.js +1 -1
  58. package/dist/m365/teams/commands/tab/tab-get.js +9 -6
  59. package/dist/m365/teams/commands.js +2 -0
  60. package/dist/request.js +9 -4
  61. package/dist/settingsNames.js +6 -1
  62. package/docs/docs/cmd/_global.md +2 -2
  63. package/docs/docs/cmd/aad/app/app-add.md +11 -0
  64. package/docs/docs/cmd/aad/app/app-get.md +48 -0
  65. package/docs/docs/cmd/aad/group/group-list.md +21 -0
  66. package/docs/docs/cmd/aad/o365group/o365group-add.md +1 -0
  67. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-list.md +2 -2
  68. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.md +9 -0
  69. package/docs/docs/cmd/aad/sp/sp-add.md +53 -0
  70. package/docs/docs/cmd/aad/user/user-get.md +13 -4
  71. package/docs/docs/cmd/aad/user/user-hibp.md +46 -0
  72. package/docs/docs/cmd/aad/user/user-password-validate.md +29 -0
  73. package/docs/docs/cmd/app/permission/permission-list.md +36 -0
  74. package/docs/docs/cmd/file/file-add.md +11 -0
  75. package/docs/docs/cmd/file/file-list.md +46 -0
  76. package/docs/docs/cmd/pa/app/app-list.md +17 -1
  77. package/docs/docs/cmd/planner/task/task-add.md +78 -0
  78. package/docs/docs/cmd/search/externalconnection/externalconnection-add.md +43 -0
  79. package/docs/docs/cmd/spfx/project/project-externalize.md +1 -1
  80. package/docs/docs/cmd/spfx/project/project-rename.md +1 -1
  81. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  82. package/docs/docs/cmd/spfx/spfx-doctor.md +1 -1
  83. package/docs/docs/cmd/spo/contenttype/contenttype-list.md +33 -0
  84. package/docs/docs/cmd/spo/group/group-user-add.md +24 -6
  85. package/docs/docs/cmd/spo/list/list-get.md +9 -0
  86. package/docs/docs/cmd/spo/page/page-add.md +2 -2
  87. package/docs/docs/cmd/spo/page/page-set.md +3 -3
  88. package/docs/docs/cmd/spo/site/site-remove.md +3 -1
  89. package/docs/docs/cmd/spo/web/web-installedlanguage-list.md +24 -0
  90. package/docs/docs/cmd/teams/chat/chat-list.md +30 -0
  91. package/docs/docs/cmd/teams/chat/chat-member-list.md +24 -0
  92. package/docs/docs/cmd/teams/message/message-get.md +0 -3
  93. package/docs/docs/cmd/teams/report/report-directroutingcalls.md +0 -3
  94. package/docs/docs/cmd/teams/report/report-pstncalls.md +4 -3
  95. package/npm-shrinkwrap.json +1137 -1756
  96. package/package.json +37 -29
@@ -0,0 +1,78 @@
1
+ # planner task add
2
+
3
+ Adds a new Microsoft Planner task
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner task add [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-t, --title <title>`
14
+ : Title of the task to add.
15
+
16
+ `--planId [planId]`
17
+ : Plan ID to which the task belongs. Specify either `planId` or `planName` but not both.
18
+
19
+ `--planName [planName]`
20
+ : Plan Name to which the task belongs. Specify either `planId` or `planName` but not both.
21
+
22
+ `--ownerGroupId [ownerGroupId]`
23
+ : ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planName`.
24
+
25
+ `--ownerGroupName [ownerGroupName]`
26
+ : Name of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planName`.
27
+
28
+ `--bucketId [bucketId]`
29
+ : Bucket ID to which the task belongs. The bucket needs to exist in the selected plan. Specify either `bucketId` or `bucketName` but not both.
30
+
31
+ `--bucketName [bucketName]`
32
+ : Bucket Name to which the task belongs. The bucket needs to exist in the selected plan. Specify either `bucketId` or `bucketName` but not both.
33
+
34
+ `--startDateTime [startDateTime]`
35
+ : The date and time when the task started. This should be defined as a valid ISO 8601 string. `2021-12-16T18:28:48.6964197Z`
36
+
37
+ `--dueDateTime [dueDateTime]`
38
+ : The date and time when the task is due. This should be defined as a valid ISO 8601 string. `2021-12-16T18:28:48.6964197Z`
39
+
40
+ `--percentComplete [percentComplete]`
41
+ : Percentage of task completion. Number between 0 and 100.
42
+ - When set to 0, the task is considered _Not started_.
43
+ - When set between 1 and 99, the task is considered _In progress_.
44
+ - When set to 100, the task is considered _Completed_.
45
+
46
+ `--assignedToUserIds [assignedToUserIds]`
47
+ : The comma-separated IDs of the assignees the task is assigned to. Specify either `assignedToUserIds` or `assignedToUserNames` but not both.
48
+
49
+ `--assignedToUserNames [assignedToUserNames]`
50
+ : The comma-separated UPNs of the assignees the task is assigned to. Specify either `assignedToUserIds` or `assignedToUserNames` but not both.
51
+
52
+ `--description [description]`
53
+ : Description of the task
54
+
55
+ `--orderHint [orderHint]`
56
+ : Hint used to order items of this type in a list view. The format is defined as outlined [here](https://docs.microsoft.com/en-us/graph/api/resources/planner-order-hint-format?view=graph-rest-1.0).
57
+
58
+ --8<-- "docs/cmd/_global.md"
59
+
60
+ ## Examples
61
+
62
+ Adds a Microsoft Planner task with the name _My Planner Task_ for plan with the ID _8QZEH7b3wkSbGQobscsM5gADCBa_ and for the bucket with the ID _IK8tuFTwQEa5vTonM7ZMRZgAKdna_
63
+
64
+ ```sh
65
+ m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna"
66
+ ```
67
+
68
+ Adds a Completed Microsoft Planner task with the name _My Planner Task_ for plan with the name _My Planner Plan_ owned by group _My Planner Group_ and for the bucket with the ID _IK8tuFTwQEa5vTonM7ZMRZgAKdna_
69
+
70
+ ```sh
71
+ m365 planner task add --title "My Planner task" --planName "My Planner Plan" --ownerGroupName "My Planner Group" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --percentComplete 100
72
+ ```
73
+
74
+ Adds a Microsoft Planner task with the name _My Planner Task_ for plan with the ID _8QZEH7b3wkbGQobscsM5gADCBa_ and for the bucket with the ID _IK8tuFTwQEa5vTonM7ZMRZgAKdna_. The new task will be assigned to the users _Allan.Carroll@contoso.com_ and _Ida.Stevens@contoso.com_ and receive a due date for _2021-12-16_
75
+
76
+ ```sh
77
+ m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --assignedToUserNames "Allan.Carroll@contoso.com,Ida.Stevens@contoso.com" --dueDateTime "2021-12-16"
78
+ ```
@@ -0,0 +1,43 @@
1
+ # search externalconnection add
2
+
3
+ Add a new external connection to be defined for Microsoft Search
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 search externalconnection add [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --id <id>`
14
+ : Developer-provided unique ID of the connection within the Azure Active Directory tenant
15
+
16
+ `-n, --name <name>`
17
+ : The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters
18
+
19
+ `-d, --description <description>`
20
+ : Description of the connection displayed in the Microsoft 365 admin center
21
+
22
+ `--authorizedAppIds [authorizedAppIds]`
23
+ : Comma-separated collection of application IDs for registered Azure Active Directory apps that are allowed to manage the external connection and to index content in the external connection.
24
+
25
+ --8<-- "docs/cmd/_global.md"
26
+
27
+ ## Remarks
28
+
29
+ The `id` must be at least 3 and no more than 32 characters long. It can contain only alphanumeric characters, can't begin with _Microsoft_ and can be any of the following values: *None, Directory, Exchange, ExchangeArchive, LinkedIn, Mailbox, OneDriveBusiness, SharePoint, Teams, Yammer, Connectors, TaskFabric, PowerBI, Assistant, TopicEngine, MSFT_All_Connectors*.
30
+
31
+ ## Examples
32
+
33
+ Adds a new external connection with name and description of test
34
+
35
+ ```sh
36
+ m365 search externalconnection add --id MyApp --name "My application" --description "Description of your application"
37
+ ```
38
+
39
+ Adds a new external connection with a limited number of authorized apps
40
+
41
+ ```sh
42
+ m365 search externalconnection add --id MyApp --name "My application" --description "Description of your application" --authorizedAppIds "00000000-0000-0000-0000-000000000000,00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002"
43
+ ```
@@ -20,7 +20,7 @@ m365 spfx project externalize [options]
20
20
  : JMESPath query string. See [http://jmespath.org/](http://jmespath.org/) for more information and examples
21
21
 
22
22
  `-o, --output [output]`
23
- : Output type. `json,text,md`. Default `text`
23
+ : Output type. `json,text,csv,md`. Default `json`
24
24
 
25
25
  `--verbose`
26
26
  : Runs command with verbose logging
@@ -23,7 +23,7 @@ m365 spfx project rename [options]
23
23
  : JMESPath query string. See [http://jmespath.org/](http://jmespath.org/) for more information and examples
24
24
 
25
25
  `-o, --output [output]`
26
- : Output type. `json,text,md`. Default `text`
26
+ : Output type. `json,text,csv,md`. Default `json`
27
27
 
28
28
  `--verbose`
29
29
  : Runs command with verbose logging
@@ -32,7 +32,7 @@ m365 spfx project upgrade [options]
32
32
 
33
33
  ## Remarks
34
34
 
35
- 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.13.0).
35
+ 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.13.1).
36
36
 
37
37
  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.
38
38
 
@@ -20,7 +20,7 @@ m365 spfx doctor [options]
20
20
  : JMESPath query string. See [http://jmespath.org/](http://jmespath.org/) for more information and examples
21
21
 
22
22
  `-o, --output [output]`
23
- : Output type. `json,text,md`. Default `text`
23
+ : Output type. `json,text,csv,md`. Default `json`
24
24
 
25
25
  `--verbose`
26
26
  : Runs command with verbose logging
@@ -0,0 +1,33 @@
1
+ # spo contenttype list
2
+
3
+ Lists content types from specified site
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo contenttype list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : Absolute URL of the site for which to list content types
15
+
16
+ `-c, --category [category]`
17
+ : Category name of content types. When defined will return only content types from specified category
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Examples
22
+
23
+ Retrieve site content types
24
+
25
+ ```PowerShell
26
+ m365 spo contenttype list --webUrl "https://contoso.sharepoint.com/sites/contoso-sales"
27
+ ```
28
+
29
+ Retrieve site content types from the 'List Content Types' category
30
+
31
+ ```PowerShell
32
+ m365 spo contenttype list --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --category "List Content Types"
33
+ ```
@@ -13,24 +13,42 @@ m365 spo group user add [options]
13
13
  `-u, --webUrl <webUrl>`
14
14
  : URL of the site where the SharePoint group is available
15
15
 
16
- `--groupId <groupId>`
17
- : Id of the SharePoint Group to which user needs to be added
16
+ `--groupId [groupId]`
17
+ : Id of the SharePoint Group to which user needs to be added, specify either `groupId` or `groupName`
18
18
 
19
- `--userName <userName>`
20
- : User's UPN (user principal name, eg. megan.bowen@contoso.com). If multiple users needs to be added, they have to be comma separated (ex. megan.bowen@contoso.com,alex.wilber@contoso.com)
19
+ `--groupName [groupName]`
20
+ : Name of the SharePoint Group to which user needs to be added, specify either `groupId` or `groupName`
21
+
22
+ `--userName [userName]`
23
+ : User's UPN (user principal name, eg. megan.bowen@contoso.com). If multiple users needs to be added, they have to be comma separated (ex. megan.bowen@contoso.com,alex.wilber@contoso.com), specify either `userName` or `email`
24
+
25
+ `--email [email]`
26
+ : User's email (eg. megan.bowen@contoso.com). If multiple users needs to be added, they have to be comma separated (ex. megan.bowen@contoso.com,alex.wilber@contoso.com), specify either `userName` or `email`
21
27
 
22
28
  --8<-- "docs/cmd/_global.md"
23
29
 
24
30
  ## Examples
25
31
 
26
- Add a user to the SharePoint group with id _5_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
32
+ Add a user with name _Alex.Wilber@contoso.com_ to the SharePoint group with id _5_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
27
33
 
28
34
  ```sh
29
35
  m365 spo group user add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userName "Alex.Wilber@contoso.com"
30
36
  ```
31
37
 
32
- Add multiple users to the SharePoint group with id _5_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
38
+ Add multiple users by name to the SharePoint group with id _5_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
33
39
 
34
40
  ```sh
35
41
  m365 spo group user add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userName "Alex.Wilber@contoso.com, Adele.Vance@contoso.com"
36
42
  ```
43
+
44
+ Add a user with email _Alex.Wilber@contoso.com_ to the SharePoint group with name _Contoso Site Owners_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
45
+
46
+ ```sh
47
+ m365 spo group user add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Owners" --email "Alex.Wilber@contoso.com"
48
+ ```
49
+
50
+ Add multiple users by email to the SharePoint group with name _Contoso Site Owners_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
51
+
52
+ ```sh
53
+ m365 spo group user add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Owners" --email "Alex.Wilber@contoso.com, Adele.Vance@contoso.com"
54
+ ```
@@ -22,6 +22,9 @@ m365 spo list get [options]
22
22
  `-p, --properties [properties]`
23
23
  : Comma-separated list of properties to retrieve from the list. Will retrieve all properties possible from default response, if not specified.
24
24
 
25
+ `--withPermissions`
26
+ : Set if you want to return associated roles and permissions of the list.
27
+
25
28
  --8<-- "docs/cmd/_global.md"
26
29
 
27
30
  ## Examples
@@ -44,6 +47,12 @@ Get information about a list returning the specified list properties
44
47
  m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/sites/project-x --properties "Title,Id,HasUniqueRoleAssignments,AllowContentTypes"
45
48
  ```
46
49
 
50
+ Get information about a list along with the roles and permissions
51
+
52
+ ```sh
53
+ m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/sites/project-x --withPermissions
54
+ ```
55
+
47
56
  ## More information
48
57
 
49
58
  - List REST API resources: [https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListEndpoint](https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListEndpoint)
@@ -20,10 +20,10 @@ m365 spo page add [options]
20
20
  : Title of the page to create. If not specified, will use the page name as its title
21
21
 
22
22
  `-l, --layoutType [layoutType]`
23
- : Layout of the page. Allowed values `Article,Home`. Default `Article`
23
+ : Layout of the page. Allowed values `Article`, `Home`, `SingleWebPartAppPage`, `RepostPage`,`HeaderlessSearchResults`, `Spaces`, `Topic`. Default `Article`
24
24
 
25
25
  `-p, --promoteAs [promoteAs]`
26
- : Create the page for a specific purpose. Allowed values `HomePage,NewsPage`
26
+ : Create the page for a specific purpose. Allowed values `HomePage`, `NewsPage`
27
27
 
28
28
  `--commentsEnabled`
29
29
  : Set to enable comments on the page
@@ -17,13 +17,13 @@ m365 spo page set [options]
17
17
  : URL of the site where the page to update is located
18
18
 
19
19
  `-l, --layoutType [layoutType]`
20
- : Layout of the page. Allowed values `Article,Home`
20
+ : Layout of the page. Allowed values `Article`, `Home`, `SingleWebPartAppPage`, `RepostPage`,`HeaderlessSearchResults`, `Spaces`, `Topic`
21
21
 
22
22
  `-p, --promoteAs [promoteAs]`
23
- : Update the page purpose. Allowed values `HomePage,NewsPage`
23
+ : Update the page purpose. Allowed values `HomePage`, `NewsPage`
24
24
 
25
25
  `--commentsEnabled [commentsEnabled]`
26
- : Set to `true`, to enable comments on the page. Allowed values `true,false`
26
+ : Set to `true`, to enable comments on the page. Allowed values `true`, `false`
27
27
 
28
28
  `--publish`
29
29
  : Set to publish the page
@@ -34,7 +34,9 @@ m365 spo site remove [options]
34
34
 
35
35
  Deleting a site collection is by default asynchronous and depending on the current state of Microsoft 365, might take up to few minutes. If you're building a script with steps that require the site to be fully deleted, you should use the `--wait` flag. When using this flag, the `spo site remove` command will keep running until it received confirmation from Microsoft 365 that the site has been fully deleted.
36
36
 
37
- If the site which you have selected to remove is groupified (Modern Team Site), flags `--fromRecycleBin`, `--skipRecycleBin` and `--wait` will not be applicable
37
+ If the site which you have selected to remove is groupified (Modern Team Site) and group exists, flags `--skipRecycleBin` and `--wait` will not be applicable. If the linked group still exists in the deleted groups, the site won't be removed. If the linked group is permanently deleted, the site will be removed like any classic site (except that flag `--wait` only will still not be applicable).
38
+
39
+ If the argument `--fromRecycleBin` is passed, the selected site will be permanently removed even if it's a groupified one.
38
40
 
39
41
  ## Examples
40
42
 
@@ -0,0 +1,24 @@
1
+ # spo web installedlanguage list
2
+
3
+ Lists all installed languages on site
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo web installedlanguage list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site for which to retrieve the list of installed languages
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ Return all installed languages from site _https://contoso.sharepoint.com/_
21
+
22
+ ```sh
23
+ m365 spo web installedlanguage list --webUrl https://contoso.sharepoint.com
24
+ ```
@@ -0,0 +1,30 @@
1
+ # teams chat list
2
+
3
+ Lists all Microsoft Teams chat conversations for the current user.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams chat list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-t, --type [chatType]`
14
+ : The chat type to optionally filter chat conversations by type. The value can be `oneOnOne`, `group` or `meeting`.
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ List all the Microsoft Teams chat conversations of the current user.
21
+
22
+ ```sh
23
+ m365 teams chat list
24
+ ```
25
+
26
+ List only the one on one Microsoft Teams chat conversations.
27
+
28
+ ```sh
29
+ m365 teams chat list --type oneOnOne
30
+ ```
@@ -0,0 +1,24 @@
1
+ # teams chat member list
2
+
3
+ Lists all members from a Microsoft Teams chat conversation.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams chat member list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --chatId <chatId>`
14
+ : The ID of the chat conversation
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ List the members from a Microsoft Teams chat conversation
21
+
22
+ ```sh
23
+ m365 teams chat member list --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces
24
+ ```
@@ -23,9 +23,6 @@ m365 teams message get [options]
23
23
 
24
24
  ## Remarks
25
25
 
26
- !!! attention
27
- This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
28
-
29
26
  You can only retrieve a message from a Microsoft Teams team if you are a member of that team.
30
27
 
31
28
  ## Examples
@@ -24,9 +24,6 @@ This command only works with app-only permissions. You will need to create your
24
24
 
25
25
  The difference between `fromDateTime` and `toDateTime` cannot exceed a period of 90 days
26
26
 
27
- !!! attention
28
- This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
29
-
30
27
  ## Examples
31
28
 
32
29
  Get details about direct routing calls made between 2020-10-31 and today
@@ -24,9 +24,6 @@ This command only works with app-only permissions. You will need to create your
24
24
 
25
25
  The difference between `fromDateTime` and `toDateTime` cannot exceed a period of 90 days
26
26
 
27
- !!! attention
28
- This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
29
-
30
27
  ## Examples
31
28
 
32
29
  Get details about PSTN calls made between 2020-10-31 and today
@@ -46,3 +43,7 @@ Get details about PSTN calls made between 2020-10-31 and 2020-12-31 and exports
46
43
  ```sh
47
44
  m365 teams report pstncalls --fromDateTime 2020-10-31 --toDateTime 2020-12-31 --output json > "pstncalls.json"
48
45
  ```
46
+
47
+ ## More information
48
+
49
+ - List PSTN calls: [https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0)