The breeding sites for these flies are so numerous and varied, it is impossible to eliminate them all. These tiny pests are small enough to crawl through the average window screen and fit through cracks and crevices around windows and door frames.
You can help prevent these flies from entering your home by spraying a barrier application of Talstar P paying special attention to window frames, window screens, door frames, and cracks and crevices that may be used as points of entry. A screen with a very fine mesh (smaller than 16mesh) will help prevent entry. Additionally, it may be helpful to keep ceiling fans and window fans on at high speeds to keep insects out of small areas.
If flies have already entered your home and you need immediate control use Microcare. This product offers a fast knockdown and kill of flying insects, giving you immediate relief.
A good treatment of Talstar should help do the trick. However, if the junipers are really thick, then you need to apply quite a bit for the product to get down to the ground where the bees are nesting.
http://www.domyownpestcontrol.com/talstar-talstar-one-p-97.html