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 :
Customer experience | Sales, Customer Insights,...
Unanswered

trying to import virtual entity with custom data provider fails on dependency

(0) ShareShare
ReportReport
Posted on by

i've created a virtual entity from a custom data provider i created

i've used this blog guide as reference:

https://carinaclaesson.com/2020/01/19/virtual-entities-a-forgotten-feature-which-is-still-alive/

my data source instance named "Reward DS"

it all worked well, only when i exported it and tried to import it i've got the following error:

Solution manifest import: FAILURE: The following solution cannot be imported: xxx. Some dependencies are missing. The missing dependencies are : <MissingDependencies><MissingDependency><Required type="183" schemaName="Reward DS" displayName="Reward DS" solution="Active" id="{afa91c1b-74c7-eb11-bacc-000d3a9a32f7}" /><Dependent type="1" schemaName="msfsi_reward" displayName="reward" /></MissingDependency></MissingDependencies> 

so i tried to split it to 2 solutions, one with the Data source and the other with the virtual entity, and used the configurationMigration to make sure my DataSource has the same id as the id expected on the other side

but even though i went all the effort here i got the same error...

did anyone tackle the issue of virtual entity with custom data source and has some insights they can share?

I have the same question (0)
  • liranelisha Profile Picture
    on at
    RE: trying to import virtual entity with custom data provider fails on dependency

    Update:

    this issue only exists in managed solution. in unmanaged format the import is working when the solutions are splitted

  • Esteban Coto Alfaro Profile Picture
    on at
    RE: trying to import virtual entity with custom data provider fails on dependency

    Hello, after the export, did you check if in the file those dependencies that are shown in the error appear in the file?

    Thanks!

    Community Support Team - Esteban

    If this Post helps, then please consider Accept as solution to help the other members find it more quickly.

  • Esteban Coto Alfaro Profile Picture
    on at
    RE: trying to import virtual entity with custom data provider fails on dependency

    I recommend you to check if that data source exists in the target, and if not add it in the target or in the solution. If it still not working is better to open a ticket.

    Thanks!

    Community Support Team - Esteban

    If this Post helps, then please consider Accept as solution to help the other members find it more quickly.

  • liranelisha Profile Picture
    on at
    RE: trying to import virtual entity with custom data provider fails on dependency

    hii Esteban, in Virtual Entities, the data source isn't part of the solution as it is a data instance of an entity

    i've added it to the package and made sure it was there before trying to upload the solution.

    also, check my first comment - when i'm uploading the solution in unmanaged version, the solution import works and the virtual entity function properly. i've done it several times now

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 228

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 156 Super User 2025 Season 2

#3
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 149

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans