These answers are for the burners but will also pertain to the oven:
Cause 1
Spark Module
The spark modules provides power to each surface burner spark electrode. If the burner is produces a weak spark, or if the burner sparks intermittently, the spark module might be defective. Before replacing the spark module, first check the spark electrode and the spark wire. If the spark electrode and spark wire are not at fault, the spark module is likely defective. If the spark module is defective, replace it.
Cause 2
Spark Ignition Switch
When the burner is turned on, the spark ignition switch sends voltage to the spark module to produce a spark. If the spark ignition switch is defective, it won't send voltage to the spark module, and the burner won't be able to produce a spark. If your range's burner isn't sparking, check to see if the other burners are sparking properly. If the other burners are sparking properly, the spark ignition switch is likely defective.
Cause 3
Spark Ignition Switch and Harness
When the burner is turned on, the spark ignition switch sends voltage to the spark module to produce a spark. If the spark ignition switch is defective, it won't send voltage to the spark module, and the burner won't be able to produce a spark. If your range's burner isn't sparking, check to see if the other burners are sparking properly. If the other burners are sparking properly, the spark ignition switch is likely defective. If the spark ignition switch is not sold separately, you will have to purchase the switch and harness assembly.