cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vineet2
New Member

How to resolve office365outlook sendEmailV2 failed: { "status" : 401 , unauthorised error} in Powerapp while sending email using connector?

I have created a powerapp and on clicking a button, I want to send emails. I used the Outlook connector to create the connection and used Office365Outlook.SendEmailV2 function. defined all parameters well. 

But this fails to execute and the said error is thrown. Please help me with this.

Error: office365outlook sendEmailV2 failed: { "status" : 401 , "message": "Unauthorised" ....}

 

vineet2_0-1644497482716.png

 

1 REPLY 1
StalinPonnusamy
Super User
Super User

Hi @vineet2 

 

Looks the user does not have permission to send an email. Please assign or ask them to assign permission to this user.

 

This applies to sending emails on behalf of another user as well.

 

Is this happening for all users or specific users?

 

Please work with the IT admin to set up permission in Office 365.


Thanks,
Stalin - Learn To Illuminate

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,943)