Gray will continue to lead through a transition period although his successor has not been named.
The investment approval allows the company to complete its testing phase and move into a commercial phase.
Datacom's revenue grew 9.3% to $1.27 billion.
The latest mobile and landline numbers for New Zealand's three largest telcos.