Z-Bo was arrested for felony weed possession with intent to sell back in August when cops say they busted him with more than 2 pounds of pot in Nickerson Gardens.
However, TMZ noted Randolph reached an agreement to plead no contest to the misdemeanor resisting arrest charge and had the marijuana charge thrown out.
Randolph, a 16-year National Basketball Association veteran, spent eight seasons with the Memphis Grizzlies before signing with the Sacramento Kings in July.
He says Randolph was sentenced to 150 hours of community service and may ask for the charges to be vacated if he stays out of trouble for a year.
Initially, TMZ Sports reported that the charges against Randolph were reduced to misdemeanor possession and resisting arrest. Randolph was signed by the Sacramento Kings over the summer to a two-year, $24 million deal in a clear attempt to shore up the team's frontline while providing experience to a relatively youthful roster. Last season, two-time All-Star Randolph averaged 14.1 points and 8.2 rebounds. During his time with the Grizzlies, Randolph averaged 16.8 points and 10.2 rebounds.