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 .
Issue: Error! Logic App Standard Zip Deploy Creates Duplicate local.settings.json
Solution/Work Around Followed:
I appreciate you confirming that removing the local.settings.json
file post-deployment and restarting the Logic App worked as a temporary workaround. I'm glad to hear that your most recent deployment went smoothly without any issues.
Moving forward, as discussed, manually excluding the local.settings.json
file from the deployment package before performing a zip deploy is a recommended practice. This will help prevent unexpected runtime errors due to file duplication. Additionally, since you're not storing any secrets in the local.settings.json
, this makes your deployment process even more streamlined and secure.
Hope this helps. Do let us know if you have any further queries.