NEW YORK CITY - The power outage in Upper Manhattan and Queens that struck suddenly early Friday morning was linked to the rain that hit New York City Thursday night, Mayor Bill de Blasio said. 

"That is a new outage that appears to be weather-related," de Blasio said.

Con Edison confirmed Friday that the outages were caused by "weather."

De Blasio chastised the utility for its slow response - citywide power is not expected to return until Sunday - and its lack of transparency over the outages. 

"This an unacceptable situation," de Blasio said. "I wish Con Ed would get the memo."

Approximately 187,000 customers were said to have been impacted in Manhattan, and 5,400 in Queens.

Con Ed says power has been restored to those in Upper Manhattan, where three networks on the Upper West Side, Upper East Side and in Harlem lost electric supply early Friday morning. But it is still trying to restore power to all affected customers in Middle Village, Queens, whose electricity was also knocked out. As of Friday morning, power had been restored to 3,000 Queens customers.

While both were related to the rain, they were separate events.

“It was a little startling, it was still dark. I heard a little bit of a boom and every light and air conditioner went out and we were in just darkness about 20 minutes," said an Upper East Side resident.

The MTA says service on the A, B, C, D, 1, 2 and 3 lines was disrupted as a result.

“I was here for 2003 for the other blackout in August of 2003 so that flashed through my mind quickly, but yeah I mean it is concerning — how would the upper half of Manhattan be completely dark for 15 20 minutes,” said an impacted customer.

The power outages come as thousands are still without power following Tropical Storm Isaias. Con Ed has come under scrutiny for its handling of the storm outages, prompting Governor Andrew Cuomo to direct the state's Department of Public Service to investigate the utility.