microsoft / Dynamics365Commerce.Solutions

Repository for hosting the Dynamics 365 Commerce end to end sample solutions
Other
58 stars 26 forks source link

not able to access Retail APIs using Managed Identity/Client Secret #45

Closed nikithaatla closed 1 year ago

nikithaatla commented 1 year ago

Not able to create Order using Retail APIs with Managed Identity/Client Secret we are trying to create order using commerce APIS with Managed Identity and Client Secrets. Cart flow is used to create order, but first step create cart is failing.

1) Client Secret to create Cart using ICartManager Create method

    error image  

2) Managed Identity to create Cart using ICartManager Create method

  error 

image

It would be good if you can help us to create order using Managed Identity.

Also, we are having  trouble to use POST Sales Order API. Could you please share samples ? 

Note: able to create orders passing username and password

madyke commented 1 year ago

I discussed this with the CSU team, and they said this is a very rare customer scenario, which is why we don't have any samples in this area. We can put this sample request on our backlog.

If you still need assistance with specific questions in this area, please reopen the issue with details and we can have the CSU team take a look.