{"id":4485,"date":"2026-06-08T17:51:07","date_gmt":"2026-06-08T14:51:07","guid":{"rendered":"https:\/\/support.withsecure.com\/en\/?post_type=support_article&#038;p=4485"},"modified":"2026-06-08T17:51:07","modified_gmt":"2026-06-08T14:51:07","slug":"error-cannot-validate-argument-on-parameter-when-updating-azure-entra-id-identity-script","status":"publish","type":"support_article","link":"https:\/\/support.withsecure.com\/en\/support-articles\/error-cannot-validate-argument-on-parameter-when-updating-azure-entra-id-identity-script\/","title":{"rendered":"Error &#8220;Cannot validate argument on parameter&#8221; when updating Azure Entra ID Identity script"},"content":{"rendered":"<h3>Issue:<\/h3>\n<p>Error when updating Azure Entra ID Identity script;<\/p>\n<p>&quot;ERROR during Azure deployment: Cannot validate argument on parameter &#39;Tenant&#39;. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.<br \/>Collecting information on failed deployments&#8230;&quot;<\/p>\n<h3>Resolution:<\/h3>\n<p>Do make sure that any older or previous script is removed before running a newer script.<\/p>\n<p>\u00a0<\/p>\n<ol>\n<li>Go to Azure and open the Cloud Shell<\/li>\n<li>Cleanup the old script files from their Azure shell using <em>rm -r withsecure<\/em><\/li>\n<li>Upload the new script to the shell and unzip it<\/li>\n<li>Change directory to the withsecure folder using <em>cd withsecure<\/em><\/li>\n<li>execute the update command: <em>.\/deploy.ps1 -update $true<\/em><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Error when updating Azure Entra ID Identity script<\/p>\n","protected":false},"template":"","support_article_product":[102],"class_list":["post-4485","support_article","type-support_article","status-publish","hentry"],"acf":{"source_foreign_id":"000015250","source_version":2,"source_system":"salesforce","source_date_updated":"2026-06-08 14:51:07","import_hash":"8cf826142ae4b9e823b983729574a3658246d925","vanilla_article_id":32779,"vanilla_url":"https:\/\/community.withsecure.com\/en\/kb\/articles\/32779-error-cannot-validate-argument-on-parameter-when-updating-azure-entra-id-identity-script","vanilla_kb_id":30,"vanilla_category_id":157,"machine_translated":false,"reactions_helpful_yes":0,"reactions_helpful_no":0},"_links":{"self":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article\/4485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article"}],"about":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/types\/support_article"}],"wp:attachment":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/media?parent=4485"}],"wp:term":[{"taxonomy":"support_article_product","embeddable":true,"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article_product?post=4485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}