Powerapp - errors creating the connection to Dynamics NAV

MarcoVMarcoV Member Posts: 15
When trying to create a powerapp connection to NAV 2017 (or the Developer Preview sept update). I ran in to the problem that powerapps cannot establish the connection to my NAV database.

I tried to follow the instructions in the tutorial on youtube by Gunter Peeters.

As you can see I have two different errors depending on the use of https or http.

8fa1y4x9t5v5.jpg
vckgqccdaka3.jpg

Some information on the azure vm I'm using:
- It's created by selecting it from the gallery in azure.
- SSL is enabled with a self-signed certificate.
- Webclient and mobile app are working.
- When browsing to the webservice URL's with IE or Chrome, everything works fine.
- Users are set up with NAV user/password.

What am I doing wrong here?


With kind regards,

Marco de Vries

Answers

  • thomasbarbutthomasbarbut Member Posts: 25
    edited 2017-09-11
    Hello,
    Have you tried providing direct link to the Page.
    Something like:
    http://example.com:7048/NAV/ODataV4/Company('CompanyName')/Customer

    Below a screenshot from the video. He does it the same.
    z3n0xvaopvm9.png

    regards,
    Thomas Barbut
  • MarcoVMarcoV Member Posts: 15
    edited 2017-09-15
    Hi Thomas,

    I also tried that one but it has the same result:
    The URL 'https://<MyServerName>.cloudapp.net:7048/NAV/ODataV4/Company('CRONUS Nederland BV')/Customer' 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: b675a576-d4ca-41e2-9cf7-cf0a77b6f710

    In the screenshot you mention, the connection is already created. I'm having problems before this point. As a reference: My problem occurs at 2:08 in the video.

    When I enter the OData Base URL in my browser I do get a result.

    4rtbzjppyqyw.jpg
    With kind regards,

    Marco de Vries
Sign In or Register to comment.