Hi Everyone,
We aim to stop using SMTP/IMAP in one of our customers and focus on Office365 activities. With the Get Mail activity of the Office365 package, we can successfully perform mail reading operations. However, when we try to Send Mail in the same Microsoft Office Scope, we get the following error.
Send Mail: Code: ErrorAccessDenied
Message: Access is denied. Check credentials and try again.
ClientRequestId: 2ecced64-dcc2-47c4-98e2-3565733bcca0
We talked to the IT team and they said that the current authorizations(permissions) are enough. When we ran a script together through Powershell, they successfully sent mail. However, when we do this via UiPath, I get the error we shared with you.
Microsoft Office 365 Scope Properties Screenshot
Send Mail Properties Screenshot
Output Screenshot (Get Mail Successfully Works)
Our Permissions
What is the problem? Thanks in advance.
Regards
Ömer