Embedding and Viewing an AI Builder Model in PowerApps and Dynamics 365

Leave a comment

In our last post, we created a Binary Classification model using the AI Builder in Microsoft PowerApps. In this post, we will continue the example and embed the results in a PowerApp / Dynamics 365 so users can view these results.

First, select the AI Model and in the bottom, click Publish:

This will publish the model:

Once complete, the model will show as “Live”:

Now, let’s add this to an existing model-driven app (or, using similar steps you can add this to a new app).

We will show our AI model data in our app through a View, and we will set up our site map so users can access the view through our new entity which holds the online shopper data.

Click on Data->Entities, and select the new Online Shopper Intention entity, then go to Views:

Provide a name for the view and click Create:

You will see below:

Add some columns, including the AI Model columns, then click Save and Publish:

Now let’s add the view to the Site Map. Select an App. We will add this to our Sales Hub app. Select it and click Edit:

Select Entities:

Search for our new Online Shopper Intention entity and check it, then click Back:

Edit the Site Map:

Click New->Group:

We will call it Predictions. Now create a new Subarea:

Select the entity as Online Shopper Intention:

Click Save and Publish.

Go to the app. We see our new group, Predictions, and subarea, Online Shopper Intention:

We can change our view to our new Online Shopper Predictions view and see the prediction fields we added:

We are now viewing our prediction model inside our PowerApp / Dynamics 365.



Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube


Leave a Reply

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