@pnp/cli-microsoft365 5.9.0-beta.5aade58 → 5.9.0-beta.78b8547

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 (47) hide show
  1. package/.eslintrc.js +2 -0
  2. package/dist/appInsights.js +2 -0
  3. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +75 -0
  4. package/dist/m365/pp/commands/tenant/tenant-settings-list.js +45 -0
  5. package/dist/m365/pp/commands.js +3 -1
  6. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +0 -2
  7. package/dist/m365/spfx/commands/spfx-doctor.js +52 -7
  8. package/dist/m365/spo/commands/file/file-roleassignment-add.js +231 -0
  9. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +180 -0
  10. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +125 -0
  11. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +94 -0
  12. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +89 -0
  13. package/dist/m365/spo/commands.js +5 -0
  14. package/dist/utils/cache.js +81 -0
  15. package/dist/utils/pid.js +57 -0
  16. package/dist/utils/powerPlatform.js +42 -0
  17. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.md +1 -1
  18. package/docs/docs/cmd/aad/user/user-signin-list.md +1 -1
  19. package/docs/docs/cmd/onedrive/report/report-activityusercounts.md +1 -1
  20. package/docs/docs/cmd/planner/task/task-checklistitem-list.md +1 -1
  21. package/docs/docs/cmd/planner/task/task-reference-add.md +1 -1
  22. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +33 -0
  23. package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +26 -0
  24. package/docs/docs/cmd/search/externalconnection/externalconnection-remove.md +1 -1
  25. package/docs/docs/cmd/spfx/spfx-doctor.md +10 -1
  26. package/docs/docs/cmd/spo/file/file-roleassignment-add.md +57 -0
  27. package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +54 -0
  28. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.md +39 -0
  29. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +39 -0
  30. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +36 -0
  31. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +1 -1
  32. package/docs/docs/cmd/spo/hubsite/hubsite-get.md +3 -3
  33. package/docs/docs/cmd/spo/list/list-roleassignment-add.md +1 -1
  34. package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +1 -1
  35. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.md +1 -1
  36. package/docs/docs/cmd/spo/roledefinition/roledefinition-add.md +1 -1
  37. package/docs/docs/cmd/spo/web/web-roleinheritance-reset.md +1 -1
  38. package/docs/docs/cmd/teams/cache/cache-remove.md +1 -1
  39. package/docs/docs/cmd/teams/channel/channel-add.md +1 -1
  40. package/docs/docs/cmd/teams/channel/channel-member-set.md +1 -1
  41. package/docs/docs/cmd/teams/funsettings/funsettings-set.md +6 -6
  42. package/docs/docs/cmd/tenant/security/security-alerts-list.md +1 -1
  43. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +1 -1
  44. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +1 -1
  45. package/npm-shrinkwrap.json +342 -357
  46. package/package.json +21 -18
  47. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +0 -60
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.powerPlatform = void 0;
13
+ const request_1 = require("../request");
14
+ const powerPlatformResource = 'https://api.bap.microsoft.com';
15
+ exports.powerPlatform = {
16
+ getDynamicsInstanceApiUrl(environment, asAdmin) {
17
+ return __awaiter(this, void 0, void 0, function* () {
18
+ let url = '';
19
+ if (asAdmin) {
20
+ url = `${powerPlatformResource}/providers/Microsoft.BusinessAppPlatform/scopes/admin/environments/${encodeURIComponent(environment)}`;
21
+ }
22
+ else {
23
+ url = `${powerPlatformResource}/providers/Microsoft.BusinessAppPlatform/environments/${encodeURIComponent(environment)}`;
24
+ }
25
+ const requestOptions = {
26
+ url: `${url}?api-version=2020-10-01&$select=properties.linkedEnvironmentMetadata.instanceApiUrl`,
27
+ headers: {
28
+ accept: 'application/json;odata.metadata=none'
29
+ },
30
+ responseType: 'json'
31
+ };
32
+ try {
33
+ const response = yield request_1.default.get(requestOptions);
34
+ return Promise.resolve(response.properties.linkedEnvironmentMetadata.instanceApiUrl);
35
+ }
36
+ catch (ex) {
37
+ throw Error(`The environment '${environment}' could not be retrieved. See the inner exception for more details: ${ex.message}`);
38
+ }
39
+ });
40
+ }
41
+ };
42
+ //# sourceMappingURL=powerPlatform.js.map
@@ -1,4 +1,4 @@
1
- # aad o365group restore
1
+ # aad o365group recyclebinitem restore
2
2
 
3
3
  Restores a deleted Microsoft 365 Group
4
4
 
