SOLVED

Disable Powershell management for Exchange Online for all users

Brass Contributor

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

5 Replies
best response confirmed by niazstinu (Brass Contributor)

@Vasil Michev 

But is this doable using Azure AD Conditional Access or not?!

 

@niazstinu you can disable powershell with

 

Set-User -Identity userToDisable -RemotePowerShellEnabled:$False

 

 

@Pierfish 

So Azure Conditional Access wont help in this case. yes ?!

@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

1 best response

Accepted Solutions
best response confirmed by niazstinu (Brass Contributor)