{
    "api_version": "1",
    "kind": "dse_post",
    "self": "https://update.dsesecurity.com/api/v1/posts/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/",
    "item": {
        "id": "https://update.dsesecurity.com/updates/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/",
        "slug": "dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload",
        "url": "https://update.dsesecurity.com/updates/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/",
        "alternate_urls": {
            "markdown": "https://update.dsesecurity.com/updates/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload.md",
            "json": "https://update.dsesecurity.com/api/v1/posts/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/"
        },
        "title": "Review overwrite intent before a PowerShell block-blob upload",
        "summary": "DSE recommends making overwrite behavior an explicit decision in the upload request.",
        "format": {
            "slug": "guide",
            "name": "Guide"
        },
        "priority": {
            "slug": "info",
            "name": "Information"
        },
        "featured": false,
        "image": {
            "theme": "managed-it",
            "label": "Managed IT operations",
            "alt": "A controlled technology lifecycle progressing from assessment to approved production.",
            "card_url": "https://update.dsesecurity.com/assets/editorial/managed-it-card.webp?v=1.8.20",
            "hero_url": "https://update.dsesecurity.com/assets/editorial/managed-it-hero.webp?v=1.8.20",
            "social_url": "https://update.dsesecurity.com/assets/editorial/managed-it-social-v2.jpg?v=1.8.20",
            "width": 2400,
            "height": 1350
        },
        "topics": [
            {
                "slug": "it",
                "name": "IT",
                "url": "https://update.dsesecurity.com/topic/it/"
            }
        ],
        "author": {
            "name": "DSE Security Editorial Team",
            "url": "https://update.dsesecurity.com/#editorial-team",
            "type": "Organization"
        },
        "publisher": {
            "name": "Detection Systems & Engineering",
            "url": "https://dsesecurity.com/"
        },
        "published_at": "2026-09-17T16:32:08+00:00",
        "modified_at": "2026-09-17T16:46:29+00:00",
        "reviewed_on": "2026-09-17",
        "reading_minutes": 1,
        "word_count": 202,
        "potentially_affected": "This guide applies to an Azure PowerShell block-blob upload, particularly when an automation script could target an object that already exists.",
        "dse_recommendation": "DSE recommends making overwrite behavior an explicit decision in the upload request.",
        "primary_source": {
            "name": "Manage block blobs with PowerShell - Azure Storage | Microsoft Learn",
            "url": "https://learn.microsoft.com/en-us/azure/storage/blobs/blob-powershell",
            "published_on": null,
            "authority": "Microsoft Learn"
        },
        "publishing_principles": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
        "usage_info": "https://update.dsesecurity.com/usage/",
        "copyright_notice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
        "content_html": "<h2>Source facts</h2>\n<p>Microsoft says Set-AzStorageBlobContent creates a missing blob but prompts before overwriting an existing one. Supplying Force bypasses that overwrite confirmation. The upload identifies the local file, destination container, and storage context as separate inputs. <a href=\"https://learn.microsoft.com/en-us/azure/storage/blobs/blob-powershell\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Learn</a></p>\n<h2>Applicability</h2>\n<p>This guide applies to an Azure PowerShell block-blob upload, particularly when an automation script could target an object that already exists.</p>\n<h2>DSE recommendation</h2>\n<p>DSE recommends making overwrite behavior an explicit decision in the upload request. Record the local source, storage account, container, and intended blob name before running the command. For a batch, enumerate the input files and review naming collisions before enabling unattended replacement. Agree how the current destination content will be protected or recovered when replacement is authorized, and keep that decision visible in the script’s operational handoff.</p>\n<h2>Verification</h2>\n<p>Run the approved upload and inspect the returned account, container, and object information. Compare the destination content with the intended local input and confirm the observed outcome for any pre-existing object. Retain the transfer result and the overwrite authorization together. Treat an unexpected prompt or replacement as a finding to investigate before extending the operation to more files.</p>\n<h2>Official references</h2>\n<ul>\n<li><a href=\"https://learn.microsoft.com/en-us/azure/storage/blobs/blob-powershell\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft: Manage block blobs with PowerShell &#8211; Azure Storage | Microsoft Learn</a></li>\n</ul>",
        "content_text": "Source facts\nMicrosoft says Set-AzStorageBlobContent creates a missing blob but prompts before overwriting an existing one. Supplying Force bypasses that overwrite confirmation. The upload identifies the local file, destination container, and storage context as separate inputs. Microsoft Learn\nApplicability\nThis guide applies to an Azure PowerShell block-blob upload, particularly when an automation script could target an object that already exists.\nDSE recommendation\nDSE recommends making overwrite behavior an explicit decision in the upload request. Record the local source, storage account, container, and intended blob name before running the command. For a batch, enumerate the input files and review naming collisions before enabling unattended replacement. Agree how the current destination content will be protected or recovered when replacement is authorized, and keep that decision visible in the script’s operational handoff.\nVerification\nRun the approved upload and inspect the returned account, container, and object information. Compare the destination content with the intended local input and confirm the observed outcome for any pre-existing object. Retain the transfer result and the overwrite authorization together. Treat an unexpected prompt or replacement as a finding to investigate before extending the operation to more files.\nOfficial references\n\nMicrosoft: Manage block blobs with PowerShell – Azure Storage | Microsoft Learn",
        "content_markdown": "## Source facts\n\nMicrosoft says Set-AzStorageBlobContent creates a missing blob but prompts before overwriting an existing one. Supplying Force bypasses that overwrite confirmation. The upload identifies the local file, destination container, and storage context as separate inputs. [Microsoft Learn](https://learn.microsoft.com/en-us/azure/storage/blobs/blob-powershell)\n\n## Applicability\n\nThis guide applies to an Azure PowerShell block-blob upload, particularly when an automation script could target an object that already exists.\n\n## DSE recommendation\n\nDSE recommends making overwrite behavior an explicit decision in the upload request. Record the local source, storage account, container, and intended blob name before running the command. For a batch, enumerate the input files and review naming collisions before enabling unattended replacement. Agree how the current destination content will be protected or recovered when replacement is authorized, and keep that decision visible in the script’s operational handoff.\n\n## Verification\n\nRun the approved upload and inspect the returned account, container, and object information. Compare the destination content with the intended local input and confirm the observed outcome for any pre-existing object. Retain the transfer result and the overwrite authorization together. Treat an unexpected prompt or replacement as a finding to investigate before extending the operation to more files.\n\n## Official references\n\n- [Microsoft: Manage block blobs with PowerShell – Azure Storage | Microsoft Learn](https://learn.microsoft.com/en-us/azure/storage/blobs/blob-powershell)"
    },
    "json_ld": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://dsesecurity.com/#organization",
                "name": "Detection Systems & Engineering",
                "alternateName": "DSE Security",
                "url": "https://dsesecurity.com/",
                "logo": {
                    "@type": "ImageObject",
                    "url": "https://update.dsesecurity.com/assets/dse-logo-20260812.png?v=1.8.20"
                }
            },
            {
                "@type": "Organization",
                "@id": "https://update.dsesecurity.com/#editorial-team",
                "name": "DSE Security Editorial Team",
                "url": "https://update.dsesecurity.com/",
                "parentOrganization": {
                    "@id": "https://dsesecurity.com/#organization"
                }
            },
            {
                "@type": "WebSite",
                "@id": "https://update.dsesecurity.com/#website",
                "name": "DSE Updates",
                "alternateName": "DSE Security Knowledge Hub",
                "url": "https://update.dsesecurity.com/",
                "inLanguage": "en-US",
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "potentialAction": {
                    "@type": "SearchAction",
                    "target": {
                        "@type": "EntryPoint",
                        "urlTemplate": "https://update.dsesecurity.com/?q={search_term_string}"
                    },
                    "query-input": "required name=search_term_string"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://update.dsesecurity.com/updates/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/",
                "url": "https://update.dsesecurity.com/updates/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/",
                "isPartOf": {
                    "@id": "https://update.dsesecurity.com/#website"
                },
                "lastReviewed": "2026-09-17"
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://update.dsesecurity.com/updates/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/#breadcrumbs",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "DSE Updates",
                        "item": "https://update.dsesecurity.com/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Review overwrite intent before a PowerShell block-blob upload",
                        "item": "https://update.dsesecurity.com/updates/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/"
                    }
                ]
            },
            {
                "@type": [
                    "Article",
                    "TechArticle"
                ],
                "@id": "https://update.dsesecurity.com/updates/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/#article",
                "identifier": "https://update.dsesecurity.com/updates/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/",
                "url": "https://update.dsesecurity.com/updates/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/",
                "headline": "Review overwrite intent before a PowerShell block-blob upload",
                "description": "DSE recommends making overwrite behavior an explicit decision in the upload request.",
                "abstract": "DSE recommends making overwrite behavior an explicit decision in the upload request.",
                "articleBody": "Source facts\nMicrosoft says Set-AzStorageBlobContent creates a missing blob but prompts before overwriting an existing one. Supplying Force bypasses that overwrite confirmation. The upload identifies the local file, destination container, and storage context as separate inputs. Microsoft Learn\nApplicability\nThis guide applies to an Azure PowerShell block-blob upload, particularly when an automation script could target an object that already exists.\nDSE recommendation\nDSE recommends making overwrite behavior an explicit decision in the upload request. Record the local source, storage account, container, and intended blob name before running the command. For a batch, enumerate the input files and review naming collisions before enabling unattended replacement. Agree how the current destination content will be protected or recovered when replacement is authorized, and keep that decision visible in the script’s operational handoff.\nVerification\nRun the approved upload and inspect the returned account, container, and object information. Compare the destination content with the intended local input and confirm the observed outcome for any pre-existing object. Retain the transfer result and the overwrite authorization together. Treat an unexpected prompt or replacement as a finding to investigate before extending the operation to more files.\nOfficial references\n\nMicrosoft: Manage block blobs with PowerShell – Azure Storage | Microsoft Learn",
                "datePublished": "2026-09-17T16:32:08+00:00",
                "dateModified": "2026-09-17T16:46:29+00:00",
                "mainEntityOfPage": {
                    "@id": "https://update.dsesecurity.com/updates/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/"
                },
                "inLanguage": "en-US",
                "isAccessibleForFree": true,
                "author": {
                    "@type": "Organization",
                    "name": "DSE Security Editorial Team",
                    "url": "https://update.dsesecurity.com/#editorial-team"
                },
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "image": {
                    "@type": "ImageObject",
                    "@id": "https://update.dsesecurity.com/updates/dse-20260917-172-review-overwrite-intent-before-a-powershell-block-blob-upload/#primaryimage",
                    "url": "https://update.dsesecurity.com/assets/editorial/managed-it-social-v2.jpg?v=1.8.20",
                    "contentUrl": "https://update.dsesecurity.com/assets/editorial/managed-it-social-v2.jpg?v=1.8.20",
                    "width": 1200,
                    "height": 630,
                    "caption": "Review overwrite intent before a PowerShell block-blob upload"
                },
                "articleSection": [
                    "IT"
                ],
                "keywords": [
                    "IT",
                    "Guide",
                    "Information priority"
                ],
                "genre": "Guide",
                "about": [
                    {
                        "@type": "Thing",
                        "name": "IT",
                        "url": "https://update.dsesecurity.com/topic/it/"
                    }
                ],
                "wordCount": 202,
                "timeRequired": "PT1M",
                "publishingPrinciples": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
                "usageInfo": "https://update.dsesecurity.com/usage/",
                "copyrightHolder": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "copyrightNotice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
                "citation": {
                    "@type": "CreativeWork",
                    "name": "Manage block blobs with PowerShell - Azure Storage | Microsoft Learn",
                    "url": "https://learn.microsoft.com/en-us/azure/storage/blobs/blob-powershell"
                }
            }
        ]
    }
}