Error when calling Azure Search client for creation or searching tasks

Das Gupta, Abhijeet 100 Reputation points
2024-06-04T12:15:17.8266667+00:00

I'm seeing the following error when trying to call the search clients i.e. SearchClient and SearchIndexClient.

For more context, I'm using my compute instance for Azure AI Studio resource's project space for calling the clients using Azure Search sdk

Can anyone please guide on what permissions I might be missing if that is the reason for seeing this error?

HttpResponseError: Operation returned an invalid status 'Forbidden'
Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
832 questions
{count} votes