The 2012 incident raised concerns that prostitutes had access to the agents' rooms and potentially sensitive information regarding Mr Obama's movements.
In this most recent incident, the men who worked for the White House Communications Agency, are thought to have been reassigned from their White House jobs while the allegations are investigated.
In August four military personnel from the same agency faced allegations of improper behavior during a trip to Panama with vice president Mike Pence.
The four men were accused of taking foreign women into a secure area while they were preparing for Mr Pence's arrival and were forced to fly home early pending an investigation. If found guilty they could lose their security clearance - or even face a court martial.
Mr Trump and Mr Pence's teams have not commented on the incidents and have referred requests for comment to the Pentagon.
The White House Communications agency is part of the White House Military Office, a team of technical personnel, which travels with the president on state visits to other countries.
The agency's role is to prevent eavesdropping on presidential communications and to ensure that White House officials can be securely reached worldwide at a moment's notice.
A significant number of its staff are assigned to White House duties for four-year stints.
Military personnel with high-level security clearances are supposed to report interactions with foreign individuals to ensure there is no risk of national security being compromised.