MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.3k stars 21.48k forks source link

The provided storage account shared access signature or account storage key is not valid. #120573

Closed applefacts closed 3 months ago

applefacts commented 8 months ago

Update-AzSqlServerAdvancedThreatProtectionSetting -ResourceGroupName "demo-rg" -ServerName "dbsrv1" -Enable 1 Update-AzSqlServerVulnerabilityAssessmentSetting -ResourceGroupName "demo-rg" -ServerName "dbsrv1" -StorageAccountName "mystorage" -RecurringScansInterval Weekly -ScanResultsContainerName "vulnerability-assessment"

Results in an error: Update-AzSqlServerVulnerabilityAssessmentSetting: The provided storage account shared access signature or account storage key is not valid.

Need to add:

-BlobStorageSasUri "https://StorageAccountName.blob.core.windows.net/vulnerability-assessment?" `

For it to work


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

SaibabaBalapur-MSFT commented 8 months ago

@applefacts Thanks for your feedback! We will investigate and update as appropriate.

AjayBathini-MSFT commented 8 months ago

@applefacts Thanks for bringing this to our attention. I'm going to assign this to the document author so they can take a look at it accordingly.

ElazarK commented 8 months ago

reassign:alizabernstein

dcurwin commented 7 months ago

reassign:dcurwin

dcurwin commented 7 months ago

label:"backlog-item-created"

dcurwin commented 3 months ago

@applefacts Thank you for bringing this to our attention. After speaking to the product team, they determined that this error is a result of a specific customization in your environment, and therefore we will not be updating the documentation. For further discussion, we recommend opening a support ticket.

please-close