If you are on a MSDyn365FO 8.1 Microsoft hosted VM, you won’t have admin rights. In this case when you open the Cloud POS solution from the Retail SDK itself you get an error.
The error occurs as you do not have rights on IIS unless you run Visual Studio with Admin rights
So to get around this issue, follow the article below to resolve the issue.
Note – For step 2 you will find the aspnet.config and redirection.config files in C:\Program Files\IIS Express\config\templates\PersonalWebServer
Following the steps will make sure your Cloud POS runs on IISExpress instead of IIS and thus allowing you to to run Cloud POS and debug by attaching to iisexpress.exe.
(Special thanks to my mentor Mugunthan Mani from Microsoft for this tip )