View Website Error Logs in Power Pages

View Website Error Logs in Power Pages

Power Pages provides multiple options to view and manage website error logs, helping administrators and developers troubleshoot issues efficiently.

These logs include custom errors, plugin errors, and diagnostic logs stored in Azure Blob Storage.

---

Custom Error Handling

---

Enable / Disable Custom Errors

  1. Go to Power Platform Admin Center.
  2. Select Resources → Power Pages Sites.
  3. Open your site.
  4. Go to Site Actions.
  5. Choose Enable or Disable Custom Errors.
  6. Confirm changes (site restarts briefly).
---

Enable Diagnostic Logging

  1. Go to Power Platform Admin Center → Power Pages Sites.
  2. Select your site.
  3. Open Site Actions → Enable Diagnostic Logs.
  4. Configure retention period (1–180 days).
  5. Provide Azure Blob Storage connection string.
  6. Enable logging.
--- Important: Logs are stored in a telemetry-logs container in Azure Blob Storage. ---

Update or Disable Logging

---

Plugin Error Display

You can display Dataverse plugin errors directly on Power Pages forms for easier debugging.

---

Best Practices

---

Key Takeaways