@@ -78,4 +78,4 @@ Get all user's sign-ins filter by given user's Id and application identifier in
78
78
 
79
79
  ```sh
80
80
  m365 aad user signin list --userId '11111111-1111-1111-1111-111111111111' --appId '00000000-0000-0000-0000-000000000000'
81
- ```
81
+ ```
@@ -1,4 +1,4 @@
1
- # onerive report activityusercounts
1
+ # onedrive report activityusercounts
2
2
 
3
3
  Gets the trend in the number of active OneDrive users
4
4
 
@@ -21,4 +21,4 @@ Lists the checklist items of a Planner task.
21
21
 
22
22
  ```sh
23
23
  m365 planner task checklistitem list --taskId 'vzCcZoOv-U27PwydxHB8opcADJo-'
24
- ```
24
+ ```
@@ -42,4 +42,4 @@ Add a new reference with the url _https://www.microsoft.com_ and with the type E
42
42
 
43
43
  ```sh
44
44
  m365 planner task reference add --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --url "https://www.microsoft.com" --type "Excel"
45
- ```
45
+ ```
@@ -0,0 +1,33 @@
1
+ # pp dataverse table list
2
+
3
+ Lists dataverse tables in a given environment
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ pp dataverse table list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environment <environment>`
14
+ The name of the environment to list all tables for
15
+
16
+ `-a, --asAdmin`
17
+ Set, to retrieve the dataverse tables as admin for environments you are not a member of.
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Examples
22
+
23
+ List all tables for the given environment
24
+
25
+ ```sh
26
+ m365 pp dataverse table list -e "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
27
+ ```
28
+
29
+ List all tables for the given environment as Admin
30
+
31
+ ```sh
32
+ m365 pp dataverse table list -e "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
33
+ ```
@@ -0,0 +1,26 @@
1
+ # pp tenant settings list
2
+
3
+ Lists the global Power Platform tenant settings
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 pp tenant settings list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ --8<-- "docs/cmd/_global.md"
14
+
15
+ ## Remarks
16
+
17
+ !!! attention
18
+ This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
19
+
20
+ ## Examples
21
+
22
+ Lists the global Power Platform settings of the tenant
23
+
24
+ ```sh
25
+ m365 pp tenant settings list
26
+ ```
@@ -37,4 +37,4 @@ Removes external connection with name _Test_. Will NOT prompt for confirmation b
37
37
 
38
38
  ```sh
39
39
  m365 search externalconnection remove --name "Test" --confirm
40
- ```
40
+ ```
@@ -13,6 +13,9 @@ m365 spfx doctor [options]
13
13
  `-e, --env [env]`
14
14
  : Version of SharePoint for which to check compatibility: `sp2016|sp2019|spo`
15
15
 
16
+ `-v, --spfxVersion [spfxVersion]`
17
+ : Version of the SharePoint Framework Yeoman generator to check compatibility for without `v`, eg. `1.11.0`
18
+
16
19
  `-h, --help`
17
20
  : output usage information
18
21
 
@@ -48,7 +51,7 @@ Next to verifying the readiness of your environment to use a particular version
48
51
 
49
52
  ## Examples
50
53
 
51
- Verify if your environment meets the requirements to work with the SharePoint Framework
54
+ Verify if your environment meets the requirements to work with SharePoint Framework based on the globally installed version of the SharePoint Framework Yeoman generator or the current project
52
55
 
53
56
  ```sh
54
57
  m365 spfx doctor --output text
@@ -59,3 +62,9 @@ Verify if your environment meets the requirements to work with the SharePoint Fr
59
62
  ```sh
60
63
  m365 spfx doctor --env sp2019 --output text
61
64
  ```
