Is there any reason why AEM doesn't provide a feature of auto unpublish of pages/assets whenever a delete a performed(OOB)?
This feature which your asking for is the default behavior in AEM i.e. whenever page/asset is deleted from author instance then it will be unpublished/deleted from publisher instance as well.
to check this, try deleting page/asset in your local author instance & access below link to see delete request for that particular page/asset in the replication queue.
refer this for more information
@AEMnewbie the feature is OOTB irrespective of AEM version. Please check if the asset is published atleast once and the publish/unpublish process is working as expected in the first case.
Hi @AEMnewbie ,
It is part of OOTB AEM functionality.
Current functionality: When an already activated asset/web page is deleted from author instance, AEM first deactivates the asset/web page (results in deletion of the same from Publisher instance) and then it deletes the page from author.