Hello ,
I am facing issue in URL when i try to download the copied Blob files.
Am trying to copy files from azure storage account to another storage account blob.it is getting success and i need the URL to access each files which is copied .
for example :
this is source URL for file :
this file is transferred to another storage account folder but need to know how to access the file using url like above . i tried to change the url like below
but am getting signature related error.
Please suggest any solution.
Thanks
Suganthi
*This post is locked for comments
Both URLs look the same to me.
But if you try to use a shared access signature from one storage account to access resources in another storage account, it's not going to work.
Hi,
The First storage account URL got it from the below code,
"var uploadedBlobInfo = blobStorageService.GetData(
'{780FFA43-DBA0-4D6D-8D47-C2A9A834542D}',
'rtatool',
BlobUrlPermission::ReadWrite,
System.TimeSpan::FromDays(strategy.getBlobLinkExpirationTimeSpanInMinutes()),
false);
url = uploadedBlobInfo .bloblink;"
the second Storage account URL i manually changed. also i tried to get it from the same code used above but it is also throwing error that
"An exception of type 'Microsoft.DynamicsOnline.Infrastructure.Components.SharedServiceUnitStorage.SharedServiceUnitNotFoundException' occurred in Microsoft.Dynamics.Clx.ServicesWrapper.dll but was not handled in user code
Additional information: Record for Id - {780FFA43-DBA0-4D6D-8D47-C2A9A834542D} not found."
but the file( {780FFA43-DBA0-4D6D-8D47-C2A9A834542D} ) is exists in azure storage account.
how to i get the URL. please help.
Regards,
Suganthi
Where did you get the URL?
Hi Martin,
I am getting below error.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<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:c1589fb9-001e-0121-70e6-6136b6000000 Time:2017-11-20T10:00:09.6221181Z
</Message>
<AuthenticationErrorDetail>
Signature did not match. String to sign used was r 2017-11-09T06:33:54Z 2045-06-15T06:38:54Z /rrdev04d60d3af1be8fe668/rtatool/{4EA0DDE5-F934-4B4D-84E7-BEF248103A72}/CreateTaskGuide.xml 2014-02-14
</AuthenticationErrorDetail>
</Error>
Regards,
Suganthi
Can you tell us more about the error, please?
Also, consider asking in a forum about Azure storage rather than in AX forums.
Mohamed Amine Mahmoudi
100
Super User 2025 Season 1
Community Member
48
shanawaz davood basha
6