65
+
66
+ Verify if your environment meets the requirements to work with SharePoint Framework v1.11.0
67
+
68
+ ```sh
69
+ m365 spfx doctor --spfxVersion 1.11.0 --output text
70
+ ```
@@ -0,0 +1,57 @@
1
+ # spo file roleassignment add
2
+
3
+ Adds a role assignment to the specified file.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo file roleassignment add [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site where the file is located
15
+
16
+ `--fileUrl [fileUrl]`
17
+ : The server-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
18
+
19
+ `i, --fileId [fileId]`
20
+ : The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
21
+
22
+ `--principalId [principalId]`
23
+ : The SharePoint Id of the principal. It may be either a user id or group id to add a role assignment for. Specify either upn, groupName or principalId.
24
+
25
+ `--upn [upn]`
26
+ : upn/email of user to assign role to. Specify either upn, groupName or principalId.
27
+
28
+ `--groupName [groupName]`
29
+ : The group name of Azure AD or SharePoint group. Specify either upn, groupName or principalId.
30
+
31
+ `--roleDefinitionId [roleDefinitionId]`
32
+ : ID of role definition. Specify either roleDefinitionId or roleDefinitionName but not both
33
+
34
+ `--roleDefinitionName [roleDefinitionName]`
35
+ : Enter the name of a role definition, like 'Contribute', 'Read', etc. Specify either roleDefinitionId or roleDefinitionName but not both
36
+
37
+ --8<-- "docs/cmd/_global.md"
38
+
39
+ ## Examples
40
+
41
+ Adds a role assignment to a file with a specified id. It will use a principal id and a specific role definition id.
42
+
43
+ ```sh
44
+ m365 spo file roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --fileId "b2307a39-e878-458b-bc90-03bc578531d6" --principalId 11 --roleDefinitionId 1073741829
45
+ ```
46
+
47
+ Adds a role assignment to a file with a specified site-relative URL for a specific upn and a role definition name.
48
+
49
+ ```sh
50
+ m365 spo file roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --fileUrl "Shared Documents/Test1.docx" --upn "testuser@tenant.onmicrosoft.com" --roleDefinitionName "Full Control"
51
+ ```
52
+
53
+ Adds a role assignment to a file with a specified server-relative URL the for a specific group and a role definition name.
54
+
55
+ ```sh
56
+ m365 spo file roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --fileUrl "/sites/project-x/documents/Test1.docx" --upn "testuser@tenant.onmicrosoft.com" --roleDefinitionName "Read"
57
+ ```
@@ -0,0 +1,54 @@
1
+ # spo file roleassignment remove
2
+
3
+ Removes a role assignment from a file.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo file roleassignment remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site where the file is located.
15
+
16
+ `--fileUrl [fileUrl]`
17
+ : The server-relative URL of the file. Specify either `fileUrl` or `fileId` but not both.
18
+
19
+ `-i, --fileId [fileId]`
20
+ : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
21
+
22
+ `--principalId [principalId]`
23
+ : The SharePoint Id of the principal. It may be either a user id or group id. Specify either `upn`, `groupName`, or `principalId`.
24
+
25
+ `--upn [upn]`
26
+ : Upn/email of the user. Specify either `upn`, `groupName`, or `principalId`.
27
+
28
+ `--groupName [groupName]`
29
+ : The group name of an Azure AD or SharePoint group. Specify either `upn`, `groupName`, or `principalId`.
30
+
31
+ `--confirm [confirm]`
32
+ : Don't prompt for confirmation.
33
+
34
+ --8<-- "docs/cmd/_global.md"
35
+
36
+ ## Examples
37
+
38
+ Remove a role assignment by principal id from a file by id
39
+
40
+ ```sh
41
+ m365 spo file roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --fileId "b2307a39-e878-458b-bc90-03bc578531d6" --principalId 2
42
+ ```
43
+
44
+ Remove a role assignment by upn from a file by url
45
+
46
+ ```sh
47
+ m365 spo file roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --fileUrl "/sites/contoso-sales/documents/Test1.docx" --upn "user1@contoso.onmicrosoft.com"
48
+ ```
49
+
50
+ Remove a role assignment by group name from a file by id
51
+
52
+ ```sh
53
+ m365 spo file roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --fileId "b2307a39-e878-458b-bc90-03bc578531d6" --groupName "saleGroup"
54
+ ```
@@ -0,0 +1,39 @@
1
+ # spo file roleinheritance reset
2
+
3
+ Restores the role inheritance of a file
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo file roleinheritance reset [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site where the file is located
15
+
16
+ `--fileUrl [fileUrl]`
17
+ : The server-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
18
+
19
+ `i, --fileId [fileId]`
20
+ : The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both
21
+
22
+ `--confirm`
23
+ : Don't prompt for confirmation
24
+
25
+ --8<-- "docs/cmd/_global.md"
26
+
27
+ ## Examples
28
+
29
+ Reset inheritance of file with id (UniqueId) _b2307a39-e878-458b-bc90-03bc578531d6_ located in site _https://contoso.sharepoint.com/sites/project-x_
30
+
31
+ ```sh
32
+ m365 spo file roleinheritance reset --webUrl "https://contoso.sharepoint.com/sites/project-x" --fileId "b2307a39-e878-458b-bc90-03bc578531d6"
33
+ ```
34
+
35
+ Reset inheritance of file with server-relative url _/sites/project-x/documents/Test1_.docx located in site _https://contoso.sharepoint.com/sites/project-x_. It will **not** prompt for confirmation before resetting.
36
+
37
+ ```sh
38
+ m365 spo file roleinheritance reset --webUrl "https://contoso.sharepoint.com/sites/project-x" --fileUrl "/sites/project-x/documents/Test1.docx" --confirm
39
+ ```
@@ -0,0 +1,39 @@
1
+ # spo folder roleinheritance break
2
+
3
+ Breaks the role inheritance of a folder.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo folder roleinheritance break [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site where the folder is located.
15
+
16
+ `-f, --folderUrl <folderUrl>`
17
+ : The site-relative URL or server-relative URL of the folder.
18
+
19
+ `-c, --clearExistingPermissions`
20
+ : Clear all existing permissions from the folder.
21
+
22
+ `--confirm`
23
+ : Don't prompt for confirmation to breaking role inheritance of the folder.
24
+
25
+ --8<-- "docs/cmd/_global.md"
26
+
27
+ ## Examples
28
+
29
+ Break the inheritance of a folder with a specified site-relative URL.
30
+
31
+ ```sh
32
+ m365 spo folder roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "Shared Documents/TestFolder"
33
+ ```
34
+
35
+ Break the inheritance of a folder with a specified server-relative URL. It will clear the existing permissions of the folder. It will **not** prompt for confirmation before breaking the inheritance.
36
+
37
+ ```sh
38
+ m365 spo folder roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "/sites/project-x/Shared Documents/TestFolder" --clearExistingPermissions --confirm
39
+ ```
@@ -0,0 +1,36 @@
1
+ # spo folder roleinheritance reset
2
+
3
+ Restores the role inheritance of a folder.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo folder roleinheritance reset [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site where the folder is located.
15
+
16
+ `-f, --folderUrl <folderUrl>`
17
+ : The site-relative URL of the folder.
18
+
19
+ `--confirm`
20
+ : Don't prompt for confirmation to reset role inheritance of the folder.
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Examples
25
+
26
+ Reset inheritance of folder with site-relative url _Shared Documents/TestFolder_ located in site _https://contoso.sharepoint.com/sites/project-x_.
27
+
28
+ ```sh
29
+ m365 spo folder roleinheritance reset --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "Shared Documents/TestFolder"
30
+ ```
31
+
32
+ Reset inheritance of folder with server-relative url _/sites/project-x/Shared Documents/TestFolder_ located in site _https://contoso.sharepoint.com/sites/project-x_. It will **not** prompt for confirmation before resetting.
33
+
34
+ ```sh
35
+ m365 spo folder roleinheritance reset --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "/sites/project-x/Shared Documents/TestFolder" --confirm
36
+ ```
@@ -1,6 +1,6 @@
1
1
  # spo hubsite disconnect
2
2
 
3
- Disconnects the specifies site collection from its hub site
3
+ Disconnects the specified site collection from its hub site
4
4
 
5
5
  ## Usage
6
6
 
@@ -11,13 +11,13 @@ m365 spo hubsite get [options]
11
11
  ## Options
12
12
 
13
13
  `-i, --id [id]`
14
- : ID of the hubsite. Specify either `id`, `title` or `url` but not multiple.
14
+ : ID of the hub site. Specify either `id`, `title` or `url` but not multiple.
15
15
 
16
16
  `-t, --title [title]`
17
- : Title of the hubsite. Specify either `id`, `title` or `url` but not multiple.
17
+ : Title of the hub site. Specify either `id`, `title` or `url` but not multiple.
18
18
 
19
19
  `-u, --url [url]`
20
- : URL of the hubsite. Specify either `id`, `title` or `url` but not multiple.
20
+ : URL of the hub site. Specify either `id`, `title` or `url` but not multiple.
21
21
 
22
22
  `--includeAssociatedSites`
23
23
  : Include the associated sites in the result (only in JSON output)
@@ -75,4 +75,4 @@ add role assignment to list _someList_ located in site _https://contoso.sharepoi
75
75
 
76
76
  ```sh
77
77
  m365 spo list roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --principalId 11 --roleDefinitionName "Full Control"
78
- ```
78
+ ```
@@ -54,4 +54,4 @@ Remove roleassignment from list by url based on principal Id
54
54
 
55
55
  ```sh
56
56
  m365 spo list roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl '/sites/contoso-sales/lists/Events' --principalId 2
57
- ```
57
+ ```
@@ -64,4 +64,4 @@ Remove roleassignment from listitem getting list by url based on principal Id wi
64
64
 
65
65
  ```sh
66
66
  m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl '/sites/contoso-sales/lists/Events' --listItemId 1 --principalId 2 --confirm
67
- ```
67
+ ```
@@ -40,4 +40,4 @@ Adds the role definition for site _https://contoso.sharepoint.com/sites/project-
40
40
 
41
41
  ```sh
42
42
  m365 spo roledefinition add --webUrl https://contoso.sharepoint.com/sites/project-x --name test --description "test description" --rights "ViewListItems,AddListItems,EditListItems,DeleteListItems"
43
- ```
43
+ ```
@@ -21,4 +21,4 @@ Restore role inheritance of subsite _https://contoso.sharepoint.com/sites/projec
21
21
 
22
22
  ```sh
23
23
  m365 spo web roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x
24
- ```
24
+ ```
@@ -43,4 +43,4 @@ m365 teams cache remove
43
43
 
44
44
  ## More information
45
45
 
46
- - [Clear the Teams client cache guidance](https://docs.microsoft.com/microsoftteams/troubleshoot/teams-administration/clear-teams-cache)
46
+ - [Clear the Teams client cache guidance](https://docs.microsoft.com/microsoftteams/troubleshoot/teams-administration/clear-teams-cache)
@@ -58,4 +58,4 @@ Add private channel to the specified Microsoft Teams team with owner ID
58
58
 
59
59
  ```sh
60
60
  m365 teams channel add --teamId 6703ac8a-c49b-4fd4-8223-28f0ac3a6402 --name climicrosoft365 --type private --owner cc693a7d-4833-4911-a89a-f0fe6e49bf69
61
- ```
61
+ ```
@@ -48,4 +48,4 @@ Updates the role of the user with id 00000000-0000-0000-0000-000000000000 to mem
48
48
 
49
49
  ```sh
50
50
  m365 teams channel member set --teamName "Team Name" --channelName "Channel Name" --userId 00000000-0000-0000-0000-000000000000 --role member
51
- ```
51
+ ```
@@ -1,11 +1,11 @@
1
- # graph teams funsettings set
1
+ # teams funsettings set
2
2
 
3
3
  Updates fun settings of a Microsoft Teams team
4
4
 
5
5
  ## Usage
6
6
 
7
7
  ```sh
8
- m365 graph teams funsettings set [options]
8
+ m365 teams funsettings set [options]
9
9
  ```
10
10
 
11
11
  ## Options
@@ -32,23 +32,23 @@ m365 graph teams funsettings set [options]
32
32
  Allow giphy usage within a given Microsoft Teams team, setting the content rating for giphy to Moderate
33
33
 
34
34
  ```sh
35
- m365 graph teams funsettings set --teamId 83cece1e-938d-44a1-8b86-918cf6151957 --allowGiphy true --giphyContentRating Moderate
35
+ m365 teams funsettings set --teamId 83cece1e-938d-44a1-8b86-918cf6151957 --allowGiphy true --giphyContentRating Moderate
36
36
  ```
37
37
 
38
38
  Disable usage of giphy within a given Microsoft Teams team
39
39
 
40
40
  ```sh
41
- m365 graph teams funsettings set --teamId 83cece1e-938d-44a1-8b86-918cf6151957 --allowGiphy false
41
+ m365 teams funsettings set --teamId 83cece1e-938d-44a1-8b86-918cf6151957 --allowGiphy false
42
42
  ```
43
43
 
44
44
  Allow usage of stickers and memes within a given Microsoft Teams team
45
45
 
46
46
  ```sh
47
- m365 graph teams funsettings set --teamId 83cece1e-938d-44a1-8b86-918cf6151957 --allowStickersAndMemes true
47
+ m365 teams funsettings set --teamId 83cece1e-938d-44a1-8b86-918cf6151957 --allowStickersAndMemes true
48
48
  ```
49
49
 
50
50
  Disable usage custom memes within a given Microsoft Teams team
51
51
 
52
52
  ```sh
53
- m365 graph teams funsettings set --teamId 83cece1e-938d-44a1-8b86-918cf6151957 --allowCustomMemes false
53
+ m365 teams funsettings set --teamId 83cece1e-938d-44a1-8b86-918cf6151957 --allowCustomMemes false
54
54
  ```
@@ -27,4 +27,4 @@ Get security alerts for a vendor with name _Azure Sentinel_
27
27
 
28
28
  ```sh
29
29
  m365 tenant security alerts list --vendor "Azure Sentinel"
30
- ```
30
+ ```
@@ -1,4 +1,4 @@
1
- # tenant service announcement health get
1
+ # tenant serviceannouncement health get
2
2
 
3
3
  Get the health report of a specified service for a tenant
4
4
 
@@ -1,4 +1,4 @@
1
- # tenant service announcement health list
1
+ # tenant serviceannouncement health list
2
2
 
3
3
  Gets the health report of all subscribed services for a tenant
4
4