Please follow the below template, it will help us to help you!
Expected Behaviour:
msftconnecttest.com has been added to the whitelist, gravity and dnscache have been reloaded and I have verified that it is not on any blacklist.
Actual Behaviour:
msftconnecttest.com is still being blocked, causing all Windows machines on my network to believe they aren't connected to internet. This is not actually preventing internet connection, but is driving my wife crazy and disrupts a few Windows apps.
The upcoming V5.0 of Pi-hole supports wildcard whitelisting, so adding msftconnecttest.com as a whitelist wildcard would do the trick, as this would cover that domain and the subdomain with www in front.