How to allowlist a domain that is getting flagged as malicious via graph API?

Zack Korman 0 Reputation points

We have a number of domains that get blocked by Microsoft Defender as "malicious". We want to allowlist those domains for all users in a tenant via the graph API, but it is unclear how we can do that.

I have looked at this: but it seems like an odd way to achieving the goal, and it is not exactly clear that it works for what I want.

Can someone point me in the right direction on this? If I have a given domain,, that I want to ensure does not get flagged as malicious by Microsoft on a given tenant, how can I achieve that via the graph API?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,322 questions
0 comments No comments
{count} votes