Error while sending email through graph api

I’m using graph api to send email in UiPath. But, when I try to send an email I’m getting error with the status code 403

Anyone knows the reason for it?

@Steven_ds_55

403 generally comes when access is denied…So check if required scope is given and in microsoft scope activity properties if you have select mail as service

cheers

1 Like

@Steven_ds_55

status code 403 typically indicates a permissions issue
Make sure you’ve given necessary permissions in Azure portal

  1. Ensure you have Mail.Send permission under Microsoft Graph.
  2. If using Application Permissions, ensure Mail.Send is listed under Application Permissions.
  3. Also, check if you’ve granted Admin Consent after adding the required permissions.
1 Like

Ohh, I missed to grant some permissions. Anyways, Thanks @Manisha_Ravindra

1 Like

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