The department has ruled against the app’s use on officials’ phones.