Skip to content
Discussion options

You must be logged in to vote

Embedding a Code App in a Model-Driven App is supported today via an iframe web resource. Here's how to get it working:

  1. Get your Code App's play URL — open the app in Power Apps and copy the URL from the browser. It follows the form:
    \n https://apps.powerapps.com/play/e/{environmentId}/app/{appId}?tenantid={tenantId} \n\n2. Add an iframe web resource to your MDA pointing to that URL.

  2. Update the CSP frame-ancestors directive — by default, Code Apps only allow framing from *.powerapps.com. To allow your MDA host (e.g. https://<your-org>.crm.dynamics.com), add it to the frame-ancestors list in the Power Platform admin center. Without this step the browser will block the frame.

Full wal…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eschavez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants