Oct 08 2020 12:41 AM
Hi,
I want to disable Powershell access for all users and Admin except for a single admin (myadmin)
how can i do this, I try doing this using conditional access, but did not find any thing to block Powershell access, I saw only the ActiveSync Client and Browser
Any help
Oct 08 2020 09:21 AM
SolutionFor Exchange Online, best use the Client Access Rules functionality: https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/client-access-rules/...
Oct 09 2020 03:15 AM
Oct 09 2020 05:19 AM - edited Oct 09 2020 05:19 AM
@niazstinu you can disable powershell with
Set-User -Identity userToDisable -RemotePowerShellEnabled:$False
Oct 17 2020 12:52 AM
So Azure Conditional Access wont help in this case. yes ?!
Oct 19 2020 03:36 AM
@niazstinu not in this case because you can block completely access to Exchange with Conditional Access but you cannot discriminate between OWA and PowerShell for example