Microsoft has shut its operations in Pakistan after 25 years, citing global restructuring and a shift to a cloud-based, partner-led model. The company will continue serving Pakistani customers through regional offices.