Dynamics 365 Dynamics NAV 2017

Build a PowerApp – Data from Nav 2017 Part1


PowerApps is a tool provided by Microsoft which lets you build business apps quickly using data from Microsoft and Non-Microsoft services. To get data from NAV 2017 into PowerApps we will need to set up a connector.


  1. Microsoft Office 365 account with PowerApps plan or trial enabled
  2. Dynamics NAV 2017 with NavUserPassword enabled since windows authentication is not supported. Please follow this awesome blog by Saurav Dhyani if you need help setting it up.
  3. Public IP on NAV server so that the connector can connect and fetch data from tables.
  4. Basic NAV knowledge


  1. Create a new user in NAV. This can be done by searching for ‘Users’



  1. Click on New and enter User Name and then generate a webservice key. This key will be used by connector as password.

Note your username and webservice key as they will be need in further steps.

  1. Go to WebServices page and Click on new. Select object type as Page , and number as 31. Enter itemlist in Service Name and then click on Publish.


  1. Click on Reload. Copy the OdataV4 URL from this page.

It should be of the form

http://<server IP>:<OdataPort>/<your instance name>/ODataV4/Company(‘CRONUS%20Canada%2C%20Inc.’)/itemlist

  1. Next step is to Open powerapps web portal by going to https://web.powerapps.com/

You may have to login to your Account.



  1. Click on Connections on the left pane and Click on NEW CONNECTION on top right
  2. Select Dynamics NAV from the list and click on + button next to it.
  3. This will open a form. Enter your generic odatav4 url. Don’t add company or service name part of the URL.

For Example: http://<server IP>:<OdataPort>/<your instance name>/ODataV4/

Enter Username of the user you created and Webservice key in Password field.

Enter your Nav Company name.

Click on Create.

  1. Click on + New App button on bottom left.


  1. Click on the Right Arrow in Start with your data icons.

  1. Select Dynamics NAV. Select Default.
  2. Select itemlist and click on connect on the choose table list.


  1. This will start building the app. Basically PowerApps will try and build a app based on the itemlist webservice.


  1. Once its ready the app can be customized.

  1. At this point you can play around with different settings and options to customize the app.

For Example I am going to change the layout of the BrowseScreen1 to include images. Layout can be found under Data Tab.

  1. Next , change the fields to be shown on this screen. This is done by changing the subtitle 2 to Description and Title 2 to No.

  1. Next we want that clicking on the image opens the details page of the Item. This is done by selecting the image and going to Advanced tabe. Then change the OnSelect property from false to Navigate(DetailScreen1, ScreenTransition.None)

  1. Click on Play to see how your App looks

  1. Pressing X on the top right brings back to design window. Once you are ready with your app. GO to File and select SAVE. This will save your app and you can access or share it to your organization through office portal.

As you can see the images are not yet pulled from NAV. This is because NAV saves images in a Media/Mediaset data type which is not recognized in powerapp. I have found a workaround which is will explain in the next blog post. Stay tuned.

Link to Part2







  1. Hello Jasprit,

    I am not able to make dynamics nav connection it says below. I have given the right url because when i open the same in browser it works. Please see if you can help me on this.

    The URL ” is not a valid Microsoft Dynamics NAV OData feed URL. The OData feed URL can be found on the ‘Web Services’ page in Microsoft Dynamics NAV. clientRequestId: 97dd8e54-4ebc-4109-b0c2-9b66c8bc91c2

Leave a Reply

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