cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jake-hodgson
Level: Powered On

Error when attempting to create entity

Hi,

 

I'm trying to create an entity called 'Orders' however I seem to get the following error when attemping to save it. I can create other entities absolutely fine.

 

 

The entity could not be provisioned. Please try saving to retry: Sql error: Generic SQL error. CRM ErrorCode: -2147204784 Sql ErrorCode: -2146232060 Sql Number: 2705.
 
Any ideas anyone? Is this some form of restricted term due to Dynamics 365?
 
Thanks Jake
2 REPLIES 2
v-yutliu-msft
Level 10

Re: Error when attempting to create entity

Hi @jake-hodgson ,

I've made a similar test but not met the same problem like your description.

Please check whether your account can use CDS.

What's more, I've found an idea about CDS troubleshooting tool which could help you solve the problem.

You could vote for him:
https://powerusers.microsoft.com/t5/PowerApps-Ideas/Common-Data-Service-Logging-and-Troubleshooting-...

If your problem still exists, please ask for help here:

https://powerapps.microsoft.com/en-us/support/

 

 

 

Best regards,

Community Support Team _ Phoebe Liu

jairoportelaADX
Level: Power Up

Re: Error when attempting to create entity

Hi Jake,

Checking the SQL Server error codes seems like you have 2 or more column names duplicated in your "orders" entity:

https://docs.microsoft.com/en-us/sql/relational-databases/errors-events/database-engine-events-and-e...