D365 Retail

Field notes on Dynamics 365 Commerce & Retail

All articles
Cloud POSDebuggingIIS

Debugging Cloud POS on a Microsoft-Hosted VM Without Admin Rights

14 November 20181 min readHitesh Manglani

On a MSDyn365FO 8.1 Microsoft-hosted VM, you don't get admin rights. Open the Cloud POS solution from the Retail SDK under those conditions and you'll hit an error — it needs IIS rights, which normally means running Visual Studio as Administrator.

Cloud POS Solution Error

The workaround

Switch Cloud POS to run on IIS Express instead of IIS, following this guide:

Cloud POS development box setup

Note: for step 2, you'll find aspnet.config and redirection.config in:

C:\Program Files\IIS Express\config\templates\PersonalWebServer

With Cloud POS running on IIS Express, you can debug normally by attaching to iisexpress.exe — no admin rights on IIS required.

Special thanks to my mentor Mugunthan Mani from Microsoft for this tip.

More on this topic

Stuck on a D365 Commerce issue?

If you need hands-on help with MPOS, CRT extensions, or a Retail deployment, get in touch — I still build these things.

Talk to me