Package Cannot Be Deleted Deployment Settings May Be Invalid-1005

When trying to delete some library from the tenant feed, the below error stating "Package cannot be deleted - "Deployment Settings may be invalid(#1005)" is thrown.

When trying to delete a library from the tenant or host feed, below error is thrown

Resolution:

  1. Validate the deployment settings whether it is set to anyone like Host or Tenant
  2. If the deployment setting is set to a single one then the library can not be deleted from another tenant
  3. To avoid above issues going forward, the deployment should be set to "both Host and Tenant" where the library gets uploaded to both and can be modified from both.

Example:

  • If the deployment is set to only Host then the library needs to be deleted only from the host tenant and if the customer tries to delete packages from any other tenant they get the above error.