FUT and PE adder getting rejected

While placing an AMO order with FUT and PE hedge strategy for margin benefit …The PE Buy limit order won’t get executed and the FUT will be executed with full margin or get rejected
Is there anyway to place order as , If PE not executed then FUT will be cancelled automatically ?

This will be not possible, AMO for F&O will execute only when market opens at 9:15, as there is no pre-market session, so for better execution of both legs you can place orders yourself when market opens.