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 Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (6,804)