Hello
Thank you for posting in Q&A forum
Please follow below step to see if it will help:
Type Win+R >>> ncpa.cpl >>> find your office wifi >>> double click >>> Wireless Properties
Make sure "Connect automatically when this network is in range" is been select
Best regards
Yanhong
=====================================
If the answer is helpful, please click "Accept answer" and upvote it