Issue with Morden IMAP activity while using Outlook Web

Hello,
I was trying to simulate a case where we are designing a bot that is running on a client machine where there is no Outlook install, and we have received emails from Outlook web.
So I started with using IMAP activity, by default, I tried to use integration services.

But it did not work, so I decided to manually set up the activity. I entered all the details correctly, like server, port number, User name, and password(here I was using my regular password, which did not work.

So now I’ve gotten used to the assets, but this did not work. So now generated app password used that as well, but still got the same error.

I made sure all the details are right, there is no typo error, I am to log in to web outlook, and the app password is valid.
When I tried the same code with Gmail, it worked with an app password. I am not sure what is going wrong with Outlook

@sameer.belekar,

Why not using O365 activities?

1 Like

@sameer.belekar

First thing I see the connections are established what issue are you facing with integration services?

Also when you set oauth to true the password field should be the oauth token and not the app password..if app pssword or pssword try to set it to false

Cheers

1 Like

hey @sameer.belekar
Since your Microsoft 365 connection is already set up in Integration Service, the best option is to use Microsoft 365 scope → Get Mail activities.

hello,
Thank you so much for replying to my post, as I said, I am trying a case where Outlook is not installed on the machine, where we want boot to run. Can you guide me on how we can achieve this? I do not want to use Office 365, as in this case, Office will not be present on the machine. Will Integration Service take care of no Outlook install on the machine while using 365 activities? Thank you.

@sameer.belekar

integration services dont need outlook to be installed it works on api

cheers

1 Like

yes now when i rethink on it and did little research I found
UiPath’s Microsoft 365 Integration Service offers a secure, modern way to access Outlook mail without needing IMAP or local Outlook installation. It uses Graph API and OAuth, making it ideal for both attended and unattended bots. This approach is scalable, reliable, and aligned with Microsoft’s future roadmap.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.