Hi I tried to run locally in my machine and I get this error:
File "/workspaces/azure-search-openai-demo/test/app/backend/backend_env/lib/python3.9/site-packages/azure/identity/_credentials/chained.py", line 102, in get_token
raise ClientAuthenticationError(message=message)
azure.core.exceptions.ClientAuthenticationError: DefaultAzureCredential failed to retrieve a token from the included credentials.
Attempted credentials:
EnvironmentCredential: EnvironmentCredential authentication unavailable. Environment variables are not fully configured.
Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot to troubleshoot.this issue.
ManagedIdentityCredential: ManagedIdentityCredential authentication unavailable, no response from the IMDS endpoint.
AzureDeveloperCliCredential: {"type":"consoleMessage","timestamp":"2023-04-25T13:59:37.294847887Z","data":{"message":"fetching token: http call(https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token)(POST) error: reply status code was 400:\n{\"error\":\"invalid_grant\",\"error_description\":\"AADSTS530003: Your device is required to be managed to access this resource.\\r\\nTrace ID: 4ec23fb6-cb5e-4426-afc5-9515534b2200\\r\\nCorrelation ID: 6595191f-b2a3-4bd2-9afc-0bd657b659e9\\r\\nTimestamp: 2023-04-25 13:59:37Z\",\"error_codes\":[530003],\"timestamp\":\"2023-04-25 13:59:37Z\",\"trace_id\":\"4ec23fb6-cb5e-4426-afc5-9515534b2200\",\"correlation_id\":\"6595191f-b2a3-4bd2-9afc-0bd657b659e9\",\"error_uri\":\"https://login.microsoftonline.com/error?code=530003\",\"suberror\":\"additional_action\"}\n"}}
To mitigate this issue, please refer to the troubleshooting guidelines here at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
Failed to start backend
Could help me?