Resolved this issue. Answering my question incase anyone google's this and this helps
them.
.fetchmailrc
# initial setup
set postmaster "localaccount"
set daemon 600
set invisible
# must provide ssl fingerprint for self signed ssl certificates
# use "fetchmail -d0 -vk red001.mail.microsoftonline.com" to find server ssl fingerprint
sslfingerprint "00:00:00:00:00:00:00:0B:00:00:00:00:00:00:00:00"
# accounts to poll
#username@domain.com
poll "red001.mail.microsoftonline.com" protocol POP3 uidl auth password
user 'username@domain.com' there with password 'password' is localaccount here options ssl
#mda "/usr/bin/procmail -m /home/localaccount/.procmailrc"
keep