1
votes

I've tried to do a simple azure logic app. I'm using the office 365 connector and an email trigger of "When_a_new_email_arrives" (https://azure.microsoft.com/en-us/documentation/articles/connectors-create-api-office365-outlook/#when-a-new-email-arrives). It seems to work if I send an email to the target account, push the trigger. At least when matched between azure login & office 365 mailbox (i.e. both uses the same id [email protected])

However, if the mailbox belongs to another user say [email protected] it doesn't seem to work even though it is "authorized". The trigger always comes back as 'skipped'. I think I'm getting to the correct mailbox because if I say a different source folder that does not exist in the target mailbox I do get an error.

Any ideas on how to troubleshoot?

2
Is the mailbox of the other user ([email protected]) an Office 365 hosted mailbox?Derek Li
Yes. All office 365 mailboxes. In fact in this case all within the same domain.Karl

2 Answers

1
votes

You can only work with one account with the Office 365 Connector Api. The only account you can use is the one you logged in with.

1
votes

I walked away from this and tried it again and it worked straight away. So, I believe this was a bug, as it now works with only me doing an "authorize" again (something I had previously done).

The answer that it can't be done is incorrect.