
Pragmatic Works published a YouTube video titled "Creating a Power Page with Claude - Session 6 - Turning on Authentication," which documents the moment a development preview site becomes usable by real people. In this installment, presenter Brian Knight uses Claude Code to enable authentication and move the site away from the placeholder Jane Doe experience. The video focuses on wiring web authentication, correcting the login provider, and building a profile page that reads from and writes to the Dataverse Contact table.
The walkthrough begins with practical steps: back up the project, run the authentication setup command, and deploy changes to the site. Brian then shows how to iterate when the site does not behave as expected, using both screenshots and the browser network panel to collect evidence. As a result, the session illustrates a real workflow: diagnose, feed context to Claude Code, accept generated fixes, and redeploy until the authentication flows function correctly.
The video emphasizes the diagnostic value of the browser's network tab and clear screenshots when tracking down problems such as 404 errors and incorrect profile routing. Brian demonstrates feeding those real error details back into Claude Code so the AI can propose targeted code changes, which speeds up diagnosis and remediation. After clearing caches and deploying fixes, the site begins to show the signed-in user correctly and profile edits propagate back to the Dataverse Contact table as intended.
Although authentication and profile handling are working, the host notes that the "create request" flow remains incomplete and must be wired to actually create Service Request records through the Web API. To verify that flow, Brian uses the network stack to watch for API calls and to confirm whether the correct payloads reach the backend. He outlines the remaining tasks needed to reach production readiness and explains how monitoring network traffic helps validate both success and failure cases before final deployment.
The video implicitly highlights tradeoffs between speed and control when adopting AI-assisted tools like Claude Code. On one hand, the plugin accelerates common tasks such as authentication scaffolding and role wiring, which reduces manual errors and saves time. On the other hand, relying on generated code can obscure implementation details and increase the need for careful review, especially around security mechanisms like anti-forgery tokens and role-based rendering.
When enabling authentication, teams must balance convenience against the need for exact configuration and auditability, particularly in enterprise contexts that use Entra ID for identity. The video shows how automatic generation gets most of the heavy lifting done but still requires human oversight to ensure role mappings, permission sets, and anti-forgery protections are correct. Therefore, the suggested approach is to use AI to scaffold and prototype, while retaining developer review and testing before promoting changes to production.
Another challenge covered is the common friction caused by caching and routing that hides real-time fixes. In the session, stale caches initially preserve the placeholder Jane Doe state and can mislead developers during testing. Brian’s approach—clearing the cache, reproducing the error, and then validating with the network panel—provides a practical recipe for confirming that generated fixes have truly taken effect.
Brian recommends a stepwise workflow that starts with a full project backup, runs the setup-auth command, deploys, and then immediately tests the site with diagnostic tools. He also advises collecting actionable error context to feed back into the AI so it proposes relevant corrections, which helps shorten the turnaround between discovery and patch. Finally, he stresses validating end-to-end behavior by watching the network calls and confirming data writes to Dataverse.
This session makes a practical case for combining AI-driven generation with manual validation in modern portal projects. Teams can gain speed and avoid repetitive configuration work while still keeping control over security and integration details. In the end, the tutorial is a concise playbook: use automation for scaffolding, rely on diagnostics for troubleshooting, and reserve human review for final verification.
Pragmatic Works’ Session 6 provides a clear, actionable record of turning on authentication for a Power Pages site using Claude Code, while also showing the inevitable iterations that follow. The video is useful to developers who want a practical demonstration of how AI-assisted tools fit into a disciplined deployment and testing cycle. As teams adopt these workflows, they will still need to balance fast iteration with thorough checks, especially where identity, data integrity, and user roles are concerned.
Power Pages authentication setup, Claude AI Power Pages tutorial, Creating a Power Page with Claude, Power Pages secure authentication guide, Enable authentication in Power Pages, Azure AD authentication for Power Pages, Power Pages Session 6 tutorial, Claude-driven Power Page authentication walkthrough