I have developed an Azure logic app and Azure function to send actionable messages to users. On the bottom are two buttons to reply to another logic app. If I test it on the outlook web app (O365 E3-E5 licensing), it works fine. On the outlook desktop app it's not working with Error 401 not authenticated. The logic app is not triggerd if I check the history logs.
Any ideas what causes the error or how to debug?
Best regards
Edit: The Logic App uses an HTTP trigger with a specific json input. In the Logic App the users JWT Token will be checked with an Azure Function. But, the logic app never shows an run started if I click on send in the outlook desktop app. It looks like the call is blocked by the outlook client.
I have found a solution or a workaround...
Instead of triggering the Logic App directly, the request is sent to an Azure function (which also authenticates the user). The function is just a "middleman" that forwards the request to the logic app after successful authentication.
I don't know why it doesn't work with Logic Apps in this particular version of the Outlook desktop application... but with Azure functions there is a solution :)