2016-05-12 24 views
1

我的客戶擁有Azure訂閱,並且內部有App Service。我的Azure帳戶作爲所有者添加到此App Service中。現在我需要將WebJob添加到此App Service中。我已經將WebJob項目添加到Visual Studio解決方案,與網站項目鏈接並嘗試發佈(在我的Azure帳戶下)。 WebJob已部署,但日程安排無法配置,但出現錯誤:將WebJob添加到Azure應用服務 - 權限問題

Error : An error occurred while creating the WebJob schedule: Response status code does not indicate success: 403 (Forbidden).

如何解決?

回答

1

計劃WebJobs在場景後面使用Azure Scheduler來觸發Webjob。所以,我認爲您需要擁有創建Azure調度程序的權利才能使其工作。

另一種解決方案是使用內部捻webjob調度,因爲在這個崗位解釋說:http://blog.amitapple.com/post/2015/06/scheduling-azure-webjobs/

+0

我在哪裏可以設置權限創建在Azure門戶的Azure的調度? –

+1

我認爲如果您添加爲應用服務所在的資源組的所有者,情況可能會更好。您應該允許您將調度程序資源添加到該組。權限可以在訂閱級別,資源組級別或資源級別添加...現在聽起來您可能會在資源級別設置。欲瞭解更多信息:https://azure.microsoft.com/en-us/documentation/articles/role-based-access-control-configure/ –

+0

我得到這個錯誤的現有網絡作品 – ManirajSS