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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

UnboundAction ImportSolution - ConnectionReferences

(1) ShareShare
ReportReport
Posted on by 2
Hi All,

I have an flow created will export/import solutions cross environments.
For the export and import of solutions I use Unbound Actions.
This is working even better than I expected, but... :)


When I want to add ConnectionReferences in the ComponentParameters is goes wrong.

As we see in de documention, ComponentParameters can be used for ConnectionReferences.
The input should be a collection of the crmbaseentity.
 
Also in the documentaion we see that ConnectionReferences are part of the crmbaseentity.
 

But when I execute the action/import, I get this error:
InnerException : Microsoft.Crm.CrmException: Invalid property 'ConnectionReferences' was found in entity 'Microsoft.Dynamics.CRM.crmbaseentity'.
I have tried every possible alternative for ConnectionReferences (lowercase, uppercase, etc.).

 
Can somebody please help me figure this out?
 
 
See below the JSON that I use.
For test purpase I have hardcoded the ConnectionReferences. 

 
Below the JSON input:
{
    "OverwriteUnmanagedCustomizations": false,
    "PublishWorkflows": true,
    "CustomizationFile": @{variables('solution_file')},
    "ImportJobId": @{guid()},
    "ConvertToManaged": false,
    "SkipProductUpdateDependencies": false,
    "ComponentParameters": [
        {
            "ConnectionReferences": [
                {
                    "LogicalName": "cus_sharedcommondataserviceforapps_e2999",
                    "ConnectionId": "shared-commondataser-0000-0000-0000-000000000000",
                    "ConnectorId": "/providers/Microsoft.PowerApps/apis/shared_commondataserviceforapps"
                }
            ]
        }
    ]
}
I have the same question (0)
  • Suggested answer
    rezaniroomand Profile Picture
    on at
    UnboundAction ImportSolution - ConnectionReferences
    When you see that kind of error "Invalid property '...' was found in entity 'Microsoft.Dynamics.CRM.crmbaseentity it usually means that Power Platform wasn't able to figure out what kind of type is the object you are sending in the request and resorted to the crmbaseentity which is the base type for all the entities and doesn't have that property (in this case ConnectionReferences). You can try adding "@odata.type": "#Microsoft.Dynamics.CRM.WhateverTheTypeYouNeed" replace the last part with the type name. You might be able to find it in the docs. I hope this puts you in the right path to solve your problem.
  • Suggested answer
    DAnny3211 Profile Picture
    11,286 on at
    UnboundAction ImportSolution - ConnectionReferences
    Hi,
    The issue you're encountering with the `ImportSolution` Unbound Action and the `ConnectionReferences` parameter likely stems from how the **ComponentParameters** collection is structured and interpreted by the Dataverse API.
    Although the documentation suggests that `ConnectionReferences` can be passed as part of `ComponentParameters`, the error:
    > **Invalid property 'ConnectionReferences' was found in entity 'Microsoft.Dynamics.CRM.crmbaseentity'**
    indicates that the API does not recognize `ConnectionReferences` as a valid property in the context you're using it.
    ### Recommendations:
    1. **Use the correct entity structure** – Instead of embedding `ConnectionReferences` directly inside `ComponentParameters`, try passing each connection reference as a separate `crmbaseentity` object with the appropriate logical name and attributes.
    2. **Review the expected schema** – The `ComponentParameters` should be a collection of entities where each entity represents a component (e.g., a connection reference), not a nested structure.
    3. **Use the Dataverse Web API or SDK** – Consider using the Dataverse Web API or Power Platform Tools for Visual Studio to validate the structure and test the import.
    4. **Check for known limitations** – The `ImportSolution` action may not support all component types equally. You can refer to the ImportSolution Action documentation for supported parameters and examples.
     
    Please verify if this helps clarify the issue or guide your next steps.
    Thanks and best regards,  
    Daniele  
    *Note: This response was prepared with support from Copilot to ensure clarity and completeness.*

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 194

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 123

#3
Sahan Hasitha Profile Picture

Sahan Hasitha 110

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans