@pnp/cli-microsoft365 6.4.0-beta.140530d → 6.4.0-beta.33050ca

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/dist/Command.js CHANGED
@@ -370,7 +370,7 @@ class Command {
370
370
  if (!value || typeof value !== 'string') {
371
371
  return;
372
372
  }
373
- const lowerCaseValue = value.toLowerCase();
373
+ const lowerCaseValue = value.toLowerCase().trim();
374
374
  if (lowerCaseValue === '@meid') {
375
375
  args.options[option] = accessToken_1.accessToken.getUserIdFromAccessToken(token);
376
376
  }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FN014009_CODE_launch_hostedWorkbench_url = void 0;
4
+ const path = require("path");
5
+ const JsonRule_1 = require("../../JsonRule");
6
+ class FN014009_CODE_launch_hostedWorkbench_url extends JsonRule_1.JsonRule {
7
+ constructor(url) {
8
+ super();
9
+ this.url = url;
10
+ }
11
+ get id() {
12
+ return 'FN014009';
13
+ }
14
+ get title() {
15
+ return 'Hosted workbench URL in .vscode/launch.json';
16
+ }
17
+ get description() {
18
+ return `In the .vscode/launch.json file, update the url property for the hosted workbench launch configuration`;
19
+ }
20
+ get resolution() {
21
+ return `{
22
+ "configurations": [
23
+ {
24
+ "url": "${this.url}"
25
+ }
26
+ ]
27
+ }`;
28
+ }
29
+ get resolutionType() {
30
+ return 'json';
31
+ }
32
+ get severity() {
33
+ return 'Recommended';
34
+ }
35
+ get file() {
36
+ return '.vscode/launch.json';
37
+ }
38
+ visit(project, findings) {
39
+ if (!project.vsCode ||
40
+ !project.vsCode.launchJson ||
41
+ !project.vsCode.launchJson.configurations) {
42
+ return;
43
+ }
44
+ const occurrences = [];
45
+ project.vsCode.launchJson.configurations.forEach((configuration, i) => {
46
+ if (configuration.name === 'Hosted workbench' &&
47
+ configuration.url !== this.url) {
48
+ const node = this.getAstNodeFromFile(project.vsCode.launchJson, `configurations[${i}].url`);
49
+ occurrences.push({
50
+ file: path.relative(project.path, this.file),
51
+ resolution: this.resolution,
52
+ position: this.getPositionFromNode(node)
53
+ });
54
+ }
55
+ });
56
+ if (occurrences.length > 0) {
57
+ this.addFindingWithOccurrences(occurrences, findings);
58
+ }
59
+ }
60
+ }
61
+ exports.FN014009_CODE_launch_hostedWorkbench_url = FN014009_CODE_launch_hostedWorkbench_url;
62
+ //# sourceMappingURL=FN014009_CODE_launch_hostedWorkbench_url.js.map
@@ -26,34 +26,42 @@ const FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5_1 = require("./rules/FN0
26
26
  const FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1 = require("./rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx");
27
27
  const FN002023_DEVDEP_microsoft_eslint_config_spfx_1 = require("./rules/FN002023_DEVDEP_microsoft_eslint_config_spfx");
28
28
  const FN002024_DEVDEP_eslint_1 = require("./rules/FN002024_DEVDEP_eslint");
29
+ const FN007002_CFG_S_initialPage_1 = require("./rules/FN007002_CFG_S_initialPage");
29
30
  const FN010001_YORC_version_1 = require("./rules/FN010001_YORC_version");
31
+ const FN010010_YORC_sdkVersions_teams_js_1 = require("./rules/FN010010_YORC_sdkVersions_teams_js");
32
+ const FN014008_CODE_launch_hostedWorkbench_type_1 = require("./rules/FN014008_CODE_launch_hostedWorkbench_type");
33
+ const FN014009_CODE_launch_hostedWorkbench_url_1 = require("./rules/FN014009_CODE_launch_hostedWorkbench_url");
30
34
  module.exports = [
31
- new FN001001_DEP_microsoft_sp_core_library_1.FN001001_DEP_microsoft_sp_core_library('1.17.0-beta.1'),
32
- new FN001002_DEP_microsoft_sp_lodash_subset_1.FN001002_DEP_microsoft_sp_lodash_subset('1.17.0-beta.1'),
33
- new FN001003_DEP_microsoft_sp_office_ui_fabric_core_1.FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.17.0-beta.1'),
34
- new FN001004_DEP_microsoft_sp_webpart_base_1.FN001004_DEP_microsoft_sp_webpart_base('1.17.0-beta.1'),
35
- new FN001011_DEP_microsoft_sp_dialog_1.FN001011_DEP_microsoft_sp_dialog('1.17.0-beta.1'),
36
- new FN001012_DEP_microsoft_sp_application_base_1.FN001012_DEP_microsoft_sp_application_base('1.17.0-beta.1'),
37
- new FN001014_DEP_microsoft_sp_listview_extensibility_1.FN001014_DEP_microsoft_sp_listview_extensibility('1.17.0-beta.1'),
38
- new FN001021_DEP_microsoft_sp_property_pane_1.FN001021_DEP_microsoft_sp_property_pane('1.17.0-beta.1'),
39
- new FN001023_DEP_microsoft_sp_component_base_1.FN001023_DEP_microsoft_sp_component_base('1.17.0-beta.1'),
40
- new FN001024_DEP_microsoft_sp_diagnostics_1.FN001024_DEP_microsoft_sp_diagnostics('1.17.0-beta.1'),
41
- new FN001025_DEP_microsoft_sp_dynamic_data_1.FN001025_DEP_microsoft_sp_dynamic_data('1.17.0-beta.1'),
42
- new FN001026_DEP_microsoft_sp_extension_base_1.FN001026_DEP_microsoft_sp_extension_base('1.17.0-beta.1'),
43
- new FN001027_DEP_microsoft_sp_http_1.FN001027_DEP_microsoft_sp_http('1.17.0-beta.1'),
44
- new FN001028_DEP_microsoft_sp_list_subscription_1.FN001028_DEP_microsoft_sp_list_subscription('1.17.0-beta.1'),
45
- new FN001029_DEP_microsoft_sp_loader_1.FN001029_DEP_microsoft_sp_loader('1.17.0-beta.1'),
46
- new FN001030_DEP_microsoft_sp_module_interfaces_1.FN001030_DEP_microsoft_sp_module_interfaces('1.17.0-beta.1'),
47
- new FN001031_DEP_microsoft_sp_odata_types_1.FN001031_DEP_microsoft_sp_odata_types('1.17.0-beta.1'),
48
- new FN001032_DEP_microsoft_sp_page_context_1.FN001032_DEP_microsoft_sp_page_context('1.17.0-beta.1'),
49
- new FN001013_DEP_microsoft_decorators_1.FN001013_DEP_microsoft_decorators('1.17.0-beta.1'),
50
- new FN001034_DEP_microsoft_sp_adaptive_card_extension_base_1.FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.17.0-beta.1'),
51
- new FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1.FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.17.0-beta.1'),
52
- new FN002023_DEVDEP_microsoft_eslint_config_spfx_1.FN002023_DEVDEP_microsoft_eslint_config_spfx('1.17.0-beta.1'),
53
- new FN002001_DEVDEP_microsoft_sp_build_web_1.FN002001_DEVDEP_microsoft_sp_build_web('1.17.0-beta.1'),
54
- new FN002002_DEVDEP_microsoft_sp_module_interfaces_1.FN002002_DEVDEP_microsoft_sp_module_interfaces('1.17.0-beta.1'),
55
- new FN010001_YORC_version_1.FN010001_YORC_version('1.17.0-beta.1'),
35
+ new FN001001_DEP_microsoft_sp_core_library_1.FN001001_DEP_microsoft_sp_core_library('1.17.0-beta.3'),
36
+ new FN001002_DEP_microsoft_sp_lodash_subset_1.FN001002_DEP_microsoft_sp_lodash_subset('1.17.0-beta.3'),
37
+ new FN001003_DEP_microsoft_sp_office_ui_fabric_core_1.FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.17.0-beta.3'),
38
+ new FN001004_DEP_microsoft_sp_webpart_base_1.FN001004_DEP_microsoft_sp_webpart_base('1.17.0-beta.3'),
39
+ new FN001011_DEP_microsoft_sp_dialog_1.FN001011_DEP_microsoft_sp_dialog('1.17.0-beta.3'),
40
+ new FN001012_DEP_microsoft_sp_application_base_1.FN001012_DEP_microsoft_sp_application_base('1.17.0-beta.3'),
41
+ new FN001014_DEP_microsoft_sp_listview_extensibility_1.FN001014_DEP_microsoft_sp_listview_extensibility('1.17.0-beta.3'),
42
+ new FN001021_DEP_microsoft_sp_property_pane_1.FN001021_DEP_microsoft_sp_property_pane('1.17.0-beta.3'),
43
+ new FN001023_DEP_microsoft_sp_component_base_1.FN001023_DEP_microsoft_sp_component_base('1.17.0-beta.3'),
44
+ new FN001024_DEP_microsoft_sp_diagnostics_1.FN001024_DEP_microsoft_sp_diagnostics('1.17.0-beta.3'),
45
+ new FN001025_DEP_microsoft_sp_dynamic_data_1.FN001025_DEP_microsoft_sp_dynamic_data('1.17.0-beta.3'),
46
+ new FN001026_DEP_microsoft_sp_extension_base_1.FN001026_DEP_microsoft_sp_extension_base('1.17.0-beta.3'),
47
+ new FN001027_DEP_microsoft_sp_http_1.FN001027_DEP_microsoft_sp_http('1.17.0-beta.3'),
48
+ new FN001028_DEP_microsoft_sp_list_subscription_1.FN001028_DEP_microsoft_sp_list_subscription('1.17.0-beta.3'),
49
+ new FN001029_DEP_microsoft_sp_loader_1.FN001029_DEP_microsoft_sp_loader('1.17.0-beta.3'),
50
+ new FN001030_DEP_microsoft_sp_module_interfaces_1.FN001030_DEP_microsoft_sp_module_interfaces('1.17.0-beta.3'),
51
+ new FN001031_DEP_microsoft_sp_odata_types_1.FN001031_DEP_microsoft_sp_odata_types('1.17.0-beta.3'),
52
+ new FN001032_DEP_microsoft_sp_page_context_1.FN001032_DEP_microsoft_sp_page_context('1.17.0-beta.3'),
53
+ new FN001013_DEP_microsoft_decorators_1.FN001013_DEP_microsoft_decorators('1.17.0-beta.3'),
54
+ new FN001034_DEP_microsoft_sp_adaptive_card_extension_base_1.FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.17.0-beta.3'),
55
+ new FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1.FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.17.0-beta.3'),
56
+ new FN002023_DEVDEP_microsoft_eslint_config_spfx_1.FN002023_DEVDEP_microsoft_eslint_config_spfx('1.17.0-beta.3'),
57
+ new FN002001_DEVDEP_microsoft_sp_build_web_1.FN002001_DEVDEP_microsoft_sp_build_web('1.17.0-beta.3'),
58
+ new FN002002_DEVDEP_microsoft_sp_module_interfaces_1.FN002002_DEVDEP_microsoft_sp_module_interfaces('1.17.0-beta.3'),
56
59
  new FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5_1.FN002020_DEVDEP_microsoft_rush_stack_compiler_4_5('0.4.0'),
57
- new FN002024_DEVDEP_eslint_1.FN002024_DEVDEP_eslint('8.7.0')
60
+ new FN002024_DEVDEP_eslint_1.FN002024_DEVDEP_eslint('8.7.0'),
61
+ new FN007002_CFG_S_initialPage_1.FN007002_CFG_S_initialPage('https://{tenantDomain}/_layouts/workbench.aspx'),
62
+ new FN010001_YORC_version_1.FN010001_YORC_version('1.17.0-beta.3'),
63
+ new FN010010_YORC_sdkVersions_teams_js_1.FN010010_YORC_sdkVersions_teams_js('2.9.1'),
64
+ new FN014008_CODE_launch_hostedWorkbench_type_1.FN014008_CODE_launch_hostedWorkbench_type('edge'),
65
+ new FN014009_CODE_launch_hostedWorkbench_url_1.FN014009_CODE_launch_hostedWorkbench_url('https://{tenantDomain}/_layouts/workbench.aspx')
58
66
  ];
59
- //# sourceMappingURL=upgrade-1.17.0-beta.1.js.map
67
+ //# sourceMappingURL=upgrade-1.17.0-beta.3.js.map
@@ -77,7 +77,7 @@ class SpfxProjectUpgradeCommand extends base_project_command_1.BaseProjectComman
77
77
  '1.15.2',
78
78
  '1.16.0',
79
79
  '1.16.1',
80
- '1.17.0-beta.1'
80
+ '1.17.0-beta.3'
81
81
  ];
82
82
  __classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initTelemetry).call(this);
