Receiving a Dynamics AX Error ‘_XYZ is an unwanted object name’ When Checking in a Model for TFS

By Jackie Olson | March 30, 2017


I am in the process of setting up TFS for my Dynamics AX instance. When checking in my model, I am receiving errors similar to these:

\Project\Shared\_XYZMaterialsManager is an unwanted object name.
\Security\Roles\_XYZMaterialsManager is an unwanted object name.

The reason I was getting the above error is because I have a shared project and a security role in my AOT where their names start with " _XYZ" AND in my Exclude element names in version control system setting I have a record with "<\_"

So go to your AX development workspace, Version Control > System Settings, then click on Exclude element names (fast link on the left). You will see a record with a value of <\_ (first record below). You will need to remove this record.

Receiving an error '_XYZ is an unwanted object name' when checking in a model for TFS

So now you should see this -

Receiving an error '_XYZ is an unwanted object name' when checking in a model for TFS

You will now be able to check in your model into TFS.

Related Posts

Under the terms of this license, you are authorized to share and redistribute the content across various mediums, subject to adherence to the specified conditions: you must provide proper attribution to Stoneridge as the original creator in a manner that does not imply their endorsement of your use, the material is to be utilized solely for non-commercial purposes, and alterations, modifications, or derivative works based on the original material are strictly prohibited.

Responsibility rests with the licensee to ensure that their use of the material does not violate any other rights.

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!