-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Storage] ConnectionString requires EndpointSuffix #21982
Comments
/cc @jeremymeng any thoughts on this one? |
Looks that instead of throwing error, we could use a default value of azure-sdk-for-js/sdk/storage/storage-blob/src/utils/utils.common.ts Lines 208 to 212 in f5de119
|
I agree. We should have a default endpoint value. I'll fix it. |
I would like to note that this is also an issue in the data-tables SDK, See line 46 in https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/src/utils/accountConnectionString.ts if (!endpointSuffix) {
throw new Error("Invalid EndpointSuffix in the provided Connection String");
} |
Hi @mikeharder, we deeply appreciate your input into this project. Regrettably, this issue has remained unresolved for over 2 years and inactive for 30 days, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support. |
I am trying to use the Blob connection string sample:
https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/samples/v12/typescript/src/connectionStringAuth.ts
With the first example shown in the Storage Connection String docs:
https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string#configure-a-connection-string-for-an-azure-storage-account
It fails with this error:
It works if I add the default
EndpointSuffix
:But I do not believe the
EndpointSuffix
is required in most other languages.The text was updated successfully, but these errors were encountered: