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

Community site session details

Session Id : mGApD3Lo2fqohIzP92/H6+
Power Apps - Microsoft Dataverse
Unanswered

Dataverse sync suddenly stopped working: "Failed to resolve entity metadata"

Like (0) ShareShare
ReportReport
Posted on 29 Jun 2023 13:26:10 by 27

Hello all,

 

We have a bidirectional dataverse sync setup with Business Central. Everythings worked as expected and suddenly the sync stopped working.

 

Arround 2000 records are synced correctly and no errors are occuring. But the newly created records in BC are not synced correctly anymore to dataverse. The following error gets displayed for these records: 

 

An error occurred while communicating with Dataverse.

Detailed description: One or more errors occurred. (Failed to resolve entity metadata for cr921_research.)

 

I have followed this article: https://yzhums.com/17065/

 

I do not have alot of error context, so I hope someone could help me out!

 

Thanks in advance and Kind Regards,

 

Bart van Tongeren
 

Categories:
I have the same question (0)
  • ELE365 Profile Picture
    2 on 19 Jul 2023 at 13:36:32
    Re: Dataverse sync suddenly stopped working: "Failed to resolve entity metadata"

    Hi Bart, 

    did you find any solution? One of our customers is facing the same issue and it started to occur around the same time you posted this entry. 

  • LorenzFl Profile Picture
    2 on 25 Jul 2023 at 12:48:37
    Re: Dataverse sync suddenly stopped working: "Failed to resolve entity metadata"

    Did you find any solution for this problem? Suddenly I get the same error with one of my customers.

  • Bart van Tongeren Profile Picture
    27 on 02 Aug 2023 at 09:02:11
    Re: Dataverse sync suddenly stopped working: "Failed to resolve entity metadata"

    Helllo all,

     

    I managed to fix this issue by help of the following thread:

    https://www.yammer.com/dynamicsnavdev/#/threads/show?threadId=2279280633389056&messageId=2279280633389056

     

    The fix with "Coupled to CRM" field is completely unrelated. If you are seeing errors "Failed to resolve entity metadata", it means that you are missing a required privilege and the integration solution in your Dataverse environment needs to be upgraded to the version that has the additional privileges.
    There are two ways to do this:
    One way is:
    to disable both Microsoft Dynamics 365 Connection Setup and Dataverse Connection Setup, then use the action "Redeploy Integration Solution" and reenable (first on "Dataverse Connection Setup" then do the same on "Microsoft Dynamics 365 Connection Setup").

    Second way is:
    If you don't want to disable and reenable, you can add the required privilege on PowerApps.
    1. Follow this documentation https://learn.microsoft.com/en-us/power-platform/admin/security-roles-privileges
    to check the security role "Business Central Dataverse Integration" (for some users it is called "Business Central Cds Integration") in your Dataverse environment.
    It must include organization level Read privilege for the Entity table and also for Attribute table. If it doesn't, then assign the required privileges and save the change. Entity and Attribute tables are under "Customizations" group of tables)
    2. Once the role from step 1. has the prvReadEntity and prvReadAttribute privileges, make sure that the application user has this role assigned. Follow this to open user settings https://learn.microsoft.com/en-us/power-platform/admin/users-settings then choose "Application Users" and find the user with application id 88c57617-94ff-4043-a396-8a85a8d38922. This is the user that runs the integration with Business Central. It must have security role from step 1. assigned to it.
    3. If the user doesn't have the required role, use https://learn.microsoft.com/en-us/power-platform/admin/assign-security-roles to make sure that security role from step 1. is assigned to this user.

     

    What helped for me was to remove the dataverse setup in BC and reinstall it. And to remove the BC dataverse integration priviliges in Power Apps and to add them again afterwards. 


    I hope this will help you guys also.

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…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 629 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 397 Super User 2025 Season 2

#3
wolenberg_ Profile Picture

wolenberg_ 232 Moderator

Last 30 days Overall leaderboard

Featured topics

Loading started
Loading complete