Ive been working on a Logic App Standard interface which contains some maps and schemas. I had it working fine on my dev machine but it was failing on my build agent.
I noticed that the map hadnt deployed to the logic app. Tracing it back through I found that the map wasnt in the repo in Azure DevOps. In vscode I could also see that the folder was greyed out indicating it isnt being picked up for commits to git.
I found that out .gitignore file had the below in it for .net code which is excluding the artifacts folder.
I simple removed that line and now my map gets checked in.
Im sure others will trip over this one so hopefully this saves someone some time.