I created a custom connector that users Azure AD Authentication type. The custom connector works correctly, but after 1 hour, it fails to work. This is the error I get
{
"code": 401,
"message": "Unauthorized"
}
Looks like your flow's abc@myemail.com connection needs to be signed-in again. The most common cause is a changed password or a policy set by your tenant administrator. Connections may also require reauthentication, if multi-factor authentication has been recently enabled for your account.
Even, If I reauthenticate the connection, it does not work until I create a new connection. Then it works again for 1 hour and fail. I need help on how to fix this please