Power Pages - Connectivity to Microsoft Dataverse (Full Explanation)
Power Pages – Connectivity to Microsoft Dataverse (Full Explanation)
Understand how Power Pages securely connects to Dataverse using Azure AD, S2S authentication, Application Users, and backend integration.
1. Server-to-Server (S2S) Connection Overview
When a Power Pages site is created, an Azure AD (Microsoft Entra) application is automatically provisioned. This application uses a secure X.509 authentication certificate to request tokens and communicate with Dataverse.
- The Azure AD app name usually follows: Portals - portalid
- Never delete or modify this app - the website will stop functioning
- The authentication certificate key expires every 2 years and must be rotated
Microsoft provides a visual diagram showing how Power Pages securely communicates with Dataverse through Azure AD.
View Dataverse ↔ Power Pages Connectivity Diagram2. Dataverse Integration Through Application User
Earlier, portals used the SYSTEM user to perform all operations. Now, Power Pages uses a dedicated Application User in Dataverse. This improves tracking, auditing, and overall security.
- View S2S App Users in Admin Center → Environment → Settings → Users + Permission → Application Users → #Portals -SiteName
- These users have specific roles like:
- Portal Application User
- Service Writer
- Service Deleter
- Never remove these roles-they control Dataverse access
Microsoft provides a screenshot that shows how the application user appears in Dataverse.
View Application User Screenshot3. Migration & Customization Checks
Microsoft is migrating older portals to the new Application User model. Before migration, verify your customizations to prevent authentication issues.
Important Items to Review
- Update FetchXML or Liquid that filters by SYSTEM user
- Check workflows owned by SYSTEM - reassign if needed
- Always validate changes in a sandbox before production deployment
Comments
Post a Comment