Michael is seen shooting free throws after he calls a foul on Ryan even though Ryan was the ball handler. This is a player control foul and no free throws are awarded.
Several pieces of equipment are visible during the basketball game for brief moments, including cameras and boom microphones. However the fictional office is being filmed by a fictional documentary camera crew, so there are frequently cameras and mikes visible.