No, he did not know, and neither did you because he didn't use a dime of taxpayer money despite being allowed to use up to a $100,000 for such renovations of choice.
The Obamas had some regulation lines and hoops installed in an existing tennis court at the White House and paid the $27,000 out of their own pockets for it.