I have gone through the API and samples. But could not find how to set the geoprocessing environment variables Maintain Attachments & Preserve Global IDs using Geoprocessing.MakeEnvironmentArray using ArcGIS Pro SDK. I am calling Append Geoprocessing Tool from ArcGIS Pro SDK. Geoprocessing.MakeEnvironmentArray does not have the KeyValuePair.