1 Jan’18

Dynamics 365, EnterpriseIntegrate PowerApps with Dynamics 365

Introduction:

This blog explains how to Integrate PowerApps with Dynamics 365.

Keep the following restrictions in mind:

  • Only PowerApps users in the same tenant can access the embedded app.
  • To access PowerApps using Internet Explorer 11, you must turn off Compatibility View.

Steps to be followed:

  1. In powerapps.com, on the Apps tab, click or tap the ellipsis ( . . . ), then Details.
  2. Copy the App ID.3. Substitute the [App ID]value in the URI.: https://web.powerapps.com/webplayer/iframeapp?hideNavBar=true&source=iframe&appId=/providers/Microsoft.PowerApps/apps/579938ff-e1a0-4891-a8b9-8d69c103fd84
  3. Embed your app in a website: Embedding your app is now as simple as adding the iframe to the HTML code for your site.

    http://<iframe width=”[W]” height=”[H]” src=”https://web.powerapps.com/webplayer/iframeapp?hideNavBar=true& source=website&screenColor=rgba(165,34,55,1)&appId=/providers/Microsoft.PowerApps/apps/[AppID]”/>

To add PowerApp inside CRM  as web resource:

Keep the following points in mind for authenticating users of your app:

  • If your website uses Azure Active Directory (AAD) based authentication, no additional sign-in is required.
  • If your website uses any other sign-in mechanism or is not authenticated, your users see a sign-in prompt on the iframe. After they sign-in, they will be able to run the app as long as the author of the app has shared it with them

Steps:

  • Specify the width and height for App.
  • Specify the app id.

Sample HTML code:

<!DOCTYPE html>

<html>  <head>

<title>HTML Iframes</title>

</head>

<body>

<p>App Goes here...</p>

<iframe width="250" height="250" src="https://web.powerapps.com/webplayer/iframeapp?hideNavBar=true&source=website&screenColor=rgba(165,34,55,1)&appId=/providers/Microsoft.PowerApps/apps/579938ff-e1a0-4891-a8b9-8d69c103fd84" />

</body>

</html>

 

Written by

Vaishali Vyas

Trainee Software Engineer

Leave a Reply

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

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Commands to Import .bacpac file to D3FOE SQL Server

    14 May’ 2018

    Introduction: This blog article will explain how to import a .bacpac file to Microsoft SQL Server which is created from ...

    Read more
  • [Solved] – Backspace not working in HTML Web Resources

    11 May’ 2018

    Issue: When we use a HTML web resource in Dynamics 365 CRM forms or even as a separate navigation, we sometimes face is...

    Read more
  • Dynamics 365 Tip: Sending Emails using Unified Interface

    10 May’ 2018

    Introduction: The unified client which was released D365 V9 had a very refreshing UI and lots of features. One of the b...

    Read more
  • Filtering Records on BPF unlike on Form – D365

    10 May’ 2018

    Introduction: Working with D365 is best when you’re trying to use as much OOB stuff as possible. Simplest configurati...

    Read more
  • Filter records in gallery control based on value selected in other gallery control in PowerApps.

    10 May’ 2018

    Introduction: This blog explains how to Filter records in gallery control based on value selected in other gallery cont...

    Read more