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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)
Answered

One or more configuration keys are disabled in the data entity in D365 AX

(0) ShareShare
ReportReport
Posted on by 4

Hello expertise,

I have  deployed a new sandbox environment for D365 Finance & Operations with update 15. and trying to import data like chart of accounts , customers , vendors .

But when import the record by using entity , its generating below error for all entity .

"One or more configuration keys are disabled in the data entity , 'Main account'. A field is available to be used in data management if the configuration key of the field, its table and its data entity are all enabled"


Please suggest how to solve this issue.

Thanks.

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,679 Super User 2026 Season 1 on at

    HI Naveen,

    Is this error coming for all entities? So also the customers? Did you disable some configuration keys in the application?

  • Naveen Mishra Profile Picture
    4 on at

    Yes this error is coming for all entities .

    No, After deploy the environment not touch any configuration key.  

  • André Arnaud de Calavon Profile Picture
    303,679 Super User 2026 Season 1 on at

    Hi Naveen,

    Did you install additional deployable packages with ISV solutions or customizations? Or did you do some customizations on this box?

  • Community Member Profile Picture
    on at

    I am having the same issue, sandbox environment , no customizations 

  • Sukrut Parab Profile Picture
    71,735 Moderator on at

    Hi Naveen ,

    Did you make any changes in the environment after you deployed it , like applying  any package ? Do you know if the synchronization is done on this environment ?

  • Community Member Profile Picture
    on at

    Did you try refreshing your entity list?

  • Naveen Mishra Profile Picture
    4 on at

    Hi Sukrut ,

    After deploy the environment  not make any changes , not apply any package.

    And not synchronization is done in this environment.

  • Naveen Mishra Profile Picture
    4 on at

    Hi RDavis,

    I have tried refresh entity list but no luck.

  • André Arnaud de Calavon Profile Picture
    303,679 Super User 2026 Season 1 on at

    Hi Naveen,

    If you still have this issue, can you share a screenshot showing the complete window and error message?

  • Suggested answer
    Mark Schurmann Profile Picture
    4 on at

    I opened with Microsoft about this problem.  I appears to be caused by data entities that have been deprecated but are still in one or more projects.  They provided the following instructions to clean up the obsolete data entities.  I followed the instructions, but I still get the warning.  I also was not able to delete all of the offenders because some said they had a dependency.  Since I could not identify a data entity that could not be imported or exported, Microsoft said, its just a warning, don't worry about it.

    Instructions for removing orphan entities:

    1. Run the following sql statement.

    SELECT ENTITYNAME FROM DMFENTITY WHERE ENTITYCONFIGKEYNAME = '' AND ENTITYISENABLED= 0

    2. Run the following statement and verify it returns no result. It means no data project uses the entities of #1.

    SELECT A.DEFINITIONGROUP, A.ENTITY from DMFDEFINITIONGROUPENTITY A

    JOIN DMFENTITY B on B.ENTITYNAME = A.ENTITY

    WHERE B.ENTITYCONFIGKEYNAME = '' AND B.ENTITYISENABLED = 0

    3. Run the following sql statement. It will return no records, means the list of #1 are orphan entities.

    SELECT SCHEMA_NAME(SCHEMA_ID) AS SCHEMA_NAME, NAME AS VIEW_NAME

    FROM SYS.VIEWS C

    JOIN DMFENTITY A ON A.TARGETENTITY = C.NAME

    WHERE A.ENTITYISENABLED = 0 AND A.ENTITYCONFIGKEYNAME = ''

    4. Go to Data management workspace > DMF entities > Choose the entity of #1 and click Delete button.

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 Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans