Skip to main content

Notifications

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 10
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
 
Categories:
  • Suggested answer
    VE-21020503-0 Profile Picture
    10 on at
    Is it possible to connect to the Retail Server from Online SDK with out E-Commerce subscription
     
    Thank you very much for your response. 
  • VE-21020503-0 Profile Picture
    10 on at
    Is it possible to connect to the Retail Server from Online SDK with out E-Commerce subscription
    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.
     
     
  • CU17030547-0 Profile Picture
    5 on at
    Is it possible to connect to the Retail Server from Online SDK with out E-Commerce subscription
    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/"
  • Suggested answer
    Saif Ali Sabri Profile Picture
    1,384 Super User 2025 Season 1 on at
    Is it possible to connect to the Retail Server from Online SDK with out E-Commerce subscription
    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.
     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,309 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,160 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans