Forum Discussion
Tien Ngo Thanh
Apr 15, 2019Iron Contributor
How to prevent user normal get all user in office365 ?
Hello I see in office365 if one user don't need assign license or normal user not administrator then they can use this user connect to office365 by powershell and get all infomation user to csv...
VasilMichev
Apr 15, 2019MVP
You can toggle the -UsersPermissionToReadOtherUsersEnabled setting:
Set-MsolCompanySettings -UsersPermissionToReadOtherUsersEnabled
Tien Ngo Thanh
Apr 15, 2019Iron Contributor
Hi
if I set this command (Set-MsolCompanySettings -UsersPermissionToReadOtherUsersEnabled) then it has an effect to all function on web office365 ? as user can view profile and org chart...on outlook and web ?
And If only disable powershell then all fuction on web normal , is it only deny user conenct by powershell ?
Thanks your help
- Apr 16, 2019Hi Tien Ngo Thanh,
As I wrote above, disable access to Powershell should achieve what you need without impact on service.
Best, Chris - VasilMichevApr 16, 2019MVP
It's only for PowerShell. There's no way to prevent users from seeing details in the GAL. Unless you hide the corresponding people in the GAL, or configure GAL segregation, both of which will impact collaboration.