Describe the bug
After downloading and extracting the current zip file (Code => Download Zip) on running DeployProcFwkComponents.ps1 the deployment fails with this message:
"Publish-procfwkadf : The term 'New-AdfPublishOption' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At C:\Bluetooth\Repos\procfwk-master\procfwk-master\DeploymentTools\DataFactory\DeployProcFwkComponents.ps1:76 char:1
- Publish-procfwkadf -resourceGroupName 'rg-pademo' -dataFactoryName ' ...
-
+ CategoryInfo : ObjectNotFound: (New-AdfPublishOption:String) [Publish-procfwkadf], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException,Publish-procfwkadf "
Taking a closer look at the referenced section of the code (uploaded snapshot) has me wondering if there is a problem with that file as it basically hardcodes resourceGroupName, dataFactoryName, and region:
Publish-procfwkadf -resourceGroupName 'rg-pademo' -dataFactoryName 'adf-metadata-driven-proc' -region 'uksouth' `
-adfPath "$AdfPath" -scriptPath "$scriptPath"

Affected services
Which resource within the processing framework does this affect?
To Reproduce
Steps to reproduce the behavior:
- unzip procfwk-master.zip
- open solution file
- right-click on DeploymentTools/DataFactory/DeployProcFwkComponents.ps1 -> open with PowerShell ISE
- update parameter values with your own
- save file
- run from PowerShell ISE
Expected behavior
I expect the script to complete successfully and update the DataFactory portion of the Synapse instance referenced for attributes passed into the script
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug
After downloading and extracting the current zip file (Code => Download Zip) on running DeployProcFwkComponents.ps1 the deployment fails with this message:
"Publish-procfwkadf : The term 'New-AdfPublishOption' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At C:\Bluetooth\Repos\procfwk-master\procfwk-master\DeploymentTools\DataFactory\DeployProcFwkComponents.ps1:76 char:1
Taking a closer look at the referenced section of the code (uploaded snapshot) has me wondering if there is a problem with that file as it basically hardcodes resourceGroupName, dataFactoryName, and region:
Publish-procfwkadf -resourceGroupName 'rg-pademo' -dataFactoryName 'adf-metadata-driven-proc' -region 'uksouth' `
-adfPath "$AdfPath" -scriptPath "$scriptPath"
Affected services
Which resource within the processing framework does this affect?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the script to complete successfully and update the DataFactory portion of the Synapse instance referenced for attributes passed into the script
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.