I am writing the script to find the unread email from outlook using powershell script. In addition, download the attachment in the unread email if any attachment is in the email. I got an error while run the script in the below line.
Error : Exception calling “AutodiscoverUrl” with "1’ argument(s): “The Autodiscover service couldn’t be located.”
If anyone already face this kind of issue, please reply to this post.