Rule applies to the executive branch — with exemptions for national security, law enforcement and research — and doesn't appear to cover Congress itself.
The chairman of a national security subcommittee in the House of Representatives is worried that federal employees who use TikTok, Grindr and other mobile applications owned by foreign governments could be susceptible to blackmail or become national security vulnerabilities.