Hi all,
In searching for ways to test customization/development changes to processes utilizing the Dynamics 365 Warehouse App, I came across some info, in different places, on how to get it connected and working.
I'm adding all the steps I followed, in case you're in the same scenario. This will not cover topics covered elsewhere, such as D365 config (warehouse menu items, etc).
I have a onebox developer VM (MS vhd download) hosted on Azure, that is not connected to LCS.
- The Warehouse App doesn't install on a onebox environment (being Windows 2016), so you need to install this on your local PC (Download warehouse App)
- If you want the newer version of Warehousing, see here
- Allocate a static/public IP to your VM.
- Modify the hosts file on your local PC (C:\Windows\System32\drivers\etc), by adding the IP above and the onebox URL (usnconeboxax1aos.cloud.onebox.dynamics.com).
- Add an allow Inbound port rule on Azure for port 80 (the default port) for your VM.
- Create a new app registration on your Azure tenant (Create Web registration)
- Associate your Azure Application with warehouse app user in D365 (Add app user)
- Copy the Client Id and secret from the App registration in #5 and add them to the App. Add the connection settings (see here)
- Set the Worker user and password in D365FO (Warehouse management > Setup > Worker)
- Login and test.
If you have security/certificate-related issues, see this post on Yammer.
Although I couldn't navigate to the URL in a browser window (it would only show me the Default IIS site), the Mobile App did connect.
Using the App on your local PC, you can debug code in the standard way on the VM.