Forum Discussion
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 .How to prevent that
Best Regards
Thanks
5 Replies
You can toggle the -UsersPermissionToReadOtherUsersEnabled setting:
Set-MsolCompanySettings -UsersPermissionToReadOtherUsersEnabled
- Tien Ngo ThanhIron 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
- Hi Tien Ngo Thanh,
As I wrote above, disable access to Powershell should achieve what you need without impact on service.
Best, Chris
Disable access to Powershell for the user(s)
Hope that answers your question!
Best, Chris