Singer Tulisa Contostavlos has denied being involved in the supply of class A drugs.
The 25-year-old, of Friern Barnet, north London, denied the charge at Westminster Magistrates' Court.
She was arrested in June after an undercover investigation by the Sun on Sunday.
Musician Michael Coombs, 35, of Velocity Way, Enfield, north London, who also uses the name Mike GLC, pleaded not guilty to the same charge.
More than 40 photographers and half a dozen police
officers were at the court as Tulisa Contostavlos arrived.
Inside court number one, the press bench was packed
as the former X Factor judge walked into court and was
directed into the dock.
After confirming her personal details to the court, she
replied "not guilty" in a clear voice when asked to enter
A short time later, there were chaotic scenes as
photographers jostled for the best spot as Tulisa's lawyer
made a statement on her behalf, saying she would fight
the accusations in court.
The singer is accused of being "concerned with the supply of 13.9 grams of cocaine" to the Sun on Sunday's undercover reporter Mazher Mahmood, sometimes known as the fake sheikh, between 20 and 24 May.
Ms Contostavlos was forced to disclose her address to the court after her solicitor applied for it to be withheld to prevent "unwanted visitors".
Chief magistrate Howard Riddle ruled "the address must be given" after considering the application with representations from prosecutor Emma Scheer and the Press Association.
The singer then told the court: "Just to let you know, after it being read out, in the next month or so I might have to move to a new address."
The judge granted both defendants unconditional bail and told them the case was to be sent to Southwark Crown Court where they will appear on 9 January.