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 III
Super User III

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 III
Super User III

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (61,554)