Search code examples
azureazure-webjobsazureportal

Can't create WebJob in Azure portal


I'm struggling to create a WebJob in the Azure portal, all I'm getting is a 'Failed to add web job' error, no other details.

I have already created a web job before with no issues but can't create a second one in the same App Service or in a different one. Have tried different names but no luck. I'm on the Basic App Service plan and as far as I know there is no limitation on a single web job.

Did anyone have this issue ?


Solution

  • Thanks to the comments from David Ebbo and Gaurav Mantri I have figured out that I need to deploy the job from Visual Studio and it will be created automatically.

    Seems like from the portal you can only create a web job if you upload the files too. If you don't upload any file it fails with a generic error.

    Maybe there should be some kind of validation (make the File Upload field compulsory) or a more detailed error message.