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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Is it possible to connect to the Retail Server from Online SDK with out E-Commerce subscription

(1) ShareShare
ReportReport
Posted on by 14
Hi All,
 
I am having CSU, but not having E-Commerce. So, site builder is not available. 
 
I downloaded the Microsoft Dynamics 365 E-Commerce online SDK. In .env file, I have configured the following properties as per the documentation.
 
MSDyn365Commerce_BASEURL,
MSDyn365Commerce_CHANNELID,
MSDyn365Commerce_CATALOGID,
MSDyn365Commerce_OUN=00000043
but not MSDyn365Commerce_BASEIMAGEURL because of Site builder is not there.
 
For CHANNELID and OUN which represents the Record Info -> Record-ID and Organization unit number from the Online Store(F&O)
 
I was trying to access the Retail Server from Online SDK, I got the following Error
 
[error] error in getting channel configuration
Microsoft_Dynamics_Commerce_Runtime_OperatingUnitNumberNotFound: The operating unit number '{0}' was not found.
 
1. Without E-Commerce subscription, is it possible to connect to the Retail Server from Online SDK?
2. If it is possible then Please help me to resolve this error and to establish connection with out error?
 
Thanks,
VLE
 
Retail Server Connection Error.png
Categories:
I have the same question (0)
  • Suggested answer
    Saif Ali Sabri Profile Picture
    2,351 Super User 2025 Season 2 on at
    No, you cannot connect to the Retail Server using the Dynamics 365 E-Commerce Online SDK without an E-Commerce subscription. The SDK is designed to work with the Commerce Scale Unit (CSU) in conjunction with E-Commerce capabilities, which require Site Builder and related configurations.
    Answering Your Questions:
    1. Without an E-Commerce subscription, can you connect to the Retail Server from the Online SDK?
      • No, the Online SDK is built for E-Commerce and requires Site Builder to configure and manage settings. Without an E-Commerce subscription, key dependencies like MSDyn365Commerce_BASEIMAGEURL and proper CSU authentication may be missing.
    2. How to resolve the error and establish a connection?
      • Since you are missing E-Commerce, consider using the Retail Server API (Commerce Runtime, CRT) directly instead of the Online SDK.
      • Ensure that the Operating Unit Number (OUN) exists in the Commerce Headquarters (D365 F&O) and matches the CSU configuration.
      • Verify that your CSU is properly provisioned and linked to the correct Retail Channel.
      • If CSU is deployed in an online environment but without E-Commerce, use Retail Server endpoints via Postman or a custom app instead of the Online SDK.
    For non-E-Commerce use cases, consider using the Commerce SDK or Retail Server APIs directly instead of the Online SDK.
     
  • CU17030547-0 Profile Picture
    5 on at
    Yes it's possible to leave out the MSDyn365_HOST parameter, but obviously you wouldn't be able to receive content and pages from the CMS. Instead, you would have to work with module mocks or page mocks.
    When providing the retail server URL into the MSDyn365Commerce_BASEURL parameter, make sure to include dash at the end: "https://xxxx.su.retail.dynamics.com/"
  • VE-21020503-0 Profile Picture
    14 on at
    HI @CU17030547-0

    Thank you very much for your response.

    Earlier, I tried with the baseURL( "https://xxxx.su.retail.dynamics.com/") as you mentioned. But the connection is not established.
     
     
  • Suggested answer
    VE-21020503-0 Profile Picture
    14 on at
     
    Thank you very much for your response. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 284 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 178 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 116 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans