Skip to main content

Notifications

Supply chain | Supply Chain Management, Commerce
Suggested answer

WMS AAPP Authentication Error D365FO

(1) ShareShare
ReportReport
Posted on by 142
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
  • Sherif Issac Profile Picture
    Sherif Issac 142 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
    Navneeth Nagrajan 1,407 Super User 2025 Season 1 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
    Sherif Issac 142 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
    Navneeth Nagrajan 1,407 Super User 2025 Season 1 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
    André Arnaud de Cal... 291,965 Super User 2025 Season 1 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
    Sherif Issac 142 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
    André Arnaud de Cal... 291,965 Super User 2025 Season 1 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

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans