Skip to content

Set-AzStorageBlobContent keeps outputting after suppressed when used with -Tag parameter #16783

Closed
@harrylavell

Description

@harrylavell

Description

$null = Set-AzStorageBlobContent -Context $storageAccountContext -Container $StorageContainer -Blob $Name -File $filePath -Properties $Properties -Metadata $Metadata -Tag $Tags

If -Tag $Tags is included, this module keeps outputting random numbers as shown in the output below. I've tried suppressing it using common parameters and Out-Null, etc.

Nothing seems to suppress it.

Issue script & Debug output

Migrated [1/1574]: {sensitiveInfo}/{sensitiveInfo}
0
1697
1697
Migrated [2/1574]: {sensitiveInfo}/{sensitiveInfo}
0
662
662
Migrated [3/1574]: {sensitiveInfo}/{sensitiveInfo}
0
343
343
Migrated [4/1574]: {sensitiveInfo}/{sensitiveInfo}
0
419
419
Migrated [5/1574]: {sensitiveInfo}/{sensitiveInfo}
0
472
472
Migrated [6/1574]: {sensitiveInfo}/{sensitiveInfo}
0
273
273
Migrated [7/1574]: {sensitiveInfo}/{sensitiveInfo}
0
282
282
Migrated [8/1574]: {sensitiveInfo}/{sensitiveInfo}
0
273
273
Migrated [9/1574]: {sensitiveInfo}/{sensitiveInfo}
0
277
277
Migrated [10/1574]: {sensitiveInfo}/{sensitiveInfo}
0
639
639
Migrated [11/1574]: {sensitiveInfo}/{sensitiveInfo}
0
51905
51905
Migrated [12/1574]: {sensitiveInfo}/{sensitiveInfo}
0
43934
43934
Migrated [13/1574]: {sensitiveInfo}/{sensitiveInfo}
0
385
385
Migrated [14/1574]: {sensitiveInfo}/{sensitiveInfo}
0
1153
1153

Environment data

Name                           Value
----                           -----
PSVersion                      7.1.4
PSEdition                      Core
GitCommitId                    7.1.4
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     2.7.1                 Az.Accounts                         {Add-AzEnvironment, Clear-AzContext, Clear-AzDefault, Connect-AzAccount…}
Script     4.3.1                 Az.Resources                        {Add-AzADGroupMember, Export-AzResourceGroup, Export-AzTemplateSpec, Get-AzADAppCredential…}
Script     4.1.1                 Az.Storage                          {Add-AzRmStorageContainerLegalHold, Add-AzStorageAccountManagementPolicyAction, Add-AzStorageAccountNetworkRule, Clo…

Error output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Service AttentionThis issue is responsible by Azure service team.StoragebugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions