O365 send mail activity

HI Current experiencing an issue with this activity please advise, I have deleted and re-added this activity but doesnt make the issue resolved. I have no attachments in the mail activity as well

image

Hi @Aki1111

Could you show the Properties?

@Aki1111,

The generalException occurs when your O365 Scope isn’t configured correctly. Check if you are passing all the mandatory properties with correct values.

This means you are not correctly authenticated with the 365 Scope. Are you using Integrated or Token authentication? Which account are you authenticated with? Is that account’s mailbox in 365 (ask your email admin)? Is your Azure App configured properly with the necessary permissions (ask your Azure admin)?


please see attached

The Send Email activity isn’t what we need to see. We need to see your O365 scope activity’s properties, because that’s where the problem is.

1 Like

Please see attached, thank you

@Aki1111,

Log your app id, tenant, app secret values are being passed to right variable and then to the properties and not interchanged.

You have OAuth Application set to UiPath. You’re probably using an internal Azure App, which means you need to set it to Custom.

1 Like

Hi @Aki1111

Services selected in screenshot is Mail. Can you confirm if you have right graph api permissions assigned to the app id you are using?

It should have mail.read etc permissions assigned in there.

Also, can you confirm your app secret is in a string variable only as you are not using secure app secret but the string one.

@Aki1111

  1. Fill the account field in send email .it is mandatory for appid and secret(mostly this is the issue)
  2. Check the credentials once
  3. Check the prmissions added to your app mostly they would be correct else the exception would be little different but good to check

cheers