Thanks for reaching out.
The error you're encountering — "ExpiredAuthenticationToken" — typically indicates that the access token used by the Logic App to connect to the VM has expired. While the connection shows as "Connected" in the portal, this status reflects the last successful authentication and does not necessarily indicate that the authentication token is still valid.
To resolve this, you can refresh the token by re-authenticating the connection :
- Go to the Logic App’s Connections.
- Click on the
azurevm
connection. - Select Edit API Connection and sign in again.
- Save the connection.
This should update the token and allow the Logic App to run successfully.