cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rathoresaurabh5
Frequent Visitor

Trying to list e-mails from shared inbox (outlook) into gallery. Formula shows no error but gives 0 results.

Formula:


Office365Outlook.GetEmailsV3({folderPath:"Inbox/Actioned",fetchOnlyUnread:false,mailboxAddress:"shared-mailbox1@outlook.com",top:10})

 

Am I doing something wrong? 

 

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @rathoresaurabh5 ,

You should be able to do this with a Flow on V2 - reference is here.

The syntax for the PowerApp command is below. I don’t believe the search string was designed for other mailbox addresses and a bit of searching seems to confirm this.

You will also get some guidance on this in the Microsoft documentation as below


The When a new email arrives (V3) trigger is not supported in GCC High. Please use the When a new email arrives in a shared mailbox (V2) trigger as a workaround in GCC High. Enter the same email as the one that created the connection.

Office 365 Group address cannot be used as Shared Mailbox address.

If there are a lot of emails are sent at the same time, there could be some latency that could cause some emails missed. This known issue is met very rarely and related to the mail triggers.

 

Name

Type

Summary

Required

Related Action

folderPath

string

(Folder)

Mail folder to retrieve emails from (default: 'Inbox').

False

 

fetchOnlyUnread

boolean

(Fetch Only Unread Messages)

Retrieve only unread emails?.

False

 

includeAttachments

boolean

(Include Attachments)

If set to true, attachments will also be retrieved along with the email.

False

 

searchQuery

string

(Search Query)

Search query (like in the Outlook client) to filter emails.

False

 

top

integer(int32)

(Top)

Number of emails to retrieve (default: 10).

False

 

skip

integer(int32)

(Skip)

Number of emails to skip (default: 0).

False

 

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @rathoresaurabh5 ,

You should be able to do this with a Flow on V2 - reference is here.

The syntax for the PowerApp command is below. I don’t believe the search string was designed for other mailbox addresses and a bit of searching seems to confirm this.

You will also get some guidance on this in the Microsoft documentation as below


The When a new email arrives (V3) trigger is not supported in GCC High. Please use the When a new email arrives in a shared mailbox (V2) trigger as a workaround in GCC High. Enter the same email as the one that created the connection.

Office 365 Group address cannot be used as Shared Mailbox address.

If there are a lot of emails are sent at the same time, there could be some latency that could cause some emails missed. This known issue is met very rarely and related to the mail triggers.

 

Name

Type

Summary

Required

Related Action

folderPath

string

(Folder)

Mail folder to retrieve emails from (default: 'Inbox').

False

 

fetchOnlyUnread

boolean

(Fetch Only Unread Messages)

Retrieve only unread emails?.

False

 

includeAttachments

boolean

(Include Attachments)

If set to true, attachments will also be retrieved along with the email.

False

 

searchQuery

string

(Search Query)

Search query (like in the Outlook client) to filter emails.

False

 

top

integer(int32)

(Top)

Number of emails to retrieve (default: 10).

False

 

skip

integer(int32)

(Skip)

Number of emails to skip (default: 0).

False

 

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Thank you. I get it now.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,383)