microsoft / microsoft/sql-server-samples

Sql sample files in blob storage unavailable

Open
#1,172 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
11.2k
Forks
9.1k
Avg merge
2d 7h
Merged PRs (30d)
14

Description

Sample files for trialling Bulk Import (and other samples) are denied due to Container security being set as "PublicAccessNotPermitted"

https://github.com/microsoft/sql-server-samples/blob/master/samples/features/sql-bulk-load/load-from-azure-blob-storage/README.md
lists several sample files, e.g.
https://sqlchoice.blob.core.windows.net/sqlchoice/samples/load-from-azure-blob-storage/product.bcp

but clicking the link returns

<Error>
<Code>PublicAccessNotPermitted</Code>
<Message>Public access is not permitted on this storage account. RequestId:0b4776f3-301e-00e8-046e-a2cc98000000 Time:2023-06-19T05:23:32.7363081Z</Message>
</Error>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with samples/features/sql-bulk-load/load-from-azure-blob-storage/README.md and open the linked product.bcp sample URL to reproduce the PublicAccessNotPermitted error. Determine whether the documented sample files or their storage access needs updating; done means the README's sample links are usable for trialling Bulk Import.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, sql
Domain
cloud, databases, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.