Cannot get ip configuration with brand new computer

We have a network at work and I adding a brand new computer but cannot connect to the internet or get on the domain. it keeps telling me invalid ip configuration. I took the computer home and it works fine. It cannot get a ip address automatically when connected to the work network.