Error handling and result aggregation for activation

Add error handling and result aggregation for activation. Implement a deployment id verification check prior to activation.