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

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

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

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 designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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