PATCH method not allowed for Storage Services REST API "Path - Update"

Scowl 25 Reputation points
2024-10-22T09:31:41.02+00:00

I try to use the Set Access Control option described in https://zcusa.951200.xyz/en-us/rest/api/storageservices/data-lake-storage-gen2?view=rest-storageservices-datalakestoragegen2-2019-12-12.

Although I was able to run other methods (as Path - List) it seems that just "GET,HEAD,PUT,DELETE" methods are "allow" as the answer headers show (see hardcopy) and I am receiving a 405 error.

Please, does someone have any suggestion?

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,491 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,934 questions
{count} votes

Accepted answer
  1. KarishmaTiwari-MSFT 20,212 Reputation points Microsoft Employee
    2024-10-29T00:36:14.3533333+00:00

    @Scowl I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!

    Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer. Accepted answers show up at the top, resulting in improved discoverability for others.

    Issue: PATCH method not allowed for Storage Services REST API "Path - Update"

    Solution: Customer shared = "I had to use the DNS suffix for the Azure Data Lake Storage endpoint and not the blob one. I mean dfs.core.windows.net and not blob.core.windows.net."

    If your issue remains unresolved or have further questions, please let us know in the comments how we can assist. We are here to help you and strive to make your experience better and greatly value your feedback.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Scowl 25 Reputation points
    2024-10-22T10:53:04.2566667+00:00

    "Self solved": I have to use the DNS suffix for the Azure Data Lake Storage endpoint and not the blob one. I mean dfs.core.windows.net and not blob.core.windows.net.

    Now the error is "400 The access control list value is invalid", but this is other history...

    1 person found this answer helpful.
    0 comments No comments

  2. Nehruji R 8,151 Reputation points Microsoft Vendor
    2024-10-22T12:54:36.2566667+00:00

    Hello Scowl,

    Greetings! Welcome to Microsoft Q&A Forum.

    The error “400 The access control list value is invalid” typically indicates that there might be a problem with the format or values you’re using in the ACL. Please ensure you have updated the ACL entries in correct format and assigned the necessary permissions to the user.

    Please let us know with more details on the issue/query to help with more inputs.

    0 comments No comments

Your answer

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