I was setting up some Azure Automation runbook source control sync, and the incremental syncs on code commit kept failing. Manual syncs were working fine.

Looking at the sync job didn’t really reveal anything, just an apparent hang on Syncing to commit id:

error

Taking a look under “All logs” wasn’t much help either, with just a couple more lines added.

fullerror

I did notice the extra slashes in the URL, but thought nothing of it as there isn’t mentioned a URL anywhere in the setup and config of the source control.

After quite a bit of time and fruitless searches for the possible cause of this, I got desperate and thought back to the extra slash. What if this mysteriously had anything to do with the folder path configuration?

config

So I removed the trailing slash, saved and tried committing again. It worked. sigh

config

And for some reason the two POST method URLs from earlier are no longer even there…