Windows 10 uses an isolation technology (“AppContainer”) that may prevent requests being sent from Windows 10 apps to a resource located on the server. When Microsoft Dynamics 365 MPOS and retail server are installed on the same server, users often experience connectivity error to Retail server.
There are multiple ways to add exemption for apps. I used to recommend Windows loopback exemption manager by Tiago Andrade e Silva or Windows 8 AppContainer Loopback Utility by fiddler. However, after recent windows update the utility is not showing any of the apps in the list.
I found an easy option to add exemption for a specific app container in Windows machines. A command line utility named CheckNetIsolation.exe is available in Windows 10 machines out of the box. This utility allows you to check if an app container is already exempted. If not you can add the appcontainer to the exemption list.
To add Dynamics 365 Modern POS to the loopback exemption list. Run Command Prompt as Administrator and copy paste below code. Note: Based on my check on multiple machines, the container name for MPOS is the same across all machines
CheckNetIsolation.exe LoopbackExempt –a -n=microsoft.dynamics.retail.pos_8wekyb3d8bbwe
You can use the following code to see the list of App containers that are already added to the exemption list.
CheckNetIsolation loopbackexempt -s
For people who are trying to add an exemption for another app and doesn’t know the full container name. The following code will show you the complete list of app container in the system. Please run it from Powershell.
If the list is too big, you can do a filtered search by using the -name parameter. In the below example, I am trying to view the list of app containers that is starting with “Microsoft.Wind“. The wildcard * can be prefixed or suffixed based on your requirement.
Get-AppxPackage -Name "Microsoft.Wind*"
Please pass on your comments and feedback.