Lately, I’ve been working a lot with Power Pages and have noticed that troubleshooting is when you really learn the most.
If you’ve used Microsoft Power Pages, you know it’s a great way to build secure, data-driven websites that connect to Dataverse. But when things go wrong, like a form not submitting or access being blocked, troubleshooting is key.
In this post, I will share some useful troubleshooting steps for Power Pages to use them if you are stuck or want to enhance your problem-solving skills.

 

Enable Diagnostic Logging

Go to the Power Platform admin portal, find your Power Pages site under ManageProductsPower Pages, click on Site Actions in the top menu, and select Enable diagnostics logs.

Before you enable diagnostics, first set up an Azure Storage Account to get the connection string.

  • Go to the Azure Portal.
  • Open your Storage Account (for example, ppstoragelogs).
  • In the left menu, find the “Security + networking” section and click “Access keys
  • Under key1,  click “Show” next to “Connection string” and copy the full connection string.

  • Go back to the Enable Diagnostic Logging panel in Power Pages.
  • Choose a retention period, like 30 days.
  • Enter the Azure Storage connection string in the required field. Then, click Enable.

 

After you enable Diagnostic logging, you will be able to view two new containers in your Azure storage account: telemetry-logs and lockcontainer.

 

DevTools Extension
The Power Pages DevTools extension is a helpful tool for debugging code. It works as an Edge browser extension and adds features to the standard developer tools.

The tool is currently available in Microsoft Edge.

To install the tool,  use your Microsoft Edge browser to go to the Edge Add-ons page and search for “Microsoft Power Pages” or click on this link.

Then tap on the Get button.

Click the button Add extension.

After you install the extension to your Edge browser, you have to enable the diagnostic setting on your Power Pages site.

Open Power Pages Portal Management, select Website, then Site settings. Add or update a site setting called “UserTrace/Debug“, and set the value to “true“.

Finally, restart the Power Pages site to complete the process.

Now, to be able to use this useful extension, open your browser and press F12 to open the DevTools.

You will be able to view the Power Pages extension activated on your Edge.

Next, go to your Power Pages site to check for any errors.

Share This