0

I'm deploying an Azure function app as a part of security implementation into and I'm getting the above mentioned error as mentioned in Title section. Here is the powershell script i am running

az deployment group create
--name fss-promote-or-quarantine-plugin-deployment
--resource-group $RESOURCE_GROUP_NAME
--template-uri https://raw.githubusercontent.com/trendmicro/cloudone-filestorage plugins/master/post-scan-actions/azure-python-promote-or-quarantine/template.json
-p promoteOrQuarantineFunctionName=$FUNCTION_NAME
scanningStorageAccountResourceID=$BLOB_STORAGE_ACCOUNT_RESOURCE_ID
scanResultTopicResourceID=$SCAN_RESULT_TOPIC_RESOURCE_ID
promoteStorageAccountConnectionString="$PROMOTE_STORAGE_ACCOUNT_CONNECTION_STRING"
promoteMode=move
quarantineStorageAccountConnectionString="$QUARANTINE_STORAGE_ACCOUNT_CONNECTION_STRING"
quarantineMode=move

Screenshot of the error that I'm getting: Screenshot of Error that i am getting

Pexers
  • 953
  • 1
  • 7
  • 20

1 Answers1

0

I have tried by giving the space between the parameter names and values and it given the same error:

enter image description here

This cmdlet creates the storage account, taken from the GitHub ARM Article.

As @Mathias R. Jessen said, there should be no space between the parameter names and arguments passed in the CLI Cmdlets:

enter link description here enter link description here