Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

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

(1) ShareShare
ReportReport
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... 291,703 Super User 2024 Season 2 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... 291,703 Super User 2024 Season 2 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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,703 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans