Unable to publish WebJob from Visual Studio 2022

King Java 790 Reputation points
2024-03-20T05:06:00.11+00:00

I am trying to publish WebJob that I have been publishing from Visual Studio 2022 to Azure App Service.

I have been publishing without any issue on a monthly basis for last two years.

But, I am not able to see the option of "Azure App Service" from Visual Studio 2022 anymore.

Bottom is screenshot of what I am looking forward to see:

User's image

Bottom is what I see instead:

I do not see the option of Azure Web Service.

User's image

I tested with other computer (VM), and I am seeing the same issue.

I don't think it is anything to do with permission in Azure because I am the owner of that particular App Service that I am trying to publish,

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,961 questions
0 comments No comments
{count} votes

Accepted answer
  1. VenkateshDodda-MSFT 25,111 Reputation points Microsoft Employee Moderator
    2024-03-20T05:49:02.59+00:00

    @King Java Thanks for your time over offline discussion.

    I am summarizing our discussion and posting the same as an Answer to help the other customers who might be facing this issue.

    Issue:

    Upon checking further, we see that customer is not able to see the App Service (either Windows or Linux) option in their publish wizard and Customer want to publish their webjob through Visual studio only.

    Troubleshooting done :

    To Isolate the issue customer has create a sample asp.net application and when they are tried to publish this sample application they can see the App service option but they are not seeing this app service option when they tried to publish this web job.

    This moreover seems to be a application code framework compatibility issue with current visual studio not an issue with app service.

    Solution Suggested:

    • I have suggested the customer to publish the webjob code to their local folder and zip it.
    • Create a new webjob in the app service, upload the webjob code using the upload option. User's image

    Customer has tried the above steps; they have confirmed that they are able to publish and run the webjobs successfully.

    I hope the answer helps. Please let me know if you have any further queries.

    Please accept as Yes if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.