Calendar Spread

If I am unable to bring the margin how my position will be impacted?

If you are not able to bring the margins for both the legs on the day of expiry, your position with higher margin requirement will be squared off fisrt on the day of expiry at 9:15am.