“Ticketing is a fixed game,” Mr. Schneiderman said in a statement. “My office will continue to crack down on those who break our laws, prey on ordinary consumers and deny New Yorkers affordable access to the concerts and sporting events they love. This investigation is just the beginning of our efforts to create a level playing field in the ticket industry.”

A month earlier, the attorney general pressured several online ticket marketplaces, including StubHub, a division of eBay, to remove so-called speculative ticket listings for concerts by Bruce Springsteen, where brokers tried to sell tickets they did not yet have. Other stars like Adele have recently taken steps to try to prevent scalpers from getting tickets to their shows.

Longstanding restrictions on ticket scalping in New York State were mostly lifted in 2007 as online sales became increasingly popular with consumers. But the attorney general’s report says that the online ticketing market has developed in ways that are often illegal.

Much of the report focuses on bots, computer programs that help their users scoop up large numbers of seats, including the best ones, by eluding the security measures of sites like Ticketmaster. Using bots is illegal in New York, but the attorney general found — using data supplied by major ticketers, credit card companies and brokers, some of which were issued subpoenas — that they have been in widespread use.

Resale brokers are required to have a license from the state, but the report found that many do not. Along with the report, the attorney general announced that it had reached settlements with two professional brokers that have operated without licenses. One broker, M.S.M.S.S. of Manhattan agreed to pay $80,000 in penalties, and Extra Base Tickets, of Garden City, N.Y., will pay $65,000.