Window light may cancel the flash with automatic cameras.
Move in close to your subject and use the fill flash setting on your camera.
Adjust your camera position so that the flash does not reflect on shinny surfaces.