Hello, your Buick is protected by a 4 year / 50,000 mile warranty that should cover most air conditioning concerns. The only exceptions would be items related to physical damage -- such as an outside source damaging wiring, or debris damaging the condenser for example. I would be hopeful that it is covered --- see your local Buick dealership for further guidance.
RepairPal Certified shops can diagnose and repair your 2017 Buick Enclave. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.