I am trying to access an API endpoint hosted on Azure APIM using principal service authentication. I have created the app registration, secrets and received the required API permission.
In the REST API linked service I selected the authentication type as Service principal and provided the credentials. I am unsure about the AAD resource, but I am getting a successful test connection.
I am getting successful connections at the DataSource level as well. But when I try to data preview in the activity level, I get the error message "The property 'servicePrincipalId' is invalid or missing."
Not sure what is the issue here. Kindly help!