Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
danyal
New Contributor II

Microsoft Defender cloud-delivered protection service FQDNs not working

Hello,

 

We have some hosts that are blocked from the internet. However, we want them to communicate with Microsoft Defender. I have followed https://community.fortinet.com/t5/FortiGate/Technical-Tip-Allow-Windows-Defender-in-firewall-policy/... and added the FQDNs for cloud-delivered protection. When running the batch command provided by Microsoft https://learn.microsoft.com/en-us/defender-endpoint/configure-network-connections-microsoft-defender... to check the connection, I'm getting failed error. Below is the policy applied to those hosts.

 

# show firewall policy **
config firewall policy
    edit **
        set name "Allowed Policy"
        set uuid 8ac35f8c-eadf-51ef-****-694c164*****
        set srcintf "lan"
        set dstintf "wan1"
        set action accept
        set srcaddr "HOST_ADDRS"
        set dstaddr "Microsoft Defender"
        set schedule "always"
        set service "HTTPS" "DNS" "PING"
        set logtraffic all
        set nat enable
    next
end

So, "Microsoft Defender" is the address group and below is one of the members.

# show firewall address Microsoft\ Defender\ 1 
config firewall address
    edit "Microsoft Defender 1"
        set uuid b8685e3a-eae2-51ef-****-5fdc4d8*****
        set type fqdn
        set fqdn "*.wdcp.microsoft.com"
    next
end

 

Recap, I'm looking into a way that can only allow Defender traffic pass through. Do NOT want all other Microsoft services be available to the hosts.

 

Thank you

1 REPLY 1
Atul_S
Staff & Editor
Staff & Editor

Hi Danyal, 

 

Since the command "mpcmdrun.exe" may execute multiple action calls to multiple MS sites and services in cloud, excluding a bunch of sites as FQDN in FortiGate may have not included some of the sites that has dependencies for such validation.

 

You may need to find out the list of such sites. See if you can use the netstat command using the correct PID to find out.

 

Thanks,

Atul Srivastava
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors