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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Dataverse- A token was obtained... but Business Central returned an error of type 500

(1) ShareShare
ReportReport
Posted on by 666
Hi, 
I tried connecting Business Central to Dataverse using the following link. 
https://yzhums.com/17065/

The Dataverse Connection shows "Connection Successful" but when I try to view the data in the virtual tables in Business Central or Dataverse I get the following error. 

"A token was obtained to call Business Central, but Business Central returned an error of type 500"



My user is System Administrator. 

How can I resolve this?

Thanks
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    131 on at

    This error typically indicates an internal server issue between Business Central and Dataverse. Here are steps to troubleshoot and resolve it:

    1. Check Permissions: Ensure the user account used for the connection has sufficient permissions in both Business Central and Dataverse. Specifically, the account needs D365 Business Central Virtual Table permissions in Dataverse and the appropriate access in Business Central.

    2. Review Business Central API Setup: Go to API Setup in Business Central to confirm that all necessary endpoints are correctly configured. Ensure that each required API (like purchaseOrder) is enabled.

    3. Verify OAuth Settings: Double-check that OAuth authentication is correctly configured. Sometimes, a mismatched or expired OAuth token can lead to a 500 error. Reauthenticate the connection if needed.

    4. Check Business Central Version: Some versions of Business Central might have bugs that affect Dataverse connections. Ensure your environment is on the latest update.

  • Suggested answer
    YUN ZHU Profile Picture
    99,090 Super User 2026 Season 1 on at
    Hi, Did you integrate a custom table? Or a standard table? Can the standard table be opened? You can first check the settings mentioned in the standards below.
    More details:
     
    Hope this helps.
    Thanks.
    ZHU

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,949 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,064 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 559 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans