The police said the accused, Atul Kalsi, came to Divisional Commissioner D Suresh's camp office in Civil Lines area on Tuesday.
"His activities appeared to be suspicious. The official cross-checked with the PMO about his credentials and it appeared to be false. Subsequently, Mr Kalsi was apprehended by security staff," Gurgaon Police's public relations officer Ravider Kumar said.
The accused is an American citizen of Indian origin. He also has a Gurgaon voter ID card which is being investigated.
Mr Kalsi was brought before the Gurgaon civil court which sent him to 14 days in judicial custody.
D Suresh, the divisional commissioner, told news agency PTI that the Prime Minister's Office was informed about the incident.