I tried to get my dog to join me in my office and I ended up ignoring him.
What did you decide to ignore your dog?
I was not a fan of having in the my office.
It's expected that you love and care for your pet dog. If your dog needs attention, it is rude not to give it to him since it can affect your dog emotionally. While it is okay to have certain areas of your home off limits to your pet, you shouldn't give your pet mixed signals by allowing him into an area you don't him to be in and then ignoring him for being there.
It's cool. I'm causing him pain on purpose so I can see what he's thinking.
If you simply plan on ignoring your dog than why even bring him to the office. You may be better off letting him chill at home for the day until you get back so he doesnt have to feel ignored by you.