Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error when importing data to dataverse with alternative keys / lookups



I am working with Dataflows to import data to Dataverse. I am creating alternative keys in dataverse to see the lookups in the field mapping of the dataflow (like here). When I try e.g. to create a product, I receive an error like:



""productnumber"": ""Hello1234"",

""DefaultUoMId@odata.bind"": ""/uoms(name='Primary Unit')"",

""DefaultUoMScheduleId@odata.bind"": ""/uomschedules(name='Default Unit')""

}","{""error"":{""code"":""0x0"",""message"":""An error occurred while validating input parameters: Microsoft.OData.ODataException: An undeclared property 'DefaultUoMId' which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values."



In my oppinion, this is an error. The dataflow should use the correct spelling of the NavigationProperty. In this case this is not the schemaname. The dataflow is using DefaultUoMId@odata.bind but should use defaultuomid@odata.bind :




<EntityType Name="product" BaseType="mscrm.crmbaseentity">


NavigationProperty Name="defaultuomid" Type="mscrm.uom" Nullable="false" Partner="unit_of_measurement_products">

<ReferentialConstraint Property="_defaultuomid_value" ReferencedProperty="uomid"/>



what do you think?





Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,274)