Hi VeeraReddy
Yes, your reply solved my query. That was the only problem. Thank you so much.
But I moved to MSI approach of authenticating. I imported the logic app as APIM and updated the policies. You can refer here -
https://securecloud.blog/2021/02/09/deep-diver-hardening-authentication-and-authorization-between-logic-apps-and-api-management/
I have followed steps here. But the problem is I couldn't get the logic app run after adding
"@startsWith(triggerOutputs()?['headers']?['Authorization'], 'Bearer' )" it is throwing below error.
{ "error":
{ "code": "InvalidTemplate",
"message": "The template language expression evaluation failed: 'The template language function 'startsWith' expects its first parameter to be of type string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#startswith for usage details.'." } }
Do you have any idea here ? What can be the case ? What I am doing is wrong ?
There is so many ways I suppose to authenticate Logic app.