Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Modify Microsoft Entra Application User to Resolve Error in Business Central

(1) ShareShare
ReportReport
Posted on by 22

I have exposed a web service in Business Central to submit records/documents for approval. However, I am encountering the following error:
 

{
    "error": {
        "code": "Application_DialogException",
        "message": "User ID BC API does not exist in the Approval User Setup window.  CorrelationId: d3e3911d-53c0-4a94-be59-8df03f6532dc."
    }
}

The BC API user was automatically created on the Microsoft Entra Application Card when I connected an Azure App to enable OAuth 2.0 API access. I followed this guide: https://yzhums.com/20690/.

 

The BC API user exists in the User table (ID: 2000000120) but does not appear on the User List page (ID: 9800). Consequently, I cannot select it in the Approval User Setup page (ID: 663).

User Table:

Is there a way to modify the user information in the Microsoft Entra Application Card to associate it with an existing user? Alternatively, are there workarounds to resolve this error?

  • Suggested answer
    Modify Microsoft Entra Application User to Resolve Error in Business Central
    Hello,
     
    open Users page and then click Ctrl+Alt+F1 and click on the page filters tab on the page inspection.
    Check which filters are enabled and see can you realize why you do not have them on the users page list.
    Compare data with users data that you have.
     
    <>External User&<>Application&<>AAD Group
     
    I'm a little confused about the process you've imagined.
     
    Will the api send documents for approval, does it also create them, at what point will it send them (what will be the trigger), what will happen after document is approved. It seems like a lot of work. If you need that api just for sending approvals then you may use some job queue with custom code to send approvals for that.
     
    Greetings
     

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans