Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Can't connect to D...
Finance forum
Unanswered

Can't connect to D365 Finance & Operations ERP through VM

Posted on by 70

I recently began working on an integration with FinOps and have setup a virtual machine on a server. I've been able to RDP into this VM and connect to the ERP with the url:

https://usnconeboxax1aos.cloud.onebox.dynamics.com/

I was also able to make an API call using postman/Azure AD authentication. However, I've been unable to connect to the ERP on my local machine via internet bridge, even after properly editing the host files. In trying to solve this issue, I restarted the VM which created another issue, anytime I attempt to connect to the ERP now (through the VM as I was able to before), I receive an error "There is a problem with the server". IIS is running and I'm able to connect to that, but anytime I try to connect to the AOSService I get that error. In summary the two errors I'm having:

1. Connecting to the ERP within the VM 

2. Connecting to the ERP on my local machine via internet bridge (typing in the IP:port for the AOSService), though I can connect to IIS through my local machine

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 287,989 Super User on at
    RE: Can't connect to D365 Finance & Operations ERP through VM

    Hi Connor,

    I have really no idea about the impact or if your approach will work. As mentioned, the configuration and purpose of the local VM is completely different compared to cloud enabled environments. If you need to use integrations using OData (assumption as you mentioned Postman), you can save time and energy to directly deploy an environment in the cloud.

  • Connor Hyde Profile Picture
    Connor Hyde 70 on at
    RE: Can't connect to D365 Finance & Operations ERP through VM

    Actually after coming back from the weekend it would seem that I'm able to connect in the VM once again. I'd like to get the local VM working properly before considering cloud environment if possible.. Do you have any idea what might be blocking me from connecting straight to the ERP through my local machine? Here are the steps I used when setting up the VM:

    Installing VHD on server

    Connected and ran Admin Provisioning tool

    Modified hosts files to match with the IP of the VM

    In theory, I should be able to connect to the ERP (usnconeboxax1aos.cloud.onebox.dynamics.com/) by using the VM IP and the port for the AOSService correct? Again, I'm able to connect to IIS of the VM with just the default IP 192.168.xx.x, however, when I try to connect to the service by using the port (192.168.xx.x:443) I cannot connect.

    If I can provide any more information that may be useful please let me know, thanks!

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 287,989 Super User on at
    RE: Can't connect to D365 Finance & Operations ERP through VM

    Hi Connor,

    If you want to establish an integration, I would recommend to use a cloud hosted environment (running on Azure) and not a local DEV VM. Then you can easy connect to the service like intended by Microsoft. The local DEV VM is not setup like normal UAT and production environments.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans