cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Error: Specified folder not found - Office365Outlook.SharedMailBoxSendEmail

Hello,


Trying to send email from on behalf of user however getting below error. 

 

Screenshot 2020-10-23 131257.jpg

I have added creator of this app in Mailbox permissions of "Service" user as you can see in the picture below.

 

vermaaman_0-1603430330529.png

 

Here is my code, Is there anything i am missing here.

 

 

 

Office365Outlook.SharedMailboxSendEmailV2("services@onmicrosoft.com", "RequestorUser@onmicrosoft.com", "This is a test", "Email Test Body")

 

 

 

Please help, 

 

Thank you!

Aman

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @vermaaman :

I suggest you first try to open and use the share mailbox in OutLook.(verify that the email address is available)

After that you can try this fromula:

Office365Outlook.SendEmailV2(
 "RequestorUser@onmicrosoft.com", 
 "This is a test(From)", 
 "Email Test Body",
 {From:"services@onmicrosoft.com"}
)

Best Regards,

Bof

View solution in original post

2 REPLIES 2
Community Support
Community Support

Hi @vermaaman :

I suggest you first try to open and use the share mailbox in OutLook.(verify that the email address is available)

After that you can try this fromula:

Office365Outlook.SendEmailV2(
 "RequestorUser@onmicrosoft.com", 
 "This is a test(From)", 
 "Email Test Body",
 {From:"services@onmicrosoft.com"}
)

Best Regards,

Bof

View solution in original post

thanks @v-bofeng-msft   

 

I tested that and received the email as you can see in the picture below.

 

vermaaman_0-1603682824091.png

 

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,643)