@pnp/cli-microsoft365 9.0.0-beta.834af0c → 9.0.0-beta.872d524

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 (46) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/cli/cli.js +11 -6
  4. package/dist/m365/cli/commands/cli-consent.js +3 -7
  5. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-remove.js +123 -0
  6. package/dist/m365/entra/commands/group/group-set.js +256 -0
  7. package/dist/m365/entra/commands.js +3 -0
  8. package/dist/m365/flow/commands/flow-get.js +1 -1
  9. package/dist/m365/pa/commands/app/app-export.js +13 -7
  10. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +0 -1
  11. package/dist/m365/teams/commands/message/message-restore.js +106 -0
  12. package/dist/m365/teams/commands.js +1 -0
  13. package/dist/m365/viva/commands/engage/engage-group-list.js +0 -5
  14. package/dist/m365/viva/commands/engage/engage-group-user-add.js +0 -5
  15. package/dist/m365/viva/commands/engage/engage-group-user-remove.js +0 -5
  16. package/dist/m365/viva/commands/engage/engage-message-add.js +0 -5
  17. package/dist/m365/viva/commands/engage/engage-message-get.js +0 -5
  18. package/dist/m365/viva/commands/engage/engage-message-like-set.js +0 -5
  19. package/dist/m365/viva/commands/engage/engage-message-list.js +0 -5
  20. package/dist/m365/viva/commands/engage/engage-message-remove.js +0 -5
  21. package/dist/m365/viva/commands/engage/engage-network-list.js +0 -5
  22. package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +0 -8
  23. package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +0 -8
  24. package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +0 -8
  25. package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +0 -8
  26. package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +0 -8
  27. package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +0 -8
  28. package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +0 -8
  29. package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +0 -8
  30. package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +0 -8
  31. package/dist/m365/viva/commands/engage/engage-search.js +0 -5
  32. package/dist/m365/viva/commands/engage/engage-user-get.js +0 -5
  33. package/dist/m365/viva/commands/engage/engage-user-list.js +0 -5
  34. package/docs/docs/cmd/cli/cli-consent.mdx +1 -1
  35. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx +65 -0
  36. package/docs/docs/cmd/entra/group/group-add.mdx +0 -4
  37. package/docs/docs/cmd/entra/group/group-set.mdx +89 -0
  38. package/docs/docs/cmd/flow/flow-get.mdx +149 -283
  39. package/docs/docs/cmd/pa/app/app-export.mdx +15 -9
  40. package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
  41. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +6 -5
  42. package/docs/docs/cmd/teams/message/message-remove.mdx +2 -1
  43. package/docs/docs/cmd/teams/message/message-restore.mdx +62 -0
  44. package/npm-shrinkwrap.json +572 -478
  45. package/package.json +22 -23
  46. package/dist/m365/viva/commands/engage/yammerCommands.js +0 -25
@@ -7,7 +7,6 @@ var _VivaEngageGroupListCommand_instances, _VivaEngageGroupListCommand_initTelem
7
7
  import request from '../../../../request.js';
8
8
  import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
9
9
  import commands from '../../commands.js';
