Skip to content

Tech

Power Pages and Dynamics 365 integration: common questions

By Jasper Black 5 min read

Customer portal on a tablet beside a sales dashboard on a monitor, showing Power Pages and Dynamics 365 integration through one shared data source

Power Pages and Dynamics 365 integration starts with a shared layer: Microsoft Dataverse, where apps such as Dynamics 365 Sales and Customer Service store their data and where a Power Pages site reads and writes business data. Add Power Automate on top and an external request can travel all the way to an internal approval. The questions below cover how the pieces connect, what protects the data and where the documented limits sit.

How does the Power Pages and Dynamics 365 integration work?

Power Pages builds sites on the same Dataverse business data that apps, workflows and reports use. Dynamics 365 apps such as Sales, Customer Service and Human Resources store their data in Dataverse too, and Microsoft’s Dataverse documentation says this lets you build apps against Dynamics 365 data without the need for integration.

Finance and Operations apps are the exception to watch: the same documentation says they need the Data Integrator configured before their data becomes available in Dataverse.

Which Dynamics 365 data can a portal show?

Only what you explicitly allow. Access to Dataverse records is restricted automatically across forms, lists, Liquid and the Web API, and you open it by configuring table permissions and associating them with web roles. A table permission with no web role does not take effect.

Signed-in users are Dataverse contact records. Every authenticated contact receives the Authenticated Users web role automatically, while anonymous visitors get the Anonymous Users role.

How do you stop customers from seeing each other’s records?

Access types decide which records a role can reach:

  • Global access applies to all records.
  • Contact access applies to records tied to the signed-in user.
  • Account access applies to records tied to the signed-in user’s account.
  • Self access applies only to the user’s own contact record.

Account access suits a supplier whose staff should see only that supplier’s purchase orders. Custom access, still in preview, filters records with FetchXML and exists only on sites enabled for enhanced authorization. For a view of how consultants sequence this design work, see the implementation methodologies covered in this Power Pages article.

Can a portal submission start an approval?

Yes, through Power Automate. The portal can invoke a cloud flow directly, or the flow can start from the Dataverse trigger When a row is added, modified or deleted, which runs whenever a row in the selected table is created or changes, within the scope you choose.

A flow then sends the request to the approvers with the Start and wait for an approval action. Power Automate approvals work with services that include Dynamics 365, so the decision can come from people who live in that system.

Who can answer the approval, and what do they need?

The request can be answered straight from Outlook, from an adaptive card in Teams or from the action center. Anyone in your Dataverse environment or Microsoft Entra tenant can be the assignee, guest users and Microsoft 365 groups included. People outside the environment receive the Approvals User security role automatically, and they need it for their responses to be processed and kept in their approvals history.

Some tenant settings block this, such as a disabled AllowAdHocSubscriptions setting in Microsoft Entra, so check with the tenant administrator before launch.

What should you know about row triggers?

Four settings shape the behavior:

  • The change type picks what starts the flow: a create, an update or a delete.
  • The scope limits which rows count: business unit, organization, parent and child business units, or user.
  • Select columns narrows update triggers to the columns you list, but lookup columns are not supported there.
  • Filter rows accepts an OData style expression for finer conditions.

When one row receives several updates, the trigger is evaluated for each of them, even if the values did not change, and that can mean several runs. Filter on a status column so the approval starts only when the status changes. The trigger also does not support 1:N or N:N relationships.

Does Dataverse offer logic besides Power Automate?

Yes. Business rules validate data across several columns and tables and show warnings and errors regardless of the app that created the data. Workflows automate business processes without user interaction, and business process flows guide users through the same steps every time, although those are supported only for model-driven apps. Keep validation in business rules where you can, and use Power Automate for the steps around the decision.

How long can an approval stay open?

Every flow run has a 30 day ceiling, and a pending approval counts toward it. Once the run passes that mark, the pending step times out. For a portal this matters on the requester’s side. If the record shows a status such as pending, approved or expired, the flow has to set the final value before the limit arrives, or the visitor keeps seeing a request that nobody will answer.

Leave a Reply

Your email address will not be published. Required fields are marked *

Browse other sections