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

Community site session details

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

WMS AAPP Authentication Error D365FO

(1) ShareShare
ReportReport
Posted on by 180
Dear All : 
 
Good Day. Since /Client Secret/ will be deprecated soon (Next Jul 14th) , I tried to use /User and Password/ method after following all instructions mentioned in /Create a web service application in Microsoft Entra ID/ in addition to /Manually configure the application/ in Microsoft Docs. However after completing all setup  , I still face Below error on my device : 
 
 
On ADFS Server , I face this error : 
 
 
here's a screen shot of Connection setup configuration : 
 
 
Please Guide me in a simple steps what shall I do. 
 
Sherif Issac
I have the same question (0)
  • Sherif Issac Profile Picture
    180 on at
    WMS AAPP Authentication Error D365FO
    Dear All : 
     
    I Reviewed configuration again and did some modifications but finally I got below error through logging by client secret or device code or user and password : 
     
     
    Using device code : 
     
    I searched on google however , I did not find a solution. 
     
    Looking for your cooperation. 
     
    Sherif Issac
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,166 Super User 2025 Season 2 on at
    WMS AAPP Authentication Error D365FO
    Hi Sherif Isaac,
     
    The connection seems ok and so do the certificates on the Azure app registration side. 
     
    One last question. Was the .appxbundle registered as mentioned in the link below and was there a Windows server token setup on the ADFS server, as per the steps mentioned in the link below? 
    1. Install a Build from App Center - Visual Studio App Center | Microsoft Learn
     
    Looking at that error it looks like an incorrect client id has been provided. Is that the correct client id? 
  • Sherif Issac Profile Picture
    180 on at
    WMS AAPP Authentication Error D365FO
    Dear Navneeth : 
     
    Thanks for your reply. 
     
    1- I checked Authentication and found that Allow Public client flows is enabled.
     
    2- I added Client certificate and secret as below : 
     
    3- Set authentication method to Device code , I got below error : 
     
    Here's a photo of current connection configuration : 
     
    Hope this can help us diagnose the issue. 
     
    Sherif Issac
     
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,166 Super User 2025 Season 2 on at
    WMS AAPP Authentication Error D365FO
    Hi Sherif Isaac,
     
    A question - Have you enabled this option called Allow public client flows in the Authentication section? If no, then this option needs to be enabled for public client flows.
     
     
    Would recommend that you use Device code instead of using the Client secret (Deprecated). With device code all you need to do is add the Microsoft Entra ID (Client ID) and the tenant ID. 
     
    Ensure that the certificates added to the Certificates & secrets has not expired.  
     
     
    Happy to answer questions, if any. 
     
     
  • André Arnaud de Calavon Profile Picture
    297,774 Super User 2025 Season 2 on at
    WMS AAPP Authentication Error D365FO
    Hi Sherif,
     
    Did you check if you set the correct Redirect URI(s) on the app registration? If you have all the settings correct, I would suggest creating a ticket for Microsoft Support. 
  • Sherif Issac Profile Picture
    180 on at
    WMS AAPP Authentication Error D365FO
    Dear Mr. Andre : 
     
    Thanks for your reply. Please see below Links I used to configure user creation : 
     
     
     
    Sherif Issac
  • André Arnaud de Calavon Profile Picture
    297,774 Super User 2025 Season 2 on at
    WMS AAPP Authentication Error D365FO
    Hi Sherif,
     
    I haven't seen an on-premise environment myself using the advanced warehouse management devices. Can you share a link to the documentation you used? I wonder if there is a specific difference required for on-premise or not? Did you set a Redirect URI on the app registration? Might there be any firewall or reverse proxy setting blocking traffic?

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 302

#2
André Arnaud de Calavon Profile Picture

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

#3
Yng Lih Profile Picture

Yng Lih 142

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans