web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Active Discussion

Deploy commerce to the same environment as existing FO instance....is to possible?

(0) ShareShare
ReportReport
Posted on by 489

Hi all, 

Like mentioned in header, should I choose the clean Sandbox deployment for Commerce (demo purposes) or is it possible to - somehow - add to the existing D365FO sandbox environment. And by sandbox I mean tier-2 environment. 

Plan is not to install evaluation one-box environment, but to use the commerce for longer lasting demo purposes. Hopefully this clarifies 

  • migi111 Profile Picture
    489 on at

    I think we will deploy completely separate instance.

  • huijij Profile Picture
    19,811 on at

    Thanks for your feedback.

  • vishy Profile Picture
    85 on at

    Just to add, If you are looking to also test/demo e-commerce functionality of commerce then you will have to deploy an azure hosted sandbox. The cloud hosted sandbox does not allow you to deploy additional commerce scale units or e-commerce website.

  • SergeyP Profile Picture
    2,928 on at

    If "Commerce" means Scale Unit, including Retail Server, Cloud POS, Async Client, then you can deploy them to your existing VM, there are 2 ways to do that - by leveraging:

    1. GitHub based SDK Scale Unit sample

    2. Commerce Scale Unit installer directly.

  • vishy Profile Picture
    85 on at

    Sergey,

    How about e-Commerce website. Is that something we can deploy to a cloud hosted environment?

    Thanks,

    Vishy

  • SergeyP Profile Picture
    2,928 on at

    Cloud hosted eCommerce can be setup via LCS by following Deploy a new e-commerce tenant.

    eCommerceSetup.png

    If you want to setup eCommerce on the Dev VM then follow Set up a development environment. Doing so involves having Retail Server deployed locally on the Dev VM and it could be deployed by using both modes (mentioned here and here) - IIS and Self Hosted (note that Self-Hosted scale unit dev experience for eCommerce is supported starting 10.0.23). With Self Hosted however, there are limitations (obviously they will be present since Self Host flavor cuts/mocks a lot), for instance, payment flow doesn't work yet.

    If you will want to use self-hosted RS with eCommerce then some additional changes might be needed in addition to what is mentioned in the above documentation:

    1. Set MSDyn365Commerce_LOCAL_BASE_URL=true in the .env file

    2. Update RS's CORS setting to accept the RS's Url: Open the file C:\Program Files\Microsoft Dynamics 365\10.0\Commerce Scale Unit\Microsoft\RetailServerSelfHosted\Microsoft.Dynamics.Retail.RetailServerSelfHost.AspNetCore.dll.config in any editor, locate there AllowedOrigins and append the url, including correct port number, corresponding to your locally deployed eCommerce, so after your modifications that key's value should be similar (see highlighted changes) to:

    <add key="AllowedOrigins" value="usnconeboxax1pos.cloud.onebox.dynamics.com;https:/.../usnconeboxax1ecom.cloud.onebox.dynamics.com;https://localhost:4000" />

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 296

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 234 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 145 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans