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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / "An attribute with the...
Power Apps
Unanswered

"An attribute with the specified name already exists for entity" but it doesnt exists

(0) ShareShare
ReportReport
Posted on by 2

I get this error "An attribute with the specified name (column name) already exists for entity (table name)" when trying to create a column, but the name isnt being used in any other column from any table.

Categories:
I have the same question (0)
  • felypeterra Profile Picture
    2 on at

    Its a dataverse table

  • bankmeneertje Profile Picture
    on at

    Did you find any fix? I am getting the same problem.
    I tried to create te column before with no succes, might it be like a shadow exist?

     

  • gary_nightingal Profile Picture
    2 on at

    my issue deals with entities relationships.

    I have a property-lease relationship and was told to create a property-service relationship, but I keep getting this result:  "An attribute with the specified name mti_PropertyGN already exists for entity mti_ServiceGN.", which is not the case.

  • olira Profile Picture
    2 on at

    I ran into the same error message but likely a different scenario.

     

    While the issues described above may differ, what I have learned may help further debugging.

     

    The error occurred when I tried to create a calculated column cust_AccountName, which should show some data about an entity linked by the lookup-type column cust_Account.

     

    I couldn't find anything wrong by looking at the UI or querying the table through WebAPI.

    At this point, I decided to fetch the Attributes directly off the EntityDefinitions WebAPI:

     

    https://<dynamicshost>/api/data/v9.2/EntityDefinitions(LogicalName='<logicaltablename>')/Attributes

     

    Using the EntityDefinitions endpoint, I got a complete list of any internal and external attributes and their metadata. Indeed, a logical attribute with this name indeed existed and was an attribute of the lookup column I created.

     

    [
     ...,
     {
     "@odata.type": "#Microsoft.Dynamics.CRM.StringAttributeMetadata",
     "Format": "Text",
     "AttributeOf": "cust_account",
     "AttributeType": "String",
     "EntityLogicalName": "cust_detail",
     "IsCustomAttribute": true,
     "LogicalName": "cust_accountname",
     "SchemaName": "cust_AccountName",
     "ExternalName": null,
     "IsLogical": true,
     ...
     },
     ...
    }

     

    So, for my issue, when one creates a lookup-type column, there is an internal Logical column <lookupcolumnname>name, which is automatically created.

     

    More details about the EntityDefinitions Endpoint can be found on Microsoft Learn.

  • bankmeneertje Profile Picture
    on at

    Very interesting, that explains the problem! Thanks for sharing.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard