web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How do I configure a developer VM (1611 Update 6)?

(0) ShareShare
ReportReport
Posted on by

Can someone point me to the step-by-step instructions to configure a developer VM/ It's D365fO 1611 Update 6, if it matters.

So far I've tried twice and am obviously missing something as when I try to start debugging in VS2015 I get a popup sayinh:

Unable to proceed with debugging. One or more errors occurred. See
the exceptions details below for more information.
The remote server returned an error: (503) Server Unavailable.

The steps I've followed are:

1. Download the VHD.

2. Create Hyper-V virtual machine.

3. Start it and log in as local admin.

4. Change language and keyboard from US to UK, fix time zone and join to company AD domain.

5. Fix proxy settings (group policy upsets them).

6. Run admin provisioning tool for my developer account (domain user) - success.

7. Login as developer account.

8. Configure VS2015 to run as administrator.

9. Sign in on VS and connect to VSTS service.

10. Download current project (which runs in the Azure dev instance) and build.

11. Click Start> and get the above error!

I've checked that the Management Reporter, Batch Management and Web Publishing services are running.

What have I missed?

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    First check if you can log into AX at all. If not, starting a debugging session can't work and playing with the debugger will just distract you from the real problem.

    If it AX works through browser but returns 503 from VS, the problem likely is in the configuration of VS.

    By the way, what proxy settings did you change?

  • StarNamer Profile Picture
    on at

    Do the developer VMs have a special way to connect to D365? I tried both http://localhost/ and the machine's FQDN and it just gives me the IIS default page. Is AX on a different port?

    Our group policy turns on proxy auto detection, which will cause it to use the roxy which requires AD authentication so will fail from the local admin account on the VM. Becuase I need to, the network team has configured my port to be able to bypass the proxy and use a direct internet connection. So the setting was just to turn off auto-detect.

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Open IIS manager, find the website called AOSService and click the link below Browse Website from on the right side. Then save it to bookmarks for easier access.

  • StarNamer Profile Picture
    on at

    The link is to "usnconeboxax1aos.cloud.onebox.dynamics.com on *:443". Is that right?!? In any event, it doesn't respond.

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Yes, it's correct. If it doesn't work, you see that your AX application is broken and therefore any attempt to deploy and debug your code must fail.

    Review what exactly it returns and consult events logs (and/or failed request tracing) for details.

  • StarNamer Profile Picture
    on at

    OK. I've spent most of the day trying (and failing) to get this VM to work. Clicking on the link in IIS Manager goes briefly to usnconeboxax1aos.cloud.onebox.dynamics.com and then transfers to login.microsoftonline.com. This opens a text-based login page with the annotation at the top saying "It looks like you're on a slow connection. We've disabled some images to speed things up.". In fact, it seems to have disabled everything. Whereas, on a normal login page, entering my username would cause a switch to ask if I've using a Personal or Microsoft account, nothing happens here. Also, once the password is entered, the [Sign In] button doesn't work. There are no obvious errors in the Event Log. I've search extensively for information on slow network connections in Hyper-V VM, but nothing seems to apply. E.g. several pages refer to a parameter VMQ (Virtual Machine Queues) on the host NIC, but this doesn't exist. FYI, I'm running Windows 10 (1607) on an HP tower with a 1Gb Intel NIC.

    Are there any step-by-step instructions to get the develop VM working as I haven't found any. Our systems and network people use VMWare virtual machines and have almost no experience of Hyper-V so cannot help me.

    I realised that Hyper-V configuration isn't Dynamics 365, but since it's needed to get the local developer environment working, I would assume that someone must have got it working. Can someone point me in the right direction?

  • Verified answer
    StarNamer Profile Picture
    on at

    Oh, the joys of networking! I have no idea where my VM was getting the text version of the login page as, after a discussion with our network team, I find that the VM should not have been able to bypass our outgoing firewall at all! Now they've allowed the VM's ip to make outgoing connections without going through the proxy, it works!

    I still think a set of step-by-step instructions would be helpful as it's probably taken me about 2 weeks to configure this VM.

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    My advice regarding event logs and tracing was based on your information that site didn't respond. You said nothing about getting to the login page and so on, so nobody could have commented on that.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans