Exercise - Run the site checker

Completed

Making a site live for production use is an important business step. The Go-live checklist includes interactive tasks that guide you in reviewing and completing the recommended actions before the site goes live. In this exercise, you'll complete some steps of the Go-live checklist.

At the end of these exercises, you'll be able to:

  • Access the Go-live checklist.

  • Run the Portal Checker.

  • Respond to the mitigation advice.

  • Rerun the Portal Checker to confirm that the issue has been addressed.

  • Switch the site from private to public access.

For this exercise, you'll need to have the following components set up in your environment:

  • A provisioned Power Pages site. If you don't have a Power Pages site available, follow the Create and manage Power Pages sites instructions to create one.

  • Access to the Power Pages design studio

  • Access to the Power Pages Management app.

Scenario

Your company has completed the Power Pages site development and wants to make the site available to the public. Prior to going live, they want to ensure that the site passes all site checker tests.

Steps

In this exercise, you'll make a few changes to your site configuration. Next, you'll run the Portal Checker tool from the Power Apps admin center and then evaluate the results. After you've addressed the issue, you'll rerun the Portal Checker to ensure that the issue has been resolved. The final step is to switch the site access from private to public and verify that the site is open to the public.

The high-level steps are as follows:

  1. In the Portal Management app, locate the Header/OutputCache/Enabled site setting and then update the value to False.

  2. Synchronize site settings and run the Portal Checker. The warning message for the Header output cache.

  3. Locate the Header/OutputCache/Enabled site setting and then update the value to True.

  4. Synchronize site settings and run the Portal Checker. The warning for the Header output cache has been cleared.

  5. Verify that site visibility is set to private. Test access to the site by using InPrivate mode.

  6. Set site visibility to public and then test site availability.

Disable header output cache

Your first task is to disable the header output cache:

  1. Sign in to Power Pages.

  2. Select a target environment by using the environment selector in the upper-right corner.

  3. Select the overflow (...) menu for the target portal and then select Power Pages Management.

    Screenshot of the Power Pages Home screen with the list of available sites. One site shows an ellipsis menu expanded and the Power Pages management menu item selected.

  4. The Power Pages Management app will open in a new window.

  5. Select Site Settings.

  6. Locate the Header/OutputCache/Enabled site setting.

    Tip

    Use the search functionality and look for header to quickly locate the row.

    Screenshot of the Portal Management app with Site Settings selected and the Header OutputCache Enabled setting located.

  7. Open the setting, update the value to False, and then select Save.

    Screenshot of the disable header output cache with the Value updated to False and the Save button highlighted.

  8. Leave the Power Pages Management app open.

Launch Power Pages Go-Live checklist

To launch the Power Pages Go-live checklist, follow these steps:

  1. Switch to the Power Pages Home window.

  2. Select your site and then select Edit to launch the design studio.

  3. Select the Set up workspace.

  4. Select Go-live checklist under General.

    Screenshot of the Set up workspace in Power Pages design studio with the Go-live checklist selected.

Run the site checker

Next, you'll run the site checker:

  1. Select the Sync button in the upper-right corner to flush the cache and synchronize site configuration.

  2. Expand the Run the site checker dropdown menu.

  3. Select the Run site checker button.

  4. In the Site checker results panel, the Header output cache entry should have a warning. Expand the message for more details.

    Screenshot of the warning under the Header output cache entry in the Site checker results panel.

Enable header output cache

To enable the header output cache, follow these steps:

  1. Return to the Portal Management app.

  2. Update the Header/OutputCache/Enabled site setting to True and then select Save.

Check the issue resolution

To check the issue resolution, follow these steps:

  1. Repeat the preceding steps to flush the cache and synchronize configuration.

  2. Run the Portal Checker tool.

  3. Verify that the header output cache issue has been resolved.

    Screenshot of the site checker output showing that the Header output cache check has passed.

Note

Warnings and errors are prioritized and are always displayed first in the list. The Header output cache entry is no longer a warning and might be in a different position in the list than previously.

Check site availability

Your next step is to check site availability:

  1. In the Power Pages design studio, select Site details.

  2. Locate the site URL and then right-click and select Open in InPrivate Window.

    Screenshot of the Set up workspace with Site details selected. The context menu is displaying the site URL with the Open in InPrivate Window option highlighted.

    The new window should open and display the Microsoft Entra ID authentication prompt.

    Tip

    If the site visibility doesn't change, synchronize site settings, wait a few moments, and then try again.

  3. Close the window.

Set public site visibility

To set public site visibility, follow these steps:

  1. Return to the Power Pages design studio.

  2. Select Site visibility under Security.

  3. Select Public under This site is.

  4. Select the Set to public button when prompted.

    Screenshot of Power Pages design studio with Site visibility selected and a prompt to confirm visibility changes from private to public.

  5. Wait for the operation to complete. The site header should change from Private to Public.

    Screenshot of header changed to public.

Verify public site access

Your last task is to verify public site access:

  1. In the Power Pages design studio, select Site details.

  2. Locate the site URL and then right-click and select Open in InPrivate Window. The new window should open with the site home page displayed.

  3. Repeat the previous steps and then set the site visibility back to private.