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 :
Small and medium business | Business Central, N...
Answered

Reset Assisted Setup "Set up your Azure Active Directory accounts"

(1) ShareShare
ReportReport
Posted on by 25
Hello everyone,
i have a Problem with the Entra Connection in Business Central 22 (CU0) OnPrem.
My goal is to setup the current User Mail-Setup.
I have created an App registration in the cloud and startet the assisted Setup in the OnPrem System.
 
First i got the error aadstS50011 redirect URL missmatch.
I have no clue, where i can change the URL on the OnPrem Service Tier! 
It was an old NST without SSL, so i need to edit the onPrem URL.
 
After that i deleted my app Registration and created a new one. 
If i am going to start the assisted setup "Set up your Azure Active Directory accounts" again, i can insert the new app registration, but in the Mail-Setup the system is trying to connect to the old client id with Error: AADSTS700016: Application with identifier 'Old Client ID' was not found in the directory.. . How can i change those parameters in my OnPrem System? 
 
Best regards
Louis
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    25,390 Most Valuable Professional on at
  • Suggested answer
    YUN ZHU Profile Picture
    95,765 Super User 2025 Season 2 on at
    I have tested Office 365 authentication in BC17 and hope I can give you some tips.
     
    Thanks.
    ZHU
  • LN-26111544-0 Profile Picture
    25 on at
    Hey guys, 
    thanks for your replies. Non of those answer my question.
    Ive looked in the eventviewer on the NST Server and got the following error:
    Message The server did not return any auth endpoint.
    Category: AL Url Helper
     
    I think it is, because he is trying to reach the wrong appId and get no response...
     
    Some Backround about my Setup:
     - One US Database
    -  2 Service Tiers
    - SSL with self signed cert
    - new app registration (multitenant)
    - windows auth
    - public webbase url set


    Ive opened the Azure AD App Setup Table 6300 directly, there are the new appid and the new redirect Url.

    In the URL to azure auth, are the old ones: 


    Best regards 
    Louis
  • Verified answer
    LN-26111544-0 Profile Picture
    25 on at
    I think ive got a workaround to this topic.
    The Mandatory fields are in Table 4509 - Email - Outlook API Setup!
     
    To restart the setup
     
    My Solution is to deinstall "Email - Outlook REST API" and delete all appdata! Then reinstall and restart the assisted Setup.
     
    What is the more elegant/official way, to enter and edit the Setup table? 
     
    Best regards,
    Louis
     
     

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,856

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 765 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 581 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans