Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.24k stars 4.58k forks source link

[QUERY] SyncuploadFromuriasync uploads the blob with external URL, 403 #44976

Open jaelys opened 1 month ago

jaelys commented 1 month ago

Library name and version

Azure.Storage.Blobs 12.20.0

Query/Question

The official document describes SyncuploadFromuriasync to support external URLs. As long as the source of HTTP get can be accessed, I have an external URL that can be opened in the browser and can be accessed with postman. Report 403, Azure.requestFaileDexception: 'This Request is not authorized to perform this operation.

Excuse me, does SyncuploadFromuriasync not support the access to the external URL with Query Parameters?

ex : https://abc.oss.com/output/8293e409e83e4d559f24fbe50/8293e409e83e4d55_20240710114350.json?Expires=1723175147&AccessKey=LTA4o1drkJN1TfCr&Signature=tiyBwLWZZ8yZubWGy6pT0%3D

Environment

azure function and Azure AppService linux .net 8

github-actions[bot] commented 1 month ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.