This process was working fine previously. From the official documentation the parameter '-TargetTag' isn't a required parameter. 'When tag is omitted the source will be used (or 'latest' if source tag is also omitted).'
Scenario :
Importing an Image from an ACR in a different subscription but same AD tenant .
Both source and destination ACR's are not Azure Gov Cloud.
Error:
Import-AzContainerRegistryImage_ImportExpanded: Missing property parameters.TargetTags for the operation against the resource with name .
Expected Behavior :
Since '-TargetTag' isn't a required parameter this error shouldn't occur in any situation.
Workaround :
Adding the parameter '-TargetTag' with a value equals to the source image resolves the issue.
Description
This process was working fine previously. From the official documentation the parameter '-TargetTag' isn't a required parameter. 'When tag is omitted the source will be used (or 'latest' if source tag is also omitted).'
Scenario : Importing an Image from an ACR in a different subscription but same AD tenant . Both source and destination ACR's are not Azure Gov Cloud.
Error: Import-AzContainerRegistryImage_ImportExpanded: Missing property parameters.TargetTags for the operation against the resource with name.
Expected Behavior : Since '-TargetTag' isn't a required parameter this error shouldn't occur in any situation.
Workaround : Adding the parameter '-TargetTag' with a value equals to the source image resolves the issue.
Issue script & Debug output
Environment data
Module versions
Error output