Sharing a container in windows azure storage
Hi,
How can i share a container with specific users only? What i want is have a container shared, for instance, with 2 specifics users, where each one can upload data to that container and each one can see other's uploads. How can i do that? Is that possible?
Thanks in advance,
Regards,
Tiago Oliveira
Hi,
You can use
shared access signatures for your blob and provide this to the 2 specific users.
Hope this helps.
Edward
Similar Messages
-
Can't install windows azure storage sdk on windows phone 8
From Visual studio 2013 ultimate, I opened Nuget package manager console and typed following command for my windows phone 8 solution:
install-package windowsazure.storage
And I got the following error:
install-package : Could not install package 'Microsoft.WindowsAzure.ConfigurationManager 1.8.0.0'. You are trying to install this package into a project that targets 'WindowsPhone,Version=v8.0', but the package does not contain any assembly references or
content files that
are compatible with that framework. For more information, contact the package author.
At line:1 char:1
I get the same problem using UI version of package manager as well.
Did something change with the newer version of windows azure storage?The package you are trying to install does not include the Windows Phone library. Please use the following command instead:
Install-Package WindowsAzure.Storage-Preview -Pre
Thanks for this. It worked for me. Can I just add, for those that don't know how to run this command. You go to tools > Library package manager > package manager console then paste in the command and hit enter.
Thanks again! -
When trying to install Windows Azure SDK for .NET (VS 2013) - 2.3 from Web Platform Installer 4.6, the install fails because Windows Azure Storage Emulator - 3.0 (Dependency) does not install successfully.
Possibly relevant lines from the install log are:
CAQuietExec: Entering CAQuietExec in C:\WINDOWS\Installer\MSI1223.tmp, version 3.6.3303.0
CAQuietExec: "C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator\WAStorageEmulator.exe" init -forcecreate -autodetect
CAQuietExec: Windows Azure Storage Emulator 3.0.0.0 command line tool
CAQuietExec: Error: No available SQL Instance was found.
CAQuietExec: Error 0xfffffff6: Command line returned an error.
CAQuietExec: Error 0xfffffff6: CAQuietExec Failed
CustomAction RunInitialize returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 11:50:13: InstallFinalize. Return value 3.
Action ended 11:50:13: INSTALL. Return value 3.
In terms of SQL Instance, SQL LocalDB is installed and working properly. SQL Server 2012 is also installed and working properly.Hi,
It is a SDK version issue. I suggest you could remove all azure sdk form your PC and use WPI to install the latest version again.
If you have any questions, please let me know.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Windows Azure Storage Account Location change
Hi Experts,
I have deployed my Web site on Windows azure. I have created Windows Azure Storage Account. By mistakely i have set the location wrong. How can we change the location of Windows storage account?
Thanks!Hello CRM Inn,
I am sorry to know that you have chosen an incorrect location and would like to change the location for your storage account. Unfortunately, there is no option available to change the storage location for an existing storage account.
Your only option would be to create a new storage account, migrate data to the new storage account and delete the existing one. You can refer to this article that will give you information on migrating data from one account to another:
http://blogs.msdn.com/b/windowsazurestorage/archive/2012/06/12/introducing-asynchronous-cross-account-copy-blob.aspx
I also suggest that you create affinity groups. By creating affinity groups you can be sure that all your related services are under the same data center. You can refer to this article to learn about Affinity groups:
http://msdn.microsoft.com/en-us/library/azure/jj156209.aspx
Syed irfan Hussain -
Hi,
I created a cloud service using Visual Studio 2013. When I tried to run the service, it fails with
Windows Azure Tools: Failed to initialize Windows Azure storage emulator. Unable to start the storage emulator.
Is there a way to debug this error? At a bare minimum, it would be great to get an error message on why it could not start.
ThanksI ran Windows Azure Storage Emulator -v3.1 to launch the command line tool. I wanted to see if I could get some debug information, but that failed with the following exception.
C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator>WAStorageEmulator.exe start
Windows Azure Storage Emulator 3.1.0.0 command line tool
Unhandled Exception: System.TimeoutException: Unable to open wait handle.
at Microsoft.WindowsAzure.Storage.Emulator.Controller.EmulatorProcessController.InternalWaitForStorageEmulator(Int32 timeoutInMilliseconds)
at Microsoft.WindowsAzure.Storage.Emulator.Controller.EmulatorProcessController.EnsureRunning(Int32 timeoutInMilliseconds)
at Microsoft.WindowsAzure.Storage.Emulator.StartCommand.RunCommand()
at Microsoft.WindowsAzure.Storage.Emulator.Program.Main(String[] args) -
environment:
windows 8.1, Visual Studio 2013, Windows Azure SDK2.2 , Microsoft.WindowsAzure.Storage V3.0.0.0, Windows Azure Storage Emulator 2.2
Code snippet:
CloudStorageAccount account = CloudStorageAccount.DevelopmentStorageAccount;
CloudTableClient tableClient = account.CreateCloudTableClient();
CloudTable table = tableClient.GetTableReference(tableName);
table.CreateIfNotExists(); // this line cause error
Error Message:
System.Net.HttpWebRequest.GetResponse() +6594148
Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync(RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext) +1948
[StorageException: remote server return error: (400) bad request]Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync(RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext) +7389
Microsoft.WindowsAzure.Storage.Table.TableOperation.Execute(CloudTableClient client, CloudTable table, TableRequestOptions requestOptions, OperationContext operationContext) +206
Microsoft.WindowsAzure.Storage.Table.CloudTable.Exists(Boolean primaryOnly, TableRequestOptions requestOptions, OperationContext operationContext) +394
I have search many threads on internet. And I cannot get any solution. Who can help? Thanks a lot.Hi,
I didn’t find any issue in the code that you provided, I also try it and in my PC it created a new table in my storage, my system is windows 8, Visual Studio 2012, Windows Azure SDK2.2, Microsfot.WindowsAzure.Storage V2.0.0.0. From my experience, there is
something wrong in you Windows Azure SDK, I recommended you to reinstall, and then try the code again. If you have any further issue, please feel free to let me know.
Best Regards
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to store ISO file at Windows azure Storage
Hello,
I wants to know How various way store ISO file at Windows Azure (or by Content Management)so that i will be get available cross different location for use.
Thanks
Richa KmHi Richa,
If you want to store a ISO image file in Azure Storage ,I suggest that you can try to use Azure Blob storage.
For Azure Blob storage is a service for storing large amounts of unstructured data, such as text or binary data, that can be accessed from anywhere in the world via
HTTP or HTTPS.
So that you can store a common ISO file use the Azure Blob storage, and you can get it anytime or anywhere .
For more information about how to use Azure Blob storage ,please refer to the link below:
http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-blobs/
Then you can use Azure storage Explorer to store ISO image file ,please refer to the link below:
https://azurestorageexplorer.codeplex.com/
You also can try the CloudBerry to store the ISO image file, please refer to the link below:
http://www.cloudberrylab.com/free-microsoft-azure-explorer.aspx
Best Regards,
Kevin Shen. -
Clientaccesspolicy.xml on Windows Azure Storage BLOB $root not work
question is listed below:-
Hi eric,
How did your code the $root container and upload clientaccesspolicy.xml file? You could refer to this code sample form Smarx (http://blog.smarx.com/posts/uploading-windows-azure-blobs-from-silverlight-part-2-enabling-cross-domain-access-to-blobs
private void CreateSilverlightPolicy(CloudBlobClient blobs)
blobs.GetContainerReference("$root").CreateIfNotExist();
blobs.GetContainerReference("$root").SetPermissions(
new BlobContainerPermissions() {
PublicAccess = BlobContainerPublicAccessType.Blob
var blob = blobs.GetBlobReference("clientaccesspolicy.xml");
blob.Properties.ContentType = "text/xml";
blob.UploadText(@"<?xml version=""1.0"" encoding=""utf-8""?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-methods=""*"" http-request-headers=""*"">
<domain uri=""*"" />
<domain uri=""http://*"" />
</allow-from>
<grant-to>
<resource path=""/"" include-subpaths=""true"" />
</grant-to>
</policy>
</cross-domain-access>
</access-policy>");
And about the error info, I suggest you could install the latest Silverlight (http://social.msdn.microsoft.com/Forums/silverlight/en-US/77c14c7d-dd5e-4281-84d4-345e7439a895/agenetworkerror-4001?forum=silverlightjavascript
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Dear All,
How I can store the Images/Audio/Video/documents files in blob storage by help of SharePoint document library and keep a reference to them in SharePoint by putting metadata in a SharePoint Library.
I searched a lot, but not finding suitable source.
Thanks,
Sharad
sharadpatilhi,
Base on my experience, you could use azure storage reference sharepoint app. I suggest you could recommend this blog via (http://sachintana.blogspot.com/2012/08/azure-blob-storage-for-sharepoint.html ).
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Encode shared key signature in Azure Storage Queue
I'd like to use Azure storage REST api for queue, and in order to add the authentication infomation to the http header, I have to get the shared key.
From http://msdn.microsoft.com/en-us/library/azure/dd179428.aspx, I saw the string to sign like this:
I found it was very strange, I prefer it's C# code, and some place "\n" missed and so is "+", as I made up all stuffs, the authentication still failed, I do not know why, here is what I did:
using (var httpClient = new HttpClient())
var verb = "PUT";
var contentEncoding = "";
var contentLanguage = "";
var contentLenght = "0";
var contentMd5 = "";
var contentType = "text/plain; charset=utf-8";
var date = DateTime.UtcNow.ToString("R", CultureInfo.InvariantCulture);
var ifModifiedSince = "";
var ifMatch = "";
var ifNoneMatch = "";
var ifUnmodifiedSince = "";
var range = "";
var canonicalizedHeaders = "";
var canonicalizedResource = "";
var stringToSign = verb + "\n" + contentEncoding + "\n" + contentLanguage + "\n" + contentLenght + "\n" +
contentMd5 + "\n" + contentType + "\n" + date + "\n" + ifModifiedSince + "\n" +
ifMatch + "\n" + ifNoneMatch + "\n" + ifUnmodifiedSince + "\n" + range + "\n" +
canonicalizedHeaders + "\n" + canonicalizedResource;
httpClient.BaseAddress = new Uri(string.Format("https://{0}.queue.core.windows.net", accountName));
httpClient.DefaultRequestHeaders.Clear();
httpClient.DefaultRequestHeaders.Add("Authorization", string.Format("SharedKey {0}:{1}", accountName, Hash(accountKey, stringToSign)));
httpClient.DefaultRequestHeaders.Add("x-ms-date", date);
var result = httpClient.PutAsync("myqueue", new StringContent(""));
result.Wait();
static string Hash(string message, string secret)
var messageBytes = Encoding.UTF8.GetBytes(message);
var secrectBytes = Encoding.UTF8.GetBytes(secret);
using (var hash = new HMACSHA256(secrectBytes))
var hashMessage = hash.ComputeHash(messageBytes);
return Convert.ToBase64String(hashMessage);
Anyone can help me?Hi,
Please try this code, I tested it on my side, it works fine.
String accountName = "***";
String accountKey = "***+**";
String signature = "";
String requestMethod = "POST";
String urlPath = String.Format("{0}/messages", "inputtext");
String storageServiceVersion = "2012-02-12";
String dateInRfc1123Format = DateTime.UtcNow.ToString("R", CultureInfo.InvariantCulture);
String messageText = String.Format(
"<QueueMessage><MessageText>{0}</MessageText></QueueMessage>", "test2");
UTF8Encoding utf8Encoding = new UTF8Encoding();
Byte[] messageContent = utf8Encoding.GetBytes(messageText);
Int32 messageLength = messageContent.Length;
String canonicalizedHeaders = String.Format(
"x-ms-date:{0}\nx-ms-version:{1}",
dateInRfc1123Format,
storageServiceVersion);
String canonicalizedResource = String.Format("/{0}/{1}", accountName, urlPath);
String stringToSign = String.Format(
"{0}\n\n\n{1}\n\n\n\n\n\n\n\n\n{2}\n{3}",
requestMethod,
messageLength,
canonicalizedHeaders,
canonicalizedResource);
using (HMACSHA256 hmacSha256 = new HMACSHA256(Convert.FromBase64String(accountKey)))
Byte[] dataToHmac = System.Text.Encoding.UTF8.GetBytes(stringToSign);
signature = Convert.ToBase64String(hmacSha256.ComputeHash(dataToHmac));
String authorizationHeader = String.Format(
CultureInfo.InvariantCulture,
"{0} {1}:{2}",
"SharedKey",
accountName,
signature
Uri uri = new Uri(string.Format("https://{0}.queue.core.windows.net/", accountName) + urlPath);
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri);
request.Method = requestMethod;
request.Headers.Add("x-ms-date", dateInRfc1123Format);
request.Headers.Add("x-ms-version", storageServiceVersion);
request.Headers.Add("Authorization", authorizationHeader);
request.ContentLength = messageLength;
using (Stream requestStream = request.GetRequestStream())
requestStream.Write(messageContent, 0, messageLength);
using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
String requestId = response.Headers["x-ms-request-id"];
Also, you could see this page:http://convective.wordpress.com/2010/08/18/examples-of-the-windows-azure-storage-services-rest-api/
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Large Files from FTP to Azure Storage Account.
We required to transfer files from FTP to Azure Storage Account.
Our FTP contains Almost 4 TB data and in future it will be growing.
We require some automate process which will transfer data from FTP to Windows Azure Storage.
Currently Implemented Solution: We have created
a windows service which will download files from FTP and converting to file stream and with Blob Storage object it will be uploaded to
Storage account.
With the mentioned approach bandwidth is utilized at 2 places
For downloading file from FTP
For Uploading to Azure Storage
Can you please provide any solution/suggestion which will reduce the consumption of bandwidth and large data will transfer in less timeHi,
Please have a look at below article, it is talking about Blob Transfer Utility tool. Blob Transfer Utility is a GUI tool to upload and download thousands of small/large files to/from Windows Azure Blob Storage.
#https://blobtransferutility.codeplex.com/
Disclaimer: This is not a Microsoft official tool and it is not supported by Microsoft. It's just a (very useful) sample.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to read azure storage data using JAVA with REST API
Hi,
We have a cloud service in our lab. We have enabled diagnostics
in cloud services. So WADPerformanceCounterTable was created in storage account. Now , We want to read the WADPerformanceTable using
JAVA with REST API. Is there any way to collect these details. please give me any
sample code to connect azure storage using table service REST API.
Thanks & Regards
RathideviHi,
Please have a look at this article:
https://convective.wordpress.com/2010/08/18/examples-of-the-windows-azure-storage-services-rest-api/, it demonstrate how to use table service Rest API, it also give us the code, hope this helps. Of course, the
MSDN article could also help us coding.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Windows Azure Monitoring in SCOM 2012 R2
Hi,
We have Azure subscription which has few cloud services and VM in running state. We want to monitor the VMs running on Azure using SCOM 2012 R2 running on our corp network behind firewall. SCOM Server connected to the internet through the corp proxy.
We have imported the Azure Management packs in to SCOM and Added the Subscription successfully. But, the Azure resource inventory like Discovered Cloud Services, Discovered Storage, Discovered Virtual Machines are empty.
Kindly please help to configure azure monitoring using SCOM 2012 R2.
Thanks
Kumaresan LakshmananHi
SCOM monitoring check data in azure store, check if the events and performace data is transferring to the azure store.if data is not transfering for event id counters monitor fail to work .
refer below link for more information
Implementing Windows Azure
Diagnostics (http://go.microsoft.com/fwlink/?LinkId=186765).
Transferring Diagnostic
Data to Windows Azure Storage (http://go.microsoft.com/fwlink/?LinkId=191347).
Regards
sridhar v -
Managed Backup to Windows Azure
Hello,
I am following this article
to setup my sql server to perform automatic backups to Azure blob storage.
However, when I try to run the smart_admin.sp_set_db_backup stored procedure, it fails, since it could not be found.
It seems to be necessary having SQL Server 2012 SP1 Cumulative Update 2 installed.
I think I could properly install this fix, following instruction located in
this article, but after installing the patch, when I open Management studio and connect to the database instance, I can see it is still 11.0.2100 build.
As far as I understood, it must be 11.0.3339.0.
How can I make sure to have this patch installed?
Igor.
.NET Software developer for industrial internet and automation system.Thank you Samuel,
You are right. It seems the syntax you referenced works. At least, I was able to create a backup into my azure storage account.
Does that means SQL Server Express 2012 does not support managed backups like article I was reading? What do you suggest?
Thank you,
Igor.
.NET Software developer for industrial internet and automation system.
Hi Igor,
For SQL Server versions previous to SQL Server 2014, you can use the add-in SQL Server backup to Windows Azure tool to quickly and easily create backups to Windows Azure storage.
This feature is available in SQL Server 2014 or later. Usually, we can back up to disk and tape, now you can back up to Windows Azure storage by specifying URL as the backup destination. You can use this feature to manually backup or configure
your own backup strategy like you would for a local storage or other off-site options. This feature is available in SQL Server 2012 SP1 CU2 or later. For more information, see:
http://msdn.microsoft.com/en-us/library/jj919148(v=sql.120).aspx
In addition, the SQL Server Agent component is not included in SQL Server Express editions , you could not create backups automatically via a job and offer a way to schedule either jobs or maintenance plans. However, you can use a Transact-SQL
script together with Windows Task Scheduler to automate backups of SQL Server Express databases on a scheduled basis. For more information, see:http://support.microsoft.com/kb/2019698/en-us
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
Learning resource for Azure Storage
Dive Deep into Networking Storage and Disaster Recovery Scenarios
http://www.microsoftvirtualacademy.com/training-courses/dive-deep-into-networking-storage-and-disaster-recovery-scenarios?WT.mc_id=13361-ITP-ming-man-chan-mvp-content
chanmmThere are some other great resources available.
1) Azure storage documentation: It's just awesome. you will get all latest bits here.
http://azure.microsoft.com/en-us/documentation/services/storage/
2) Checkout MVA course for azure storage
http://www.microsoftvirtualacademy.com/training-courses/windows-azure-storage-design-and-implementation-jump-start
http://www.microsoftvirtualacademy.com/training-courses/windows-azure-storage-design-and-implementation-jump-start
There are some cool examples also there on Azure Storage from the following link.
https://azurestoragesamples.codeplex.com/
Jalpesh Vadgama, http://www.dotnetjalps.com
Maybe you are looking for
-
I am trying to display a line graph from a given arrays of integers, which are stores as x and y points consecutively. (ie. int values[] = {x0,y0,x1,y1,etc...}) However, after I compiled and run the code, no graph is displayed. What's wrong?... impor
-
I seem to have issues with my left USB port in that it doesn't seem to get recognized by the system properly. The right USB port works perfectly every time. The best example of this is when I plug in my USB cable from my iPhone to the left USB port,
-
I have a ZEN nano plus GB I have used it meavy 0 times last year this week I started working out again and for some reason it is not turning on. I did the software upgrade and it didn't work. any help will be appreciated.
-
How do I change apple id on an Ipod Touch I just purchased
How do I change apple id on an Ipod Touch I just purchased
-
Pattern Brushes- steps to print
I am using AI CS2, and am designing a logo for a restaurant to be used as a neon sign in addition to menus, t-shirts, etc. this is my first real design job (i'm nervous!). so, as i developed the logo i used a pattern brush to create a rope, which the