Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This article explains how to set up and configure the Microsoft Dynamics 365 Commerce Store Commerce app for Windows. It applies to Dynamics 365 Commerce versions 10.0.25 and later.
The Dynamics 365 Commerce Store Commerce app is the next generation offering for physical stores. It unifies Modern point of sale (MPOS) and Cloud point of sale (CPOS) (now known as Store Commerce for web) into a single application, providing deployment choices to retailers, helping improve performance, and offering superior application lifecycle management (ALM) while retaining all the functionality of MPOS and Store Commerce for web, including extensibility.
The Store Commerce app provides rich commerce functionality for first-line workers such as cashiers, sales associates, inventory associates, stock clerks, and store managers, and allows these workers to perform Commerce operations such as:
The Store Commerce app is a Windows Presentation Foundation (WPF) shell application for Windows that uses the Microsoft Edge WebView2 control to render Store Commerce for web. Although Store Commerce for web can only run in a web browser, Store Commerce can run as a native Windows application like MPOS does, providing the benefits of both the Store Commerce app and Store Commerce for web.
Store Commerce supports local hardware station and offline usage, and can be directly integrated with a payment terminal, printer, and cash drawer. It can use hardware devices without requiring you to set up a shared hardware station.
To render the user interface (UI), Store Commerce uses the Chromium engine instead of the Universal Windows Platform (UWP) app rendering framework. The Chromium engine has better rendering performance than the native JavaScript UWP app in Windows. The main difference between MPOS and Store Commerce is that Store Commerce uses the Chromium engine to render the app.
The Store Commerce app is also available for the Android and iOS platforms. For more information, see Store Commerce for mobile.
To review the capabilities of the Store Commerce app, see Store Commerce app capabilities.
The Store Commerce app runs on Windows devices and can be downloaded from the Shared asset library in Microsoft Dynamics Lifecycle Services. On the Shared asset library page, select Retail Self-service package as the asset type, and then find the file that ends with "Store Commerce." Be sure to select the version for the Commerce release that you're using (for example, 10.0.25 or 10.0.26).
Store Commerce supports two types of deployment topologies:
There are no separate installers for the hybrid and in-app topologies. The deployment options are determined by the parameters that are passed during installation.
For the in-app deployment option, the application content is locally deployed. Store Commerce then renders the application content from its local deployment. It doesn't retrieve the Cloud POS UI hosted in the Commerce Scale Unit (CSU).
To update the application content, run the latest version of the Store Commerce installer. The application content isn't updated if you update the CSU, so you can manage the updates at individual registers.
In-app deployment supports offline mode. During installation, pass the --installoffline
parameter to deploy the offline database. In offline mode, the application isn't able to connect to CSU or Commerce headquarters, and uses the locally deployed CRT.
Note
During the installation of Store Commerce, users can pass parameters to select either the hybrid option or the in-app option. The default option is in-app deployment.
Store Commerce is a shell that connects to Headless Commerce and Commerce headquarters by using CSU in online mode. In hybrid mode, Store Commerce renders the Cloud POS UI that is hosted in the CSU. When the Store Commerce app is opened, it prompts for the Cloud POS URL.
To update Store Commerce, update the CSU to update Store Commerce automatically. Because updates are centrally managed in CSU, they don't have to be managed at individual registers. The Store Commerce application shell must still be updated separately by using the installer. For more information about how to update the CSU, see Apply updates and extensions to Commerce Scale Unit (cloud).
Store Commerce has full functional parity with MPOS. For more information about the different POS applications and topologies, see Choose between Store Commerce app and Store Commerce for web.
The Store Commerce app doesn't support Universal Windows Platform (UWP) peripherals that are Point of Service devices. If you're currently using a Universal Serial Bus (USB) scanner or magnetic stripe reader in plug-and-play mode, you must install OLE for Retail POS (OPOS) drivers and configure these devices in your hardware profile so they work with the Store Commerce app. For more information about Store Commerce peripheral support, see Commerce peripherals.
For guidance on migrating from MPOS to Store Commerce, see Migrate Modern POS to Store Commerce.
Store Commerce has full functional parity with Store Commerce for web. In addition, Store Commerce supports dedicated hardware station and offline deployment.
The Store Commerce apps for Windows and mobile platforms are the next generation of POS applications for Dynamics 365 Commerce. Microsoft deprecated MPOS and the Retail hybrid apps in October 2023, and recommends that you use Store Commerce or Store Commerce for web for all new deployments. Existing customers should plan to migrate MPOS to Store Commerce.
Store Commerce | MPOS | |
---|---|---|
Operating environment | Windows | Windows |
ALM | Store Commerce is self-serviced by using Lifecycle Services and Commerce headquarters. It's packaged and installed by using the Store Commerce installer, and Store Commerce for web is deployed through CSU. | The Store Commerce app is self-serviced by using Lifecycle Services and Commerce headquarters. It's packaged and installed by using the Store Commerce app installer. |
Extensions | Extensions are deployed to the CSU or installed by using the extension installer. | Extensions are packaged with the Store Commerce app, or an independent extension package is used. |
Support for offline mode | Yes | Yes |
Support for local hardware station | Yes, but doesn't support UWP peripherals that are Point of Service devices. For more information about Store Commerce peripheral support, see Commerce peripherals. | Yes |
UI rendering engine | The Chromium engine is used to render the UI. | The UWP app rendering framework is used to render the UI. |
Deployment modes | In-app, hybrid. For more information, see Hybrid deployment. | In-app. |
Full screen mode | Yes. Select Alt+Enter to enter and exit full screen mode. | Yes. Select F11 to enter and exit full screen mode. |
Note
Store Commerce for Windows isn't supported on ARM processors.
C:\Users\**\Microsoft Dynamics 365\10.0\Data\Store Commerce
.C:\ProgramData\Microsoft Dynamics 365\10.0\Data\Store Commerce
.HKLM:SOFTWARE\Microsoft\Dynamics\Commerce\10.0\Store Commerce\Configuration\*
.HKLM:Software\Policies\Microsoft\Edge\WebView2\UserDataFolder\Microsoft.Dynamics.Commerce.StoreCommerce.exe
.For Store Commerce, an application type named Store Commerce was added on the Devices page (Retail and Commerce > Channel setup > POS setup > Devices). Select this application type when you create a device for Store Commerce.
If the Store Commerce application type doesn't appear on the drop-down menu, try to run the Initialize function from the General tab of the Commerce parameters page (Retail and Commerce > Headquarters setup > Parameters > Commerce parameters). Then refresh the page.
You must create a register and a device for Store Commerce. Then, before you activate the app, run the register job from the distribution schedule in Commerce headquarters. During device creation, set the Application type field to Store Commerce.
Store Commerce can be downloaded from the Lifecycle Services Shared asset library. On the Shared asset library page, select Retail Self-service package as the asset type, and then find the file that ends with Store Commerce. After the file is downloaded, follow these steps to install the app.
--installoffline
parameter. (For example, enter Store_Commerce Installer_exe_name install --installoffline
.) If you want to enable debugging mode during installation, pass the --enablewebviewdevtools
parameter.You can also use the help command in PowerShell to find information about all the parameters. In PowerShell, find the Store Commerce installer, and then enter Store_Commerce Installer_exe_name help install
.
Parameter | Description |
---|---|
--config <path to config file> | Specifies the path of the configuration file used as part of the installation. |
--device <device identifier> | Specifies the device identifier to be used for Store Commerce application as a default value. If this parameter is omitted, the user is prompted to input the device identifier during device activation. |
--disableaadauthentication | Disables the usage of Microsoft Entra authentication during device activation. This parameter is supported in on-premises Active Directory Federation Services (ADFS) based deployments only. |
--enablewebviewdevtools | Enables developer tools for Store Commerce. If this parameter is omitted, developer tools are only enabled if Windows Developer Mode is enabled. |
--help | Shows parameter information. |
--inplaceupgradefrommodernpos | Executes an in-place upgrade from Modern POS. If this parameter is omitted, users will be required to activate Store Commerce after installation. |
--installoffline | Deploys the offline database. If you're upgrading from Modern POS, you can update the existing offline database by passing the SQL instance in the --sqlservername parameter. |
--logdirectorypath <path to log directory> | Specifies the path of the logs directory. |
--register <register number> | Specifies the register number to be used for Store Commerce application as a default value. If not specified, the user is prompted to input the register number during device activation. |
--retailserverurl <Retail Server URL> | Specifies the Retail Server URL to use for Store Commerce. If you don't specify this parameter, the user is prompted to enter the Retail Server URL during device activation. |
--skipdotnetversioncheck | Bypasses the check to see if .NET is installed. |
--skipenhancedmodernposupgradevalidation | Bypass enhanced upgrade validation when migrating from an existing Modern POS device. |
--skipsqlfulltextcheck | Bypasses validation of the SQL Full-Text Search that is required for offline deployment. |
--skipschannelcheck | Bypasses the secure channel prerequisite checks. |
--skiptelemetrycheck | Bypasses validation of telemetry endpoints used by the application being installed. |
--skipuninstallmodernposafterupgrade | Skips uninstalling Modern POS as the last step of the upgrade. |
--skipurlcheck | Bypasses the validation of URLs that are passed to the installer. |
--skipversioncheck | Bypasses version validation during downgrade. |
--sqlservername <SQL server name> | Specifies the name of the SQL Server instance that Store Commerce uses in offline mode. If this parameter is omitted, the installer uses the default instance. |
--trustsqlservercertificate | Trusts the SQL Server certificate when a connection is established to SQL Server. To help avoid security risks, you should never use this argument for production deployments. By default, the SQL Server certificate isn't trusted. |
--usecommonapplicationdata | Installs the Store Commerce app for all users on the device by placing a token in a common application data folder. To use the Store Commerce app, users must be added to the RetailChannelUsers group on the device. If this parameter is omitted, the Store Commerce app is only installed for the current user. |
--useremoteappcontent | Download and display the Store Commerce UI from the Commerce Scale Unit (CSU.) If this parameter is omitted, the local application content that is deployed with Store Commerce is used. For more information, see Hybrid deployment. |
--verbosity | Specifies the verbosity of logs (0 - trace, 1 - debug, 2 - informational, 3 - warning, 4 - error, 5 - critical, 6 - silent). When this parameter is omitted, the default value of 2 is used. |
--version | Shows information about the app version. |
To uninstall the Store Commerce application from a device, follow these steps.
StoreCommerce.Installer.exe uninstall
parameter to uninstall the app. When executed, this command runs immediately and doesn't provide a confirmation dialog before uninstalling Store Commerce.To activate Store Commerce after installation, follow these steps.
Note
The Store Commerce app shouldn't be run with elevated privileges, and shouldn't be run from an account with elevated privileges.
For troubleshooting information, see Troubleshoot Store Commerce setup and installation issues.
Store Commerce can be customized by using the Commerce SDK. You can modify and create the POS user experience, enhance or modify out-of-box functionality, add validations, and add custom features. For more information, see Point of Sale (POS) extension overview, or review the samples on GitHub.
You can extend Store Commerce to integrate it with hardware devices. You can use the sample extension code in GitHub to generate Store Commerce hardware station extension packages. For more information, see Integrate the POS with a new hardware device.
The Store Commerce app for Windows uses the Microsoft Edge WebView2 control for rendering. Microsoft preinstalls and automatically updates the WebView2 evergreen runtime on all Windows 11 and eligible Windows 10 devices. The evergreen runtime distribution model has the advantage of not requiring more effort to manage, but it doesn't let you control the version of WebView2 that is used with a particular release of the Store Commerce app.
Microsoft recommends that you explicitly manage the WebView2 version that is used by a particular update of the Store Commerce app to mitigate the risk of regressions that are caused by incompatibilities between the Store Commerce app and the latest WebView2 control.
To manage WebView2 versions, follow these steps.
Note
A given version of the standalone installer always installs the same version of the WebView2 runtime.
Note
Disabling all WebView2 runtime updates by Microsoft Edge update shouldn't impact the Edge browser version because Edge has a separate Update policy.
During activation, when prompted to enter the Microsoft Entra password with multiple options, choose the password option. The other options might not work.
Store Commerce app capabilities
Modernizing the Dynamics 365 Commerce in-store technology stack
Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreTraining
Learning path
Use advance techniques in canvas apps to perform custom updates and optimization - Training
Use advance techniques in canvas apps to perform custom updates and optimization
Certification
Microsoft 365 Certified: Endpoint Administrator Associate - Certifications
Plan and execute an endpoint deployment strategy, using essential elements of modern management, co-management approaches, and Microsoft Intune integration.