Skip to main content

Notifications

Community site session details

Community site session details

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

API calling(500 Error) for On-Prem Business Central

(1) ShareShare
ReportReport
Posted on by 151
Hi All

I have On-Prem Business Central with Essential License, i want to call the BC web services using POSTMAN for testing, for that i have registered my App in azure portal. And i am able to generate(OAuth 2.0) the token from POSTMAN.  But when i call my web services with the token i got this error. 
 "error": {
        "code""Unknown",
        "message""IDX10231: Audience validation failed. Delegate returned false, securitytoken: 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.  CorrelationId:  a0a947a7-494e-412b-b638-54153ac357a2."
    }

i have gone through many document but not able to resolve this. What steps i need to do here to resolve or Is it possible to do this on-prem Business central or not.
Does anyone have idea about this, please provide you feedback.

Thanks for your Help.
  • SG-05091051-0 Profile Picture
    151 on at
    API calling(500 Error) for On-Prem Business Central
    @Nitin Verma
    Thanks for your answer.

    could you please help me with the step to do this.
    Try to add your clientid in  Microsoft Entra Applications in Business central and try again.
     
    Thanks
  • Suggested answer
    Nitin Verma Profile Picture
    21,565 Moderator on at
    API calling(500 Error) for On-Prem Business Central
    Try to add your clientid in  Microsoft Entra Applications in Business central and try again.
     

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans