pablocastro I gave myself the following permissions:
Search Index Data Contributor
Storage Blob Data Contributor (but this was already inherited from the Resource Group)
But when running the script I got the following messages:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ecard\openaidemo03\scripts\.venv\Lib\site-packages\azure\core\tracing\decorator.py", line 78, in wrapper_use_tracer
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ecard\openaidemo03\scripts\.venv\Lib\site-packages\azure\search\documents\indexes\_generated\operations\_indexes_operations.py", line 413, in create
raise HttpResponseError(response=response, model=error)
azure.core.exceptions.HttpResponseError: () Authorization failed.
Code:
Message: Authorization failed.
The point is that the messages are not clear regarding which permissions were the wrong ones.
Thanks in advance