Skip to content

Commit 9c6f3fb

Browse files
authored
Merge pull request #3419 from MicrosoftDocs/portals-2027680
Portals - maintenance mode updates - 2027680
2 parents 8191006 + df7b87d commit 9c6f3fb

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

powerapps-docs/maker/portals/admin/enable-maintenance-mode.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ author: neerajnandwana-msft
55
ms.service: powerapps
66
ms.topic: conceptual
77
ms.custom:
8-
ms.date: 11/11/2019
8+
ms.date: 09/22/2020
99
ms.author: nenandw
1010
ms.reviewer: tapanm
1111
---
1212

1313
# Maintenance mode for a portal
1414

15-
There might be times when your website is under scheduled maintenance or is down due to temporary outage. When a customer accesses the website during maintenance, unpredictable behavior and intermittent unavailability might be experienced.
15+
There might be times when your website is under scheduled maintenance or is down because of temporary outage. When a customer accesses the website during maintenance, unpredictable behavior and intermittent unavailability might be experienced.
1616

17-
As a portal administrator, you can configure your portal to display a proper message to customers whenever a maintenance activity is going on (for example, "Solution packages are being upgraded.") You can leverage this capability by enabling the maintenance mode on your portal. When the maintenance mode is enabled, a message is displayed, and the customers are restricted from browsing any webpages except the `<portal URL>/_services/about` page.
17+
As a portal administrator, you can configure your portal to display a proper message to customers whenever a maintenance activity is going on (for example, "Solution packages are being upgraded.") You can benefit from this capability by enabling the maintenance mode on your portal. When the maintenance mode is enabled, a message is displayed, and the customers are restricted from browsing any webpages except the `<portal URL>/_services/about` page.
1818

1919
> [!div class=mx-imgBorder]
2020
> ![Default maintenance mode page](../media/default-maint-page.png "Default maintenance mode page")
2121
2222
## Enable maintenance mode
2323

24-
You can enable maintenance mode on your portal to provide a consistent message, instead of dealing with unpredictable behavior when your website is under scheduled maintenance. This will provide a better experience for your portal users.
24+
You can enable maintenance mode on your portal to provide a consistent message, instead of dealing with unpredictable behavior when your website is under scheduled maintenance. This capability will provide a better experience for your portal users.
2525

2626
1. Open [Power Apps Portals admin center](admin-overview.md).
2727

@@ -37,16 +37,25 @@ You can enable maintenance mode on your portal to provide a consistent message,
3737

3838
- **Custom page**: Select this value if you want a custom HTML page to be displayed when maintenance mode is enabled.
3939

40-
- **Custom page URL**: This field is enabled only when you select the option to display a custom HTML page. You must ensure that the page URL you provide is publicly accessible. If the specified HTML page can't be reached, the default page is displayed with a note to the administrators.
41-
42-
> [!NOTE]
43-
> The custom maintenance page uses IFrame to display the page. Hence, the page should not contain the `x-frame-options:SAMEORIGIN` response header, else the page will not load.
40+
- **Custom page URL**: This field is enabled only when you select the option to display a custom HTML page.
4441

42+
> [!IMPORTANT]
43+
> Read the [custom maintenance page considerations](#considerations-for-custom-maintenance-page) before using custom maintenance page.
44+
4545
5. Select **Enable**. While maintenance mode is being enabled, the portal restarts and is unavailable for a few minutes.
4646

4747
> [!div class=mx-imgBorder]
4848
> ![Enable maintenance mode settings](../media/enable-maint-mode.png "Enable maintenance mode settings")
4949
50+
### Considerations for custom maintenance page
51+
52+
- Ensure the page URL you provide is publicly accessible.
53+
- The custom maintenance page uses IFrame to display the page. So, the page shouldn't contain the `x-frame-options:SAMEORIGIN` response header, else the page won't load.
54+
- Don't host custom maintenance page on a Power Apps portal. If a portal is unavailable (for reasons such as data migration, solution upgrade, an outage, or any other maintenance activity), the custom maintenance page hosted on the same portal won't be accessible.
55+
- If the custom maintenance page is inaccessible publicly, or if you host the page on a Power Apps portal where custom maintenance mode is enabled, the default maintenance page is used instead. The page also shows the following note for the administrators:
56+
57+
`Note for administrators: The custom page for maintenance mode could not be displayed due to configuration errors.`
58+
5059
## Configure or disable maintenance mode
5160

5261
After enabling maintenance mode for your portal, you can update the maintenance mode settings and choose a different page.

0 commit comments

Comments
 (0)