Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

PSA - How to delete a project?

Posted on by 2

We have created a project in PSA as part of training our staff. During the training session, timesheets were created and submitted which were then approved. These actuals have been removed from the system, but the project still cannot be deleted. We are getting the below error. Is there a procedure to follow?

This is on our production instance and needs to be removed.

0676.Error.jpg

Regards,

Dominic.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: PSA - How to delete a project?

    Would like to know the solution for this. Any PSA tool that doesn't allow for the deletion for projects cannot be considered stable. Too many of these glaring issues in the tool.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: PSA - How to delete a project?

    Hi,

    Make sure that you don't have any associated records with Projects. Add all the related entities in navigation. Check the records by open each entity.

    This error is only occur due to dependencies with related records.

    Thanks,

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: PSA - How to delete a project?

    Projects can be deactivated using the advance find (see below)

    20180228-psa-advance-find-results.png

    20180228-psa-advance-find-results.png

    The error messages is because there is a record currently related to project.
    In my case it was a team member, deleted it and was then able to delete the project.
    However it could be any of the 1:n relationships depending on their properties. 

  • RE: PSA - How to delete a project?

    Hi Aric,

    Our sandbox instance started misbehaving with user logins and hence we had to switch to the PROD (had no other option at that time). It's only this 1 training project and there is no option to disable or make it Inactive. There is only a 'Delete' option. We won't be doing any more training work on the PROD in future.

    The contents of the log file are below:

    <s:Envelope xmlns:s="schemas.xmlsoap.org/.../&quot;><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">The object you tried to delete is associated with another object and cannot be deleted.</faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts&quot; xmlns:i="www.w3.org/.../XMLSchema-instance&quot;><ActivityId>feca52d5-40ef-44ff-bb14-a606ab4a03b8</ActivityId><ErrorCode>-2147220953</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic&quot;/><Message>The object you tried to delete is associated with another object and cannot be deleted.</Message><Timestamp>2017-12-11T23:45:34.3065388Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault><ActivityId>feca52d5-40ef-44ff-bb14-a606ab4a03b8</ActivityId><ErrorCode>-2147220953</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic&quot;/><Message>The object you tried to delete is associated with another object and cannot be deleted.</Message><Timestamp>2017-12-11T23:45:34.3065388Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault i:nil="true"/><OriginalException i:nil="true"/><TraceText i:nil="true"/></InnerFault><OriginalException i:nil="true"/><TraceText i:nil="true"/></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>

    Regards,

    Dominic.

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: PSA - How to delete a project?

    What error are you getting when you click on the Download Log File?

    Does it specify the associations?

    Not to step on the blisters, but you try not to do training in your production environment.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans