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
Unanswered

E-Commerce: 400 Error (AAD Authentication Failed) While Running Microsoft Dynamics 365 Online SDK

(2) ShareShare
ReportReport
Posted on by 14

Hi,

I am currently working with the Microsoft Dynamics 365 E-Commerce Online SDK. The following environment variables have been correctly set in the .env file:

PORT=4000  
MSDyn365_HOST=abc.com  
MSDyn365Commerce_BASEURL=XXXXXX  
MSDyn365Commerce_CHANNELID=XXXX  
MSDyn365Commerce_CATALOGID=XXXX  
MSDyn365Commerce_OUN=XXX  
MSDyn365Commerce_BASEIMAGEURL=XXX  

After running the yarn start command, the application redirects from https://localhost:4000/ to another page where I encounter a 400 error that appears to be related to AAD (Azure Active Directory) authentication failure which I feel.

Could you please guide me on the steps I need to follow to resolve this issue?


 
Categories:
I have the same question (0)
  • S Gopi Krishna Profile Picture
    630 on at
    Try using the dev tools to see which URI request is returning the 400 error

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
Siv Sagar Profile Picture

Siv Sagar 266 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans