Hello @Nazeer, Shalomon
As mentioned earlier in my comments, the failure in the Test-netconnection is expected as you can't resolve a *.xxx FQDN
If you for e.g. use uci.cdn.office.net, you would be able to resolve it (this is just an example).
As suggested by Robin, if you look at the traffic to the cdn.office.net FQDN, you will see the completely URLs that it communicate to. If *.cdn.office.net is already whitelisted from your network you are good with it. There is nothing to worry about it for now.
If you have any more questions or need further clarification, feel free to ask! π
If I have answered your question, please accept this as answer as a token of appreciation and don't forget to thumbs up for "Was it helpful"!