danielsandorsyntio commented on issue #4976:
URL: https://github.com/apache/arrow-rs/issues/4976#issuecomment-2114310705

   Hello, I have ran into the same issue with the 0.17.3 version of the 
[delta-rs](https://github.com/delta-io/delta-rs) library in Python.
   
   I enabled the system assigned managed identity on my Azure Function. I 
assigned it the Contributor role for the storage account. I defined storage 
options as such:
   
   ```
   storage_options = {
       "account_name": "labssupportdeltadestdev",
       "azure_msi_endpoint": getenv("IDENTITY_ENDPOINT"),
   }
   ```
   
   I get the following error:
   
   ```
   Generic MicrosoftAzure error: Client error with status 403 Forbidden: 
   <?xml version="1.0" encoding="utf-8"?>
   <Error>
        <Code>AuthenticationFailed</Code>
        <Message>Server failed to authenticate the request. Make sure the value 
of Authorization header is formed correctly including the signature.
   RequestId:5555555-b01e-0000-2e65-55555000
   Time:2024-05-16T07:46:01.5423665Z
       </Message>
        <AuthenticationErrorDetail>The MAC signature found in the HTTP request 
'lGJvodsICn0cdsdIdAuNss4dY33AZD9whZJ3Btd21x7A=' is not the same as any computed 
signature.
       </AuthenticationErrorDetail>
   </Error>
   ```
   
   I tried setting `azure_object_id` and `azure_msi_resource_id` as well using 
my managed identity object ID and the Azure resource ID as well, but the error 
persists.
   
   Any advice on what I'm doing wrong?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to