follow this for use with creating a dstdom.broken file for use with pinned certificates..
https://wiki.squid-cache.org/SquidFaq/WindowsUpdate
same item however add the
office.com
office.net domains into the folder so everything works and cache for updates still works
acl BrokenButTrustedServers dstdomain "/usr/local/pkg/dstdom.broken"
acl DomainMismatch ssl_error SQUID_X509_V_ERR_DOMAIN_MISMATCH
sslproxy_cert_error allow BrokenButTrustedServers DomainMismatch
sslproxy_cert_error deny all
this works for me and all updates restored and office use