AJ ZAFAR

Architecting intelligence. Delivering impact.

Power Platform3 min read

Power Pages Security Agent preview: an AI partner for site security

Power Pages now has a Security Agent in preview, built into the Security workspace. It reviews posture, permissions, authentication and headers, and only changes what you approve.

The Security workspace in Power Pages design studio with the Security Agent pane open

Power Pages sites are public-facing by design, which makes security configuration one of the most important and least loved parts of any project. Table permissions, web roles, authentication providers and HTTP headers all interact, and a single Global scope in the wrong place can expose data to the internet.

Yesterday Microsoft announced the Power Pages Security Agent, now in preview. I have spent a lot of time auditing Power Pages sites, so this one caught my attention.

What was announced

The Security Agent is built into the Security workspace in Power Pages design studio. It is grounded in your site’s actual configuration, so answers are about your site rather than generic advice.

It covers four main scenarios:

  • Security posture review: a review across authentication, authorisation, site settings, vulnerability scan findings and what anonymous users can reach.
  • Authorisation: table permissions, web roles and page permissions, with a focus on least privilege and correct permission scopes.
  • Authentication: configuring and troubleshooting identity providers, including Microsoft Entra ID, Microsoft Entra External ID, Azure AD B2C, OpenID Connect and SAML 2.0.
  • Application security: Content Security Policy, HTTP headers, CORS and cookie settings.

You talk to it in plain language. Prompts like these are the starting point:

  • “Review my site’s security”
  • “Which tables can anonymous users access?”
  • “Change this table permission from Global scope to Contact scope”

The most important design choice: the agent never applies changes automatically. It explains what it plans to change, waits for your explicit approval, and confirms afterwards.

The Power Pages Security workspace with the Security Agent chat pane open beside the site's security settings
The Security Agent sits inside the Security workspace in design studio.Edit: screenshot updated to the current interface.Image: Microsoft Learn (CC BY 4.0)

What it means for organisations

Security reviews become routine, not a project. On most Power Pages engagements, a security review happens once, late, and by whoever knows the platform best. An agent that can answer “which tables can anonymous users access?” in seconds means makers can check as they build, not just before go-live.

Least privilege gets easier to reach. Over-broad table permissions are the most common issue I find. Global scope used because Contact or Account scope was harder to set up is a classic. Having an assistant that spots these and proposes the narrower scope lowers the effort of doing it properly.

Authentication troubleshooting is a real time saver. Getting Entra External ID, B2C or a SAML provider working can eat days. Guidance grounded in the site’s own settings should shorten that.

It does not replace your process. Microsoft recommends using the agent in development or test environments and promoting changes through ALM, such as Power Platform Pipelines. I agree. Approving a change in production through chat, however well explained, skips the review and audit trail you need. And as a preview feature, it is not intended for production use.

Humans still own the decisions. The approval model is the right one, but approval fatigue is real. Whoever clicks approve needs to understand table permissions and web roles well enough to know when the agent’s proposal does not fit the business requirement.

What I would do now

↑↓ navigateEnter openEsc close