I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others "I'll repost your solution in case you'd like to accept the answer.
Ask: We follow this flow for CI/CD deployment between environments: https://learn.microsoft.com/en-us/azure/data-factory/continuous-integration-delivery-improvements#the-new-cicd-flow
Which use this NPM package for ARM export: https://www.npmjs.com/package/@microsoft/azure-data-factory-utilities
When using the preview feature for Web Activity using a linked service (https://learn.microsoft.com/en-us/azure/data-factory/how-to-manage-studio-preview-exp#linked-service-for-web-activity), we get a runtime error in environments that are based on the ARM deployment.
Typical error message:
Operation on target xyz: Linked service experience has been modified, please recreate the linked service to resolve this issue.
After digging more into this, I see the that generated ARM template is missing the property 'authenticationType' (which defaults to "Anonymous").
My theory is that the missing property is causing the issue.
If I do manual deploy via Data Factory portal via the adf_publish branch, everything works.
Solution: I have created a new ADF instance and reproduced the issue. There is no difference if I'm using the npm package to export ARM template OR if I'm doing it from the ADF portal.
The generated ARM template is missing the authenticationType, and pipeline fails after ARM import.
If I manually add authenticationType to the ARM template before import, the pipeline works.
If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.