The Sitecore Azure module 3.0 or later automatically adds a remote Sitecore Web database to the on-premises Sitecore instance (Deployment Center) during either the Editing or Delivery Farm deployment.
As a result, the on-premises Sitecore instance can publish to the remote Sitecore Web database on both Editing and Delivery Farms.
The module performs the following steps:
This article provides a list of techniques that can be used to prevent adding a Publishing Target to on-premises when using the Sitecore Azure module.
The recommended approach to prevent adding a Publishing Target in Sitecore Azure is as follows:
<AddPublishingTarget>
...
<!--<processor type="Sitecore.Azure.Pipelines.Configuration.PublishingTarget.SaveChanges, Sitecore.Azure" />-->
</AddPublishingTarget>