I created an azure webjob through powershell with the following commands by following this link Create a Scheduled Azure WebJob with PowerShell
Webjob got successfully created in the mentioned webapp, but when I try to start the web job the following exception is thrown
System.AggregateException: One or more errors occurredMicrosoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (403) Forbidden. System.Net.WebException: The remote server returned an error: (403) Forbidden.
Microsoft.WindowsAzure.Storage.Shared.Protocol.HttpResponseParsers.ProcessExpectedStatusCodeNoException[T](HttpStatusCode expectedStatusCode, HttpStatusCode actualStatusCode, T retVal, StorageCommandBase`1 cmd, Exception ex)
I access a storage account inside the webjob, It runs fine when I deploy through visual studio problem occurs only when using Powershell cmdlets.