Hello Priyal Sobti,
Greetings! Welcome to Microsoft Q&A Platform.
I understand that you are encountering a 405 error with the message "UnsupportedHttpVerb" ,“The resource doesn’t support specified HTTP Verb,” it indicates that the HTTP method you’re using is not allowed for the specific resource.
Ensure that you are using the correct HTTP verb for the operation. For Azure Blob storage, the supported HTTP verbs are typically PUT
(for creating or updating messages) and GET
(for retrieving messages) and also check some of the below resources that prove helpful to resolve your issue:
Make sure your SAS token includes the necessary permissions for uploading a blob. For uploading, you need at least w (write) and c (create) permissions.
Double-check the URL you’re using. It should be in the format:
https://<myaccountname>.blob.core.windows.net/test/<blobname>?sp=racwdli&st=2024-08-06t16:33:48z&se=2024-08-07t17:00:48z&spr=https&sv=2022-11-02&sr=c&sig=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Ensure you have the correct headers set in your request, also please check your blob storage “Firewalls and virtual networks”. If Selected networks is checked, please try checking All networks. If you want to enable firewall, then please make sure to whitelist the IP's that need to access your storage account and let us know if it helps.
Similar thread for reference - https://stackoverflow.com/questions/44247379/unsupportedhttpverb-the-resource-doesnt-support-specified-http-verb-requesti
Hope this answer helps! Please let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.