Disclaimer: my dog is trained by me and really knows how to behave in the office and outside the office.
Unfortunately in some past jobs I stumbled upon people that treated their dog permit like a kindergarten — just dropping the dog in the office and not taking care of it. Some fabulous examples was dog pooping in the middle of a group of people during the SCRUM meeting ;) Or a dude bringing his 3-month puppy peeing on the floor every 15 minutes. Some people are not mature enough to bring their dog to the office :)