Edit

Enable and activate e-commerce maintenance mode

Note

Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.

This article describes how to enable and activate e-commerce maintenance mode and build an optional custom maintenance mode page in Microsoft Dynamics 365 Commerce.

Use maintenance mode to block access to an entire e-commerce site when you need to temporarily take down the site for development or other reasons. When you enable maintenance mode, the site shows a default static maintenance mode page. You can also create a custom maintenance mode page.

Enable and activate maintenance mode

To enable and activate maintenance mode in Commerce site builder, follow these steps:

  1. In site builder, go to your site.
  2. In the left navigation, under Site Settings, select Extensions.
  3. Select the Maintenance mode checkbox to enable maintenance mode.
  4. On the action pane, select Save and publish to activate maintenance mode.

After you enable and activate maintenance mode, users who browse to the e-commerce site see the default maintenance mode page, as shown in the following illustration.

Screenshot of the default maintenance mode page for an e-commerce site.

Create a custom maintenance mode page

To create a custom maintenance mode page in site builder, follow these steps:

  1. In site builder, create a new custom maintenance mode page. For instructions on creating site pages, see Add a new site page. The following illustration shows an example.

    Screenshot of creating a custom maintenance mode page in Commerce site builder.

  2. In the left navigation pane, select URLs. On the action pane, select New > New alias to create a new alias.

  3. In the New alias dialog box, select the new maintenance mode page. In the Alias field, enter default-maintenance as the alias name.

  4. Publish the custom maintenance mode page.

After you complete these steps and enable maintenance mode, site users see the custom maintenance mode page, as shown in the following example illustration.

Screenshot of a custom maintenance mode page displayed to site users.