user2434532
user2434532

Reputation: 11

Logic App (Standard) When Email Received in Share mail Box Authentication

I have a flow with a trigger when email arrived, this trigger has the following setup:

  1. Flow Connector
"host": {
"connection":
   {
      "referenceName": "office365"
   }
}
  1. connection
"office365": {
   "api": {
            "id": "/subscriptions/@{appsetting('WORKFLOWS_SUBSCRIPTION_ID')}/providers/Microsoft.Web/locations/@{appsetting('WORKFLOWS_LOCATION_NAME')}/managedApis/@{appsetting('OFFICE_API_NAME')}"
           },
            "authentication": "@parameters('office365-Authentication')",
            "connection": {
                "id": "/subscriptions/@{appsetting('WORKFLOWS_SUBSCRIPTION_ID')}/resourceGroups/@{appsetting('WORKFLOWS_RESOURCE_GROUP_NAME')}/providers/Microsoft.Web/connections/@{appsetting('OFFICE_API_NAME')}"
            },
            "connectionRuntimeUrl": "@parameters('office365-ConnectionRuntimeUrl')"
}

On the connection we have two parameters:

  1. connectionRuntimeUrl, this is the connection url (azure connection api)
  2. authentication. this in VS code is set to a token

When running in Azure, what should be the value of authentication? Any way to utilize user assigned managed identity? If not what are the other options for this setting? If it has to be a token, how do we refresh it?

Upvotes: 0

Views: 20

Answers (0)

Related Questions