How to use Conditional Access to block Microsoft Exchange REST API Based Powershell (original) (raw)

Hello,
I am tasked to block Microsoft Exchange REST API Based Powershell for some users in my organization. I checked in the sign-in logs and see the Application name and ID as showed below:
image

I tried to use Conditional Access to block this app for some users. However, I can’t find this app in Conditional Access

image

How can I block this app with conditional access using Application name or ID?

Thank you.
Huyan

Give this a read for restricting access to exchange online powershell

Evan7191 (Evan7191)

June 10, 2025, 10:29pm 3

Here is Microsoft’s documentation for blocking Powershell access to various admin centers.