The camera does not focus using the auto focus (AF) setting.

Autofocus does not focus well sometimes due to reasons such as distance from the subject and the environment in which you are photographing.
Check the solutions as follows according to the conditions or environment.

Make sure you are not too close to the subject.
The minimum distance from the subject in which you can photograph (minimum focusing distance) is determined by the individual lens.
Photographs will not be in focus if you attempt to shoot at less than the minimum focusing distance. Please shoot at the focus distance or farther away from the subject.

Situations where multiple subjects are at different distances within the focus area

Subjects with repeating patterns, such as building exteriors

Bright or backlit subjects

Shiny subjects, such as water surfaces, and glossy subjects

Fast moving subjects

Focus as follows for such subjects or in situations where it is difficult to focus.

Compose the shot with the focus locked using a subject at the same distance (Lightly press the shutter button to keep a green frame displayed.)

Switch the lens or camera body to "MF" (manual focus), and adjust the focus manually.

If photograph photographs come out with only part in focus
By narrowing down the camera aperture, you can shoot with the entire photograph in focus with little blurring in the background or foreground.

Photograph with aperture opened (example: Aperture value of 2.8)

Photograph with aperture narrowed down (example: Aperture value of 16)

Try the following operations.

Turn the camera's mode dial to "A (Aperture Priority mode)".
This mode automatically sets the camera so variables other than aperture are at optimum exposure.

Increase the F-value with the dial.
Increasing the aperture in dark locations reduces the amount of light received, making it easier for camera shake to occur. In such cases, use a tripod or similar mechanism to prevent camera shake.

If using ILCA-77M2, SLT-A77V, SLT-A99V, or DSLR-A900
If the photograph is not in focus with subjects and situations other than those noted above, you can adjust the focusing position for each lens used.
In MENU - 3 (Setup menu) - AF Micro Adj., change to On and make fine adjustments from amount.

The focusing position shifts behind the subject the more you set to the "+" side and in front of the subject the more you set to the "-" side.
Set the adjustment value while taking test photographs.

Note:

If AF Micro Adj. is not set to On, the adjustment value cannot be registered.

It is recommended that you adjust in the actual environment where you will actually be photographing.

If you attach a lens that has already been registered, the registered adjustment value will be displayed.

If the lens has not been registered, "±0" will be displayed.

If "-" is displayed for the adjustment value, 30 types of lenses have already been registered. To register a new lens, attach the lens to be deleted and set the adjustment value to "±0", or clear the adjustment values to reset all registered adjustment values.

Making AF fine adjustments with lenses of other manufacturers may affect the adjustment values of your Sony, Minolta, and Konica Minolta lenses. Do not use the function with lenses of other manufacturers.

If using lenses of the same specifications and Sony, Minolta, and Konica Minolta lenses, AF fine adjustments cannot be set individually.