BadRequest error message

mknezevich 35 Reputation points
2024-02-07T18:42:16.3233333+00:00

Hello, I'm trying to automate document processing using the logic app. I have it so that when a file gets uploaded into a blob storage container it should trigger the workflow to use a custom model that I built and trained using document intelligence. Whenever I try to run the logic app, I get an "BadRequest" error. See below for details.
{   "error": {     "code": "InvalidRequest",     "message": "Invalid request.",     "innererror": {       "code": "InvalidManagedIdentity",       "message": "The managed identity configuration is invalid: Managed identity is not enabled for the current resource."     }   }

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,996 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,016 Reputation points
    2024-02-12T11:58:28.26+00:00

    @mknezevich Thanks for reaching out. As per the error it looks like you have authenticated your Form Recognizer action with the managed identity and the managed identity is not enabled for your form recognizer resource. Can you please confirm if you are using the endpoint URL and account key for authentication? Also please confirm which action you are using and how you are authenticating it so I can repro the issue at my end.

    0 comments No comments