10
- import yammerCommands from './yammerCommands.js';
11
10
  class VivaEngageGroupListCommand extends VivaEngageCommand {
12
11
  get name() {
13
12
  return commands.ENGAGE_GROUP_LIST;
@@ -15,9 +14,6 @@ class VivaEngageGroupListCommand extends VivaEngageCommand {
15
14
  get description() {
16
15
  return 'Returns the list of groups in a Viva Engage network or the groups for a specific user';
17
16
  }
18
- alias() {
19
- return [yammerCommands.GROUP_LIST];
20
- }
21
17
  constructor() {
22
18
  super();
23
19
  _VivaEngageGroupListCommand_instances.add(this);
@@ -59,7 +55,6 @@ class VivaEngageGroupListCommand extends VivaEngageCommand {
59
55
  }
60
56
  }
61
57
  async commandAction(logger, args) {
62
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
63
58
  this.items = []; // this will reset the items array in interactive mode
64
59
  try {
65
60
  await this.getAllItems(logger, args, 1);
@@ -7,7 +7,6 @@ var _VivaEngageGroupUserAddCommand_instances, _VivaEngageGroupUserAddCommand_ini
7
7
  import request from '../../../../request.js';
8
8
  import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
9
9
  import commands from '../../commands.js';
10
- import yammerCommands from './yammerCommands.js';
11
10
  class VivaEngageGroupUserAddCommand extends VivaEngageCommand {
12
11
  get name() {
13
12
  return commands.ENGAGE_GROUP_USER_ADD;
@@ -15,9 +14,6 @@ class VivaEngageGroupUserAddCommand extends VivaEngageCommand {
15
14
  get description() {
16
15
  return 'Adds a user to a Viva Engage Group';
17
16
  }
18
- alias() {
19
- return [yammerCommands.GROUP_USER_ADD];
20
- }
21
17
  constructor() {
22
18
  super();
23
19
  _VivaEngageGroupUserAddCommand_instances.add(this);
@@ -26,7 +22,6 @@ class VivaEngageGroupUserAddCommand extends VivaEngageCommand {
26
22
  __classPrivateFieldGet(this, _VivaEngageGroupUserAddCommand_instances, "m", _VivaEngageGroupUserAddCommand_initValidators).call(this);
27
23
  }
28
24
  async commandAction(logger, args) {
29
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
30
25
  const requestOptions = {
31
26
  url: `${this.resource}/v1/group_memberships.json`,
32
27
  headers: {
@@ -8,7 +8,6 @@ import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
9
  import VivaEngageCommand from "../../../base/VivaEngageCommand.js";
10
10
  import commands from '../../commands.js';
11
- import yammerCommands from './yammerCommands.js';
12
11
  class VivaEngageGroupUserRemoveCommand extends VivaEngageCommand {
13
12
  get name() {
14
13
  return commands.ENGAGE_GROUP_USER_REMOVE;
@@ -16,9 +15,6 @@ class VivaEngageGroupUserRemoveCommand extends VivaEngageCommand {
16
15
  get description() {
17
16
  return 'Removes a user from a Viva Engage group';
18
17
  }
19
- alias() {
20
- return [yammerCommands.GROUP_USER_REMOVE];
21
- }
22
18
  constructor() {
23
19
  super();
24
20
  _VivaEngageGroupUserRemoveCommand_instances.add(this);
@@ -27,7 +23,6 @@ class VivaEngageGroupUserRemoveCommand extends VivaEngageCommand {
27
23
  __classPrivateFieldGet(this, _VivaEngageGroupUserRemoveCommand_instances, "m", _VivaEngageGroupUserRemoveCommand_initValidators).call(this);
28
24
  }
29
25
  async commandAction(logger, args) {
30
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
31
26
  if (args.options.force) {
32
27
  await this.executeRemoveAction(args.options);
33
28
  }
@@ -7,7 +7,6 @@ var _VivaEngageMessageAddCommand_instances, _VivaEngageMessageAddCommand_initTel
7
7
  import request from '../../../../request.js';
8
8
  import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
9
9
  import commands from '../../commands.js';
10
- import yammerCommands from './yammerCommands.js';
11
10
  class VivaEngageMessageAddCommand extends VivaEngageCommand {
12
11
  get name() {
13
12
  return commands.ENGAGE_MESSAGE_ADD;
@@ -15,9 +14,6 @@ class VivaEngageMessageAddCommand extends VivaEngageCommand {
15
14
  get description() {
16
15
  return 'Posts a Viva Engage network message on behalf of the current user';
17
16
  }
18
- alias() {
19
- return [yammerCommands.MESSAGE_ADD];
20
- }
21
17
  defaultProperties() {
22
18
  return ['id'];
23
19
  }
@@ -29,7 +25,6 @@ class VivaEngageMessageAddCommand extends VivaEngageCommand {
29
25
  __classPrivateFieldGet(this, _VivaEngageMessageAddCommand_instances, "m", _VivaEngageMessageAddCommand_initValidators).call(this);
30
26
  }
31
27
  async commandAction(logger, args) {
32
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
33
28
  const requestOptions = {
34
29
  url: `${this.resource}/v1/messages.json`,
35
30
  headers: {
@@ -7,7 +7,6 @@ var _VivaEngageMessageGetCommand_instances, _VivaEngageMessageGetCommand_initOpt
7
7
  import request from '../../../../request.js';
8
8
  import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
9
9
  import commands from '../../commands.js';
10
- import yammerCommands from './yammerCommands.js';
11
10
  class VivaEngageMessageGetCommand extends VivaEngageCommand {
12
11
  get name() {
13
12
  return commands.ENGAGE_MESSAGE_GET;
@@ -15,9 +14,6 @@ class VivaEngageMessageGetCommand extends VivaEngageCommand {
15
14
  get description() {
16
15
  return 'Returns a Viva Engage message';
17
16
  }
18
- alias() {
19
- return [yammerCommands.MESSAGE_GET];
20
- }
21
17
  defaultProperties() {
22
18
  return ['id', 'sender_id', 'replied_to_id', 'thread_id', 'group_id', 'created_at', 'direct_message', 'system_message', 'privacy', 'message_type', 'content_excerpt'];
23
19
  }
@@ -28,7 +24,6 @@ class VivaEngageMessageGetCommand extends VivaEngageCommand {
28
24
  __classPrivateFieldGet(this, _VivaEngageMessageGetCommand_instances, "m", _VivaEngageMessageGetCommand_initValidators).call(this);
29
25
  }
30
26
  async commandAction(logger, args) {
31
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
32
27
  const requestOptions = {
33
28
  url: `${this.resource}/v1/messages/${args.options.id}.json`,
34
29
  headers: {
@@ -8,7 +8,6 @@ import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
9
  import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
10
10
  import commands from '../../commands.js';
11
- import yammerCommands from './yammerCommands.js';
12
11
  class VivaEngageMessageLikeSetCommand extends VivaEngageCommand {
13
12
  get name() {
14
13
  return commands.ENGAGE_MESSAGE_LIKE_SET;
@@ -16,9 +15,6 @@ class VivaEngageMessageLikeSetCommand extends VivaEngageCommand {
16
15
  get description() {
17
16
  return 'Likes or unlikes a Viva Engage message';
18
17
  }
19
- alias() {
20
- return [yammerCommands.MESSAGE_LIKE_SET];
21
- }
22
18
  constructor() {
23
19
  super();
24
20
  _VivaEngageMessageLikeSetCommand_instances.add(this);
@@ -28,7 +24,6 @@ class VivaEngageMessageLikeSetCommand extends VivaEngageCommand {
28
24
  __classPrivateFieldGet(this, _VivaEngageMessageLikeSetCommand_instances, "m", _VivaEngageMessageLikeSetCommand_initValidators).call(this);
29
25
  }
30
26
  async commandAction(logger, args) {
31
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
32
27
  if (args.options.enable === false) {
33
28
  if (args.options.force) {
34
29
  await this.executeLikeAction(args.options);
@@ -7,7 +7,6 @@ var _VivaEngageMessageListCommand_instances, _a, _VivaEngageMessageListCommand_i
7
7
  import request from '../../../../request.js';
8
8
  import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
9
9
  import commands from '../../commands.js';
10
- import yammerCommands from './yammerCommands.js';
11
10
  class VivaEngageMessageListCommand extends VivaEngageCommand {
12
11
  get name() {
13
12
  return commands.ENGAGE_MESSAGE_LIST;
@@ -15,9 +14,6 @@ class VivaEngageMessageListCommand extends VivaEngageCommand {
15
14
  get description() {
16
15
  return 'Returns all accessible messages from the user\'s Viva Engage network';
17
16
  }
18
- alias() {
19
- return [yammerCommands.MESSAGE_LIST];
20
- }
21
17
  defaultProperties() {
22
18
  return ['id', 'replied_to_id', 'thread_id', 'group_id', 'shortBody'];
23
19
  }
@@ -97,7 +93,6 @@ class VivaEngageMessageListCommand extends VivaEngageCommand {
97
93
  }
98
94
  }
99
95
  async commandAction(logger, args) {
100
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
101
96
  this.items = []; // this will reset the items array in interactive mode
102
97
  try {
103
98
  await this.getAllItems(logger, args, -1);
@@ -8,7 +8,6 @@ import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
9
  import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
10
10
  import commands from '../../commands.js';
11
- import yammerCommands from './yammerCommands.js';
12
11
  class VivaEngageMessageRemoveCommand extends VivaEngageCommand {
13
12
  get name() {
14
13
  return commands.ENGAGE_MESSAGE_REMOVE;
@@ -16,9 +15,6 @@ class VivaEngageMessageRemoveCommand extends VivaEngageCommand {
16
15
  get description() {
17
16
  return 'Removes a Viva Engage message';
18
17
  }
19
- alias() {
20
- return [yammerCommands.MESSAGE_REMOVE];
21
- }
22
18
  constructor() {
23
19
  super();
24
20
  _VivaEngageMessageRemoveCommand_instances.add(this);
@@ -27,7 +23,6 @@ class VivaEngageMessageRemoveCommand extends VivaEngageCommand {
27
23
  __classPrivateFieldGet(this, _VivaEngageMessageRemoveCommand_instances, "m", _VivaEngageMessageRemoveCommand_initValidators).call(this);
28
24
  }
29
25
  async commandAction(logger, args) {
30
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
31
26
  if (args.options.force) {
32
27
  await this.removeMessage(args.options);
33
28
  }
@@ -7,7 +7,6 @@ var _VivaEngageNetworkListCommand_instances, _VivaEngageNetworkListCommand_initT
7
7
  import request from '../../../../request.js';
8
8
  import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
9
9
  import commands from '../../commands.js';
10
- import yammerCommands from './yammerCommands.js';
11
10
  class VivaEngageNetworkListCommand extends VivaEngageCommand {
12
11
  get name() {
13
12
  return commands.ENGAGE_NETWORK_LIST;
@@ -15,9 +14,6 @@ class VivaEngageNetworkListCommand extends VivaEngageCommand {
15
14
  get description() {
16
15
  return 'Returns a list of networks to which the current user has access';
17
16
  }
18
- alias() {
19
- return [yammerCommands.NETWORK_LIST];
20
- }
21
17
  defaultProperties() {
22
18
  return ['id', 'name', 'email', 'community', 'permalink', 'web_url'];
23
19
  }
@@ -28,7 +24,6 @@ class VivaEngageNetworkListCommand extends VivaEngageCommand {
28
24
  __classPrivateFieldGet(this, _VivaEngageNetworkListCommand_instances, "m", _VivaEngageNetworkListCommand_initOptions).call(this);
29
25
  }
30
26
  async commandAction(logger, args) {
31
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
32
27
  const requestOptions = {
33
28
  url: `${this.resource}/v1/networks/current.json`,
34
29
  headers: {
@@ -1,23 +1,15 @@
1
1
  import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
2
  import commands from '../../commands.js';
3
- import yammerCommands from './yammerCommands.js';
4
3
  class VivaEngageReportActivityCountsCommand extends PeriodBasedReport {
5
4
  get name() {
6
5
  return commands.ENGAGE_REPORT_ACTIVITYCOUNTS;
7
6
  }
8
- alias() {
9
- return [yammerCommands.REPORT_ACTIVITYCOUNTS];
10
- }
11
7
  get usageEndpoint() {
12
8
  return 'getYammerActivityCounts';
13
9
  }
14
10
  get description() {
15
11
  return 'Gets the trends on the amount of VivaEngage activity in your organization by how many messages were posted, read, and liked';
16
12
  }
17
- async commandAction(logger, args) {
18
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
19
- await super.commandAction(logger, args);
20
- }
21
13
  }
22
14
  export default new VivaEngageReportActivityCountsCommand();
23
15
  //# sourceMappingURL=engage-report-activitycounts.js.map
@@ -1,23 +1,15 @@
1
1
  import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
2
  import commands from '../../commands.js';
3
- import yammerCommands from './yammerCommands.js';
4
3
  class VivaEngageReportActivityUserCountsCommand extends PeriodBasedReport {
5
4
  get name() {
6
5
  return commands.ENGAGE_REPORT_ACTIVITYUSERCOUNTS;
7
6
  }
8
- alias() {
9
- return [yammerCommands.REPORT_ACTIVITYUSERCOUNTS];
10
- }
11
7
  get usageEndpoint() {
12
8
  return 'getYammerActivityUserCounts';
13
9
  }
14
10
  get description() {
15
11
  return 'Gets the trends on the number of unique users who posted, read, and liked Viva Engage messages';
16
12
  }
17
- async commandAction(logger, args) {
18
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
19
- await super.commandAction(logger, args);
20
- }
21
13
  }
22
14
  export default new VivaEngageReportActivityUserCountsCommand();
23
15
  //# sourceMappingURL=engage-report-activityusercounts.js.map
@@ -1,23 +1,15 @@
1
1
  import DateAndPeriodBasedReport from '../../../base/DateAndPeriodBasedReport.js';
2
2
  import commands from '../../commands.js';
3
- import yammerCommands from './yammerCommands.js';
4
3
  class VivaEngageReportActivityUserDetailCommand extends DateAndPeriodBasedReport {
5
4
  get name() {
6
5
  return commands.ENGAGE_REPORT_ACTIVITYUSERDETAIL;
7
6
  }
8
- alias() {
9
- return [yammerCommands.REPORT_ACTIVITYUSERDETAIL];
10
- }
11
7
  get usageEndpoint() {
12
8
  return 'getYammerActivityUserDetail';
13
9
  }
14
10
  get description() {
15
11
  return 'Gets details about Viva Engage activity by user';
16
12
  }
17
- async commandAction(logger, args) {
18
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
19
- await super.commandAction(logger, args);
20
- }
21
13
  }
22
14
  export default new VivaEngageReportActivityUserDetailCommand();
23
15
  //# sourceMappingURL=engage-report-activityuserdetail.js.map
@@ -1,23 +1,15 @@
1
1
  import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
2
  import commands from '../../commands.js';
3
- import yammerCommands from './yammerCommands.js';
4
3
  class VivaEngageReportDeviceUsageDistributionUserCountsCommand extends PeriodBasedReport {
5
4
  get name() {
6
5
  return commands.ENGAGE_REPORT_DEVICEUSAGEDISTRIBUTIONUSERCOUNTS;
7
6
  }
8
- alias() {
9
- return [yammerCommands.REPORT_DEVICEUSAGEDISTRIBUTIONUSERCOUNTS];
10
- }
11
7
  get usageEndpoint() {
12
8
  return 'getYammerDeviceUsageDistributionUserCounts';
13
9
  }
14
10
  get description() {
15
11
  return 'Gets the number of users by device type';
16
12
  }
17
- async commandAction(logger, args) {
18
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
19
- await super.commandAction(logger, args);
20
- }
21
13
  }
22
14
  export default new VivaEngageReportDeviceUsageDistributionUserCountsCommand();
23
15
  //# sourceMappingURL=engage-report-deviceusagedistributionusercounts.js.map
@@ -1,23 +1,15 @@
1
1
  import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
2
  import commands from '../../commands.js';
3
- import yammerCommands from './yammerCommands.js';
4
3
  class VivaEngageReportDeviceUsageUserCountsCommand extends PeriodBasedReport {
5
4
  get name() {
6
5
  return commands.ENGAGE_REPORT_DEVICEUSAGEUSERCOUNTS;
7
6
  }
8
- alias() {
9
- return [yammerCommands.REPORT_DEVICEUSAGEUSERCOUNTS];
10
- }
11
7
  get usageEndpoint() {
12
8
  return 'getYammerDeviceUsageUserCounts';
13
9
  }
14
10
  get description() {
15
11
  return 'Gets the number of daily users by device type';
16
12
  }
17
- async commandAction(logger, args) {
18
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
19
- await super.commandAction(logger, args);
20
- }
21
13
  }
22
14
  export default new VivaEngageReportDeviceUsageUserCountsCommand();
23
15
  //# sourceMappingURL=engage-report-deviceusageusercounts.js.map
@@ -1,23 +1,15 @@
1
1
  import DateAndPeriodBasedReport from '../../../base/DateAndPeriodBasedReport.js';
2
2
  import commands from '../../commands.js';
3
- import yammerCommands from './yammerCommands.js';
4
3
  class VivaEngageReportDeviceUsageUserDetailCommand extends DateAndPeriodBasedReport {
5
4
  get name() {
6
5
  return commands.ENGAGE_REPORT_DEVICEUSAGEUSERDETAIL;
7
6
  }
8
- alias() {
9
- return [yammerCommands.REPORT_DEVICEUSAGEUSERDETAIL];
10
- }
11
7
  get usageEndpoint() {
12
8
  return 'getYammerDeviceUsageUserDetail';
13
9
  }
14
10
  get description() {
15
11
  return 'Gets details about Viva Engage device usage by user';
16
12
  }
17
- async commandAction(logger, args) {
18
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
19
- await super.commandAction(logger, args);
20
- }
21
13
  }
22
14
  export default new VivaEngageReportDeviceUsageUserDetailCommand();
23
15
  //# sourceMappingURL=engage-report-deviceusageuserdetail.js.map
@@ -1,23 +1,15 @@
1
1
  import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
2
  import commands from '../../commands.js';
3
- import yammerCommands from './yammerCommands.js';
4
3
  class VivaEngageReportGroupsActivityCountsCommand extends PeriodBasedReport {
5
4
  get name() {
6
5
  return commands.ENGAGE_REPORT_GROUPSACTIVITYCOUNTS;
7
6
  }
8
- alias() {
9
- return [yammerCommands.REPORT_GROUPSACTIVITYCOUNTS];
10
- }
11
7
  get usageEndpoint() {
12
8
  return 'getYammerGroupsActivityCounts';
13
9
  }
14
10
  get description() {
15
11
  return 'Gets the number of Viva Engage messages posted, read, and liked in groups';
16
12
  }
17
- async commandAction(logger, args) {
18
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
19
- await super.commandAction(logger, args);
20
- }
21
13
  }
22
14
  export default new VivaEngageReportGroupsActivityCountsCommand();
23
15
  //# sourceMappingURL=engage-report-groupsactivitycounts.js.map
@@ -1,23 +1,15 @@
1
1
  import DateAndPeriodBasedReport from '../../../base/DateAndPeriodBasedReport.js';
2
2
  import commands from '../../commands.js';
3
- import yammerCommands from './yammerCommands.js';
4
3
  class VivaEngageReportGroupsActivityDetailCommand extends DateAndPeriodBasedReport {
5
4
  get name() {
6
5
  return commands.ENGAGE_REPORT_GROUPSACTIVITYDETAIL;
7
6
  }
8
- alias() {
9
- return [yammerCommands.REPORT_GROUPSACTIVITYDETAIL];
10
- }
11
7
  get usageEndpoint() {
12
8
  return 'getYammerGroupsActivityDetail';
13
9
  }
14
10
  get description() {
15
11
  return 'Gets details about Viva Engage groups activity by group';
16
12
  }
17
- async commandAction(logger, args) {
18
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
19
- await super.commandAction(logger, args);
20
- }
21
13
  }
22
14
  export default new VivaEngageReportGroupsActivityDetailCommand();
23
15
  //# sourceMappingURL=engage-report-groupsactivitydetail.js.map
@@ -1,23 +1,15 @@
1
1
  import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
2
  import commands from '../../commands.js';
3
- import yammerCommands from './yammerCommands.js';
4
3
  class VivaEngageReportGroupsActivityGroupCountsCommand extends PeriodBasedReport {
5
4
  get name() {
6
5
  return commands.ENGAGE_REPORT_GROUPSACTIVITYGROUPCOUNTS;
7
6
  }
8
- alias() {
9
- return [yammerCommands.REPORT_GROUPSACTIVITYGROUPCOUNTS];
10
- }
11
7
  get usageEndpoint() {
12
8
  return 'getYammerGroupsActivityGroupCounts';
13
9
  }
14
10
  get description() {
15
11
  return 'Gets the total number of groups that existed and how many included group conversation activity';
16
12
  }
17
- async commandAction(logger, args) {
18
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
19
- await super.commandAction(logger, args);
20
- }
21
13
  }
22
14
  export default new VivaEngageReportGroupsActivityGroupCountsCommand();
23
15
  //# sourceMappingURL=engage-report-groupsactivitygroupcounts.js.map
@@ -9,7 +9,6 @@ import request from '../../../../request.js';
9
9
  import { formatting } from '../../../../utils/formatting.js';
10
10
  import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
11
11
  import commands from '../../commands.js';
12
- import yammerCommands from './yammerCommands.js';
13
12
  class VivaEngageSearchCommand extends VivaEngageCommand {
14
13
  get name() {
15
14
  return commands.ENGAGE_SEARCH;
@@ -17,9 +16,6 @@ class VivaEngageSearchCommand extends VivaEngageCommand {
17
16
  get description() {
18
17
  return 'Returns a list of messages, users, topics and groups that match the specified query.';
19
18
  }
20
- alias() {
21
- return [yammerCommands.SEARCH];
22
- }
23
19
  constructor() {
24
20
  super();
25
21
  _VivaEngageSearchCommand_instances.add(this);
@@ -93,7 +89,6 @@ class VivaEngageSearchCommand extends VivaEngageCommand {
93
89
  }
94
90
  }
95
91
  async commandAction(logger, args) {
96
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
97
92
  this.summary = {
98
93
  messages: 0,
99
94
  groups: 0,
@@ -8,7 +8,6 @@ import request from '../../../../request.js';
8
8
  import { formatting } from '../../../../utils/formatting.js';
9
9
  import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
10
10
  import commands from '../../commands.js';
11
- import yammerCommands from './yammerCommands.js';
12
11
  class VivaEngageUserGetCommand extends VivaEngageCommand {
13
12
  get name() {
14
13
  return commands.ENGAGE_USER_GET;
@@ -16,9 +15,6 @@ class VivaEngageUserGetCommand extends VivaEngageCommand {
16
15
  get description() {
17
16
  return 'Retrieves the current user or searches for a user by ID or e-mail';
18
17
  }
19
- alias() {
20
- return [yammerCommands.USER_GET];
21
- }
22
18
  defaultProperties() {
23
19
  return ['id', 'full_name', 'email', 'job_title', 'state', 'url'];
24
20
  }
@@ -30,7 +26,6 @@ class VivaEngageUserGetCommand extends VivaEngageCommand {
30
26
  __classPrivateFieldGet(this, _VivaEngageUserGetCommand_instances, "m", _VivaEngageUserGetCommand_initValidators).call(this);
31
27
  }
32
28
  async commandAction(logger, args) {
33
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
34
29
  let endPoint = `${this.resource}/v1/users/current.json`;
35
30
  if (args.options.id) {
36
31
  endPoint = `${this.resource}/v1/users/${args.options.id}.json`;
@@ -7,7 +7,6 @@ var _VivaEngageUserListCommand_instances, _VivaEngageUserListCommand_initTelemet
7
7
  import request from '../../../../request.js';
8
8
  import VivaEngageCommand from '../../../base/VivaEngageCommand.js';
9
9
  import commands from '../../commands.js';
10
- import yammerCommands from './yammerCommands.js';
11
10
  class VivaEngageUserListCommand extends VivaEngageCommand {
12
11
  get name() {
13
12
  return commands.ENGAGE_USER_LIST;
@@ -15,9 +14,6 @@ class VivaEngageUserListCommand extends VivaEngageCommand {
15
14
  get description() {
16
15
  return 'Returns users from the current network';
17
16
  }
18
- alias() {
19
- return [yammerCommands.USER_LIST];
20
- }
21
17
  defaultProperties() {
22
18
  return ['id', 'full_name', 'email'];
23
19
  }
@@ -92,7 +88,6 @@ class VivaEngageUserListCommand extends VivaEngageCommand {
92
88
  });
93
89
  }
94
90
  async commandAction(logger, args) {
95
- await this.showDeprecationWarning(logger, this.alias()[0], this.name);
96
91
  this.items = []; // this will reset the items array in interactive mode
97
92
  try {
98
93
  await this.getAllItems(logger, args, 1);
@@ -16,7 +16,7 @@ m365 cli consent [options]
16
16
 
17
17
  ```md definition-list
18
18
  `-s, --service <service>`
19
- : Service for which to consent permissions. Allowed values: `VivaEngage`, (deprecated)`yammer`.
19
+ : Service for which to consent permissions. Allowed values: `VivaEngage`.
20
20
  ```
21
21
 
22
22
  <Global />
@@ -0,0 +1,65 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # entra enterpriseapp remove
6
+
7
+ Deletes an enterprise application (or service principal)
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 entra enterpriseapp remove [options]
13
+ ```
14
+
15
+ ## Alias
16
+
17
+ ```sh
18
+ m365 entra sp remove [options]
19
+ ```
20
+
21
+ ## Options
22
+
23
+ ```md definition-list
24
+ `-i, --id [id]`
25
+ : ID of the enterprise application.
26
+
27
+ `-n, --displayName [displayName]`
28
+ : Display name of the enterprise application.
29
+
30
+ `--objectId [objectId]`
31
+ : ObjectId of the enterprise application.
32
+
33
+ `-f, --force`
34
+ : Don't prompt for confirmation.
35
+ ```
36
+
37
+ <Global />
38
+
39
+ ## Examples
40
+
41
+ Delete an enterprise application by application ID.
42
+
43
+ ```sh
44
+ m365 entra enterpriseapp remove --id b2307a39-e878-458b-bc90-03bc578531d6 --force
45
+ ```
46
+
47
+ Delete an enterprise application by display name.
48
+
49
+ ```sh
50
+ m365 entra enterpriseapp remove --displayName "Contoso app"
51
+ ```
52
+
53
+ Delete an enterprise application by object ID.
54
+
55
+ ```sh
56
+ m365 entra enterpriseapp remove --objectId b2307a39-e878-458b-bc90-03bc578531dd
57
+ ```
58
+
59
+ ## Response
60
+
61
+ The command won't return a response on success.
62
+
63
+ ## More information
64
+
65
+ - Application and service principal objects in Microsoft Entra ID: [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
@@ -53,8 +53,6 @@ m365 aad group add [options]
53
53
 
54
54
  ## Remarks
55
55
 
56
- :::info
57
-
58
56
  The `visibility` option affects the behavior of the group.
59
57
 
60
58
  With the `Public` visibility:
@@ -74,8 +72,6 @@ With the `HiddenMembership` visibility:
74
72
  - Administrators (global, company, user, and helpdesk) can view the membership of the group.
75
73
  - The group appears in the global address book (GAL).
76
74
 
77
- :::
78
-
79
75
  :::note
80
76
 
81
77
  The `HiddenMembership` visibility can be set only for Microsoft 365 groups when the groups are created. It can't be updated later.