83
83
  __classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initOptions).call(this);
@@ -13,11 +13,9 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
13
13
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
14
14
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
15
15
  };
16
- var _SpoHomeSiteSetCommand_instances, _SpoHomeSiteSetCommand_initOptions, _SpoHomeSiteSetCommand_initValidators;
16
+ var _SpoHomeSiteSetCommand_instances, _SpoHomeSiteSetCommand_initTelemetry, _SpoHomeSiteSetCommand_initOptions, _SpoHomeSiteSetCommand_initValidators, _SpoHomeSiteSetCommand_initTypes;
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- const config_1 = require("../../../../config");
19
18
  const request_1 = require("../../../../request");
20
- const formatting_1 = require("../../../../utils/formatting");
21
19
  const spo_1 = require("../../../../utils/spo");
22
20
  const validation_1 = require("../../../../utils/validation");
23
21
  const SpoCommand_1 = require("../../../base/SpoCommand");
@@ -32,43 +30,63 @@ class SpoHomeSiteSetCommand extends SpoCommand_1.default {
32
30
  constructor() {
33
31
  super();
34
32
  _SpoHomeSiteSetCommand_instances.add(this);
33
+ __classPrivateFieldGet(this, _SpoHomeSiteSetCommand_instances, "m", _SpoHomeSiteSetCommand_initTelemetry).call(this);
35
34
  __classPrivateFieldGet(this, _SpoHomeSiteSetCommand_instances, "m", _SpoHomeSiteSetCommand_initOptions).call(this);
36
35
  __classPrivateFieldGet(this, _SpoHomeSiteSetCommand_instances, "m", _SpoHomeSiteSetCommand_initValidators).call(this);
36
+ __classPrivateFieldGet(this, _SpoHomeSiteSetCommand_instances, "m", _SpoHomeSiteSetCommand_initTypes).call(this);
37
37
  }
38
38
  commandAction(logger, args) {
39
39
  return __awaiter(this, void 0, void 0, function* () {
40
40
  try {
41
+ if (this.verbose) {
42
+ logger.logToStderr(`Setting the SharePoint home site to: ${args.options.siteUrl}...`);
43
+ logger.logToStderr('Attempting to retrieve the SharePoint admin URL.');
44
+ }
41
45
  const spoAdminUrl = yield spo_1.spo.getSpoAdminUrl(logger, this.debug);
42
- const reqDigest = yield spo_1.spo.getRequestDigest(spoAdminUrl);
43
46
  const requestOptions = {
44
- url: `${spoAdminUrl}/_vti_bin/client.svc/ProcessQuery`,
47
+ url: `${spoAdminUrl}/_api/SPO.Tenant`,
45
48
  headers: {
46
- 'X-RequestDigest': reqDigest.FormDigestValue
49
+ accept: 'application/json;odata=nometadata',
50
+ 'content-Type': 'application/json'
47
51
  },
48
- data: `<Request AddExpandoFieldTypeSuffix="true" SchemaVersion="15.0.0.0" LibraryVersion="16.0.0.0" ApplicationName="${config_1.default.applicationName}" xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009"><Actions><ObjectPath Id="57" ObjectPathId="56" /><Method Name="SetSPHSite" Id="58" ObjectPathId="56"><Parameters><Parameter Type="String">${formatting_1.formatting.escapeXml(args.options.siteUrl)}</Parameter></Parameters></Method></Actions><ObjectPaths><Constructor Id="56" TypeId="{268004ae-ef6b-4e9b-8425-127220d84719}" /></ObjectPaths></Request>`
52
+ responseType: 'json',
53
+ data: {
54
+ sphSiteUrl: args.options.siteUrl
55
+ }
49
56
  };
50
- const res = yield request_1.default.post(requestOptions);
51
- const json = JSON.parse(res);
52
- const response = json[0];
53
- if (response.ErrorInfo) {
54
- throw response.ErrorInfo.ErrorMessage;
57
+ if (args.options.vivaConnectionsDefaultStart !== undefined) {
58
+ requestOptions.url += '/SetSPHSiteWithConfiguration';
59
+ requestOptions.data.configuration = { vivaConnectionsDefaultStart: args.options.vivaConnectionsDefaultStart };
55
60
  }
56
61
  else {
57
- logger.log(json[json.length - 1]);
62
+ requestOptions.url += '/SetSPHSite';
58
63
  }
64
+ const res = yield request_1.default.post(requestOptions);
65
+ logger.log(res.value);
59
66
  }
60
67
  catch (err) {
61
- this.handleRejectedPromise(err);
68
+ this.handleRejectedODataJsonPromise(err);
62
69
  }
63
70
  });
64
71
  }
65
72
  }
66
- _SpoHomeSiteSetCommand_instances = new WeakSet(), _SpoHomeSiteSetCommand_initOptions = function _SpoHomeSiteSetCommand_initOptions() {
73
+ _SpoHomeSiteSetCommand_instances = new WeakSet(), _SpoHomeSiteSetCommand_initTelemetry = function _SpoHomeSiteSetCommand_initTelemetry() {
74
+ this.telemetry.push((args) => {
75
+ Object.assign(this.telemetryProperties, {
76
+ vivaConnectionsDefaultStart: typeof args.options.vivaConnectionsDefaultStart !== 'undefined'
77
+ });
78
+ });
79
+ }, _SpoHomeSiteSetCommand_initOptions = function _SpoHomeSiteSetCommand_initOptions() {
67
80
  this.options.unshift({
68
81
  option: '-u, --siteUrl <siteUrl>'
82
+ }, {
83
+ option: '--vivaConnectionsDefaultStart [vivaConnectionsDefaultStart]',
84
+ autocomplete: ['true', 'false']
69
85
  });
70
86
  }, _SpoHomeSiteSetCommand_initValidators = function _SpoHomeSiteSetCommand_initValidators() {
71
87
  this.validators.push((args) => __awaiter(this, void 0, void 0, function* () { return validation_1.validation.isValidSharePointUrl(args.options.siteUrl); }));
88
+ }, _SpoHomeSiteSetCommand_initTypes = function _SpoHomeSiteSetCommand_initTypes() {
89
+ this.types.boolean.push('vivaConnectionsDefaultStart');
72
90
  };
73
91
  module.exports = new SpoHomeSiteSetCommand();
74
92
  //# sourceMappingURL=homesite-set.js.map
@@ -41,8 +41,8 @@ class SpoTenantRecycleBinItemRemoveCommand extends SpoCommand_1.default {
41
41
  return __awaiter(this, void 0, void 0, function* () {
42
42
  const removeDeletedSite = () => __awaiter(this, void 0, void 0, function* () {
43
43
  try {
44
- const adminUrl = yield spo_1.spo.getSpoAdminUrl(logger, this.debug);
45
- const res = yield spo_1.spo.ensureFormDigest(adminUrl, logger, this.context, this.debug);
44
+ this.spoAdminUrl = yield spo_1.spo.getSpoAdminUrl(logger, this.debug);
45
+ const res = yield spo_1.spo.ensureFormDigest(this.spoAdminUrl, logger, this.context, this.debug);
46
46
  if (this.verbose) {
47
47
  logger.logToStderr(`Removing deleted site collection ${args.options.siteUrl}...`);
48
48
  }
@@ -11,7 +11,7 @@ exports.validation = {
11
11
  }
12
12
  const guidRegEx = new RegExp(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i);
13
13
  // verify if the guid is a valid guid. @meid will be replaced in a later stage with the actual user id of the logged in user
14
- return guidRegEx.test(guid) || guid.toLocaleLowerCase().trim() === "@meid";
14
+ return guidRegEx.test(guid) || guid.toLowerCase().trim() === '@meid';
15
15
  },
16
16
  isValidTeamsChannelId(guid) {
17
17
  const guidRegEx = new RegExp(/^19:[0-9a-zA-Z-_]+@thread\.(skype|tacv2)$/i);
@@ -23,7 +23,8 @@ exports.validation = {
23
23
  },
24
24
  isValidUserPrincipalName(upn) {
25
25
  const upnRegEx = new RegExp(/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/i);
26
- return upnRegEx.test(upn);
26
+ // verify if the upn is a valid upn. @meusername will be replaced in a later stage with the actual username of the logged in user
27
+ return upnRegEx.test(upn) || upn.toLowerCase().trim() === '@meusername';
27
28
  },
28
29
  isDateInRange(date, monthOffset) {
29
30
  const d = new Date(date);
@@ -11,14 +11,17 @@ m365 spo homesite set [options]
11
11
  ## Options
12
12
 
13
13
  `-u, --siteUrl <siteUrl>`
14
- : The URL of the site to set as Home Site.
14
+ : The URL of the site to set as Home site.
15
+
16
+ `--vivaConnectionsDefaultStart [vivaConnectionsDefaultStart]`
17
+ : When set to `true`, the Viva Connections landing experience is set to the SharePoint home site. If set to `false`, the Viva Connections home experience will be used.
15
18
 
16
19
  --8<-- "docs/cmd/_global.md"
17
20
 
18
21
  ## Remarks
19
22
 
20
23
  !!! important
21
- To use this command you have to have permissions to access the tenant admin site.
24
+ To use this command you must be a Global or SharePoint administrator.
22
25
 
23
26
  ## Examples
24
27
 
@@ -28,8 +31,22 @@ Set the specified site as the Home Site.
28
31
  m365 spo homesite set --siteUrl https://contoso.sharepoint.com/sites/comms
29
32
  ```
30
33
 
34
+ Sets the Home site to the provided site collection url and sets the Viva Connections landing experience to the SharePoint home site
35
+
36
+ ```sh
37
+ m365 spo homesite set --siteUrl https://contoso.sharepoint.com/sites/comms --vivaConnectionsDefaultStart true
38
+ ```
39
+
40
+ Sets the Home site to the provided site collection url and sets the Viva Connections landing experience to the default experience
41
+
42
+ ```sh
43
+ m365 spo homesite set --siteUrl https://contoso.sharepoint.com/sites/comms --vivaConnectionsDefaultStart false
44
+ ```
45
+
31
46
  ## Response
32
47
 
48
+ ### Standard response
49
+
33
50
  === "JSON"
34
51
 
35
52
  ```json
@@ -54,6 +71,34 @@ m365 spo homesite set --siteUrl https://contoso.sharepoint.com/sites/comms
54
71
  The Home site has been set to https://contoso.sharepoint.com. It may take some time for the change to apply. Check aka.ms/homesites for details.
55
72
  ```
56
73
 
74
+ ### `vivaConnectionsDefaultStart` response
75
+
76
+ When we make use of the option `vivaConnectionsDefaultStart` the response will differ.
77
+
78
+ === "JSON"
79
+
80
+ ```json
81
+ "The Home site has been set to https://contoso.sharepoint.com and the Viva Connections default experience to True. It may take some time for the change to apply. Check aka.ms/homesites for details."
82
+ ```
83
+
84
+ === "Text"
85
+
86
+ ```text
87
+ The Home site has been set to https://contoso.sharepoint.com and the Viva Connections default experience to True. It may take some time for the change to apply. Check aka.ms/homesites for details.
88
+ ```
89
+
90
+ === "CSV"
91
+
92
+ ```csv
93
+ The Home site has been set to https://contoso.sharepoint.com and the Viva Connections default experience to True. It may take some time for the change to apply. Check aka.ms/homesites for details.
94
+ ```
95
+
96
+ === "Markdown"
97
+
98
+ ```md
99
+ The Home site has been set to https://contoso.sharepoint.com and the Viva Connections default experience to True. It may take some time for the change to apply. Check aka.ms/homesites for details.
100
+ ```
101
+
57
102
  ## More information
58
103
 
59
104
  - SharePoint home sites: a landing for your organization on the intelligent intranet: [https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933](https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "6.4.0-beta.140530d",
3
+ "version": "6.4.0-beta.33050ca",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",