cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
Community Champion
Community Champion

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

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
Highlighted
Community Champion
Community Champion

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

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

Highlighted
Frequent Visitor

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

Thank you. I get it now.

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,625)