Unfortunately this is once again no longer possible in Atlassian Cloud due to system changes. Please vote for and comment on https://jira.atlassian.com/browse/CONF-7837 if you would like to see this functionality implemented in future.
Presently, it is not possible to hide People Directory in OnDemand. As it is a customization, it is not supported.
However, there is a feature request to introduce hiding the Directory from the Browse menu: CONF-12842. As a feature (and not a customization), it would be available in both standalone and OnDemand versions of Confluence, so do watch and vote for the ticket.
This is not possible in OnDemand, as this requires a tweak in some property files in the application, and this will not be preserverd during upgrade cycle for OnDemand applications. There's a feature request available which I suggest you vote for it :
All the best.
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs