Skip to main content

Notifications

Community site session details

Community site session details

Session Id : SboibWn3aOcOCFU42x9cgr
Power Automate - Power Automate Desktop
Unanswered

How to fix issue "Authentication failed on IMAP server outlook.office365.com"

Like (0) ShareShare
ReportReport
Posted on 7 Apr 2022 06:36:25 by

In Power Automation Desktop, I used the action "Retrieve email message" and the setting as below. The user name is an active outlook user and the passwords is correct. but after I run the action, got error message "Authentication failed on IMAP server outlook.office365.com", see the second screen shot.

mei_wang_0-1649313181795.png

mei_wang_1-1649313321531.png

 

  • wezhema Profile Picture
    31 on 20 Oct 2022 at 16:15:05
    Re: How to fix issue "Authentication failed on IMAP server outlook.office365.com"

    Hey, I faced the same issue recently, I had some processes that were working before but suddenly started failing, it seems like MS disabled Basic Auth for IMAP around Oct 1st 2022 (Not sure about your case since it is older but for anyone looking for a quick solution like me, I found this), I re-enabled the Basic Auth by following this article: Basic Authentication and Exchange Online – September 2021 Update - Microsoft Community Hub

    Hopefully it helps.

  • Riyaz_riz11 Profile Picture
    2,666 Super User 2025 Season 1 on 07 Apr 2022 at 08:50:38
    Re: How to fix issue "Authentication failed on IMAP server outlook.office365.com"

    Okay in that case even your outlook will open manually, but bot will not accept. Its your wish , even i faced same challenge so.

  • Community Power Platform Member Profile Picture
    on 07 Apr 2022 at 08:27:51
    Re: How to fix issue "Authentication failed on IMAP server outlook.office365.com"

    Ahammad, thank you again for your quickly response. I don't understand well, the email account is also my windows account, when I changed the password of windows, the password will also be changed automatically for my outlook account, and now the password works for me to get emails in outlook. What do you mean "issue with password expiry"?  I know the windows password will be expired in each three months, but I'm sure now my password isn't expired. 

  • Riyaz_riz11 Profile Picture
    2,666 Super User 2025 Season 1 on 07 Apr 2022 at 07:23:09
    Re: How to fix issue "Authentication failed on IMAP server outlook.office365.com"

    In that case it was issue with password expiry so please change password and try again.

     

    Regards

    Ahammad Riyaz

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • Community Power Platform Member Profile Picture
    on 07 Apr 2022 at 07:06:56
    Re: How to fix issue "Authentication failed on IMAP server outlook.office365.com"

    Ahammad, thanks for your response. I'm sure the password works. Additional, my colleague who used his email account and his password also encountered the same error, and he said the retrieve email had worked but now failed with unknown reasons.

  • Riyaz_riz11 Profile Picture
    2,666 Super User 2025 Season 1 on 07 Apr 2022 at 06:58:04
    Re: How to fix issue "Authentication failed on IMAP server outlook.office365.com"

    Hi @Anonymous 

     

    Ahammad_Riyaz_0-1649314634061.png

     

    Meanwhile check whether your password has been expired or not, or change your password and try again it will works.

     

    Regards

    Ahammad Riyaz

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started