Share via

Exception: {'error': {'code': 'Authorization_RequestDenied', 'message': 'Insufficient privileges to complete the operation

Rawat, Rahul 0 Reputation points
2025-04-04T11:48:51.84+00:00

Issue Description -

Through this script we are trying to create groups which have the access for azure datalake storage gen2 and configure the ACLs 

I am working on an azure samples repo: https://github.com/Azure-Samples/azure-search-openai-demo

I am running the python script present in the scripts folder: adlsgen2setup.py.

i am running it in my local.

What i have tried -

As per below link for the (AZURE-SERVER-APP-ID) service principal. I have assigned "Storage Blob Data Owner" role.

https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/login_and_acl.md#azure-data-lake-storage-gen2-setup

Error -

Exception: {'error': {'code': 'Authorization_RequestDenied', 'message': 'Insufficient privileges to complete the operation.

Community Center | Not monitored
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.