Check for a solution in the Azure portal
For issues in production, please check for a solution to common issues in the Azure portal before opening a bug. In the Azure portal, navigate to your function app, select Diagnose and solve problems
from the left, and view relevant dashboards before opening your issue.
Investigative information
Please provide the following:
- Timestamp:
- FUNCTIONS_EXTENSION_VERSION: 3
- Function App version:
- Function App name:
- Function name(s) (as appropriate):
- Invocation ID:
- Region: West Europe
Related information
Provide any related information
- Programming language used
- Links to source
- Bindings used
Azure.RequestFailedException : This request is not authorized to perform this operation.RequestId:3a945827-201e-0031-4515-0e9215000000Time:2022-01-20T15:53:37.3831861ZStatus: 403 (This request is not authorized to perform this operation.)ErrorCode: AuthorizationFailureContent:
AuthorizationFailure
This request is not authorized to perform this operation.RequestId:3a945827-201e-0031-4515-0e9215000000Time:2022-01-20T15:53:37.3831861ZHeaders:Server: Microsoft-HTTPAPI/2.0x-ms-request-id: 3a945827-201e-0031-4515-0e9215000000x-ms-client-request-id: 558f6040-c65c-4a6c-b5b0-17968e881fdfx-ms-error-code: AuthorizationFailureDate: Thu, 20 Jan 2022 15:53:36 GMTContent-Length: 246Content-Type: application/xmlat async Azure.Storage.Blobs.BlobRestClient.AcquireLeaseAsync(Nullable`1 timeout,Nullable`1 duration,String proposedLeaseId,Nullable`1 ifModifiedSince,Nullable`1 ifUnmodifiedSince,String ifMatch,String ifNoneMatch,String ifTags,CancellationToken cancellationToken)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Azure.Storage.Blobs.Specialized.BlobLeaseClient.AcquireInternal(TimeSpan duration,RequestConditions conditions,Boolean async,CancellationToken cancellationToken)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Azure.Storage.Blobs.Specialized.BlobLeaseClient.AcquireAsync(TimeSpan duration,RequestConditions conditions,CancellationToken cancellationToken)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Microsoft.Azure.WebJobs.Script.BlobLeaseDistributedLockManager.TryAcquireLeaseAsync(BlobLeaseDistributedLockManager lockManager,BlobClient blobClient,TimeSpan leasePeriod,String proposedLeaseId,CancellationToken cancellationToken,String accountOverride) at D:\a\1\s\src\WebJobs.Script\Host\DistributedLockManagers\BlobLeaseDistributedLockManager.cs : 134at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Microsoft.Azure.WebJobs.Script.BlobLeaseDistributedLockManager.TryLockAsync(String account,String lockId,String lockOwnerId,String proposedLeaseId,TimeSpan lockPeriod,CancellationToken cancellationToken) at D:\a\1\s\src\WebJobs.Script\Host\DistributedLockManagers\BlobLeaseDistributedLockManager.cs : 82at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Microsoft.Azure.WebJobs.Host.SingletonManager.TryLockAsync(String lockId,String functionInstanceId,SingletonAttribute attribute,CancellationToken cancellationToken,Boolean retry) at C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Singleton\SingletonManager.cs : 113at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Microsoft.Azure.WebJobs.Host.Listeners.SingletonListener.StartAsync(CancellationToken cancellationToken) at C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Singleton\SingletonListener.cs : 48at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Microsoft.Azure.WebJobs.Host.Listeners.FunctionListener.StartAsync(??) at C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Listeners\FunctionListener.cs : 68End of inner exception
</details>
-->
Hi @SailleshPawar , Thank you for your feedback! We will check for the possibilities internally and update you with the findings.
Hi @SailleshPawar , Similar scenarios were tracked earlier as mentioned here - https://docs.microsoft.com/en-us/answers/questions/698846/listener-for-azure-function-was-unable-to-start-er.html
Please check and let us know if this helps.
Thanks will check the same. :)
@v-bbalaiagar The above mentioned docs is specifying the issue on local env which doesn't seems to be the same, the issue that we are facing is on the function app which is deployed on Azure.
Hi @SailleshPawar , Thanks for the update, We will investigate this further and update you with the findings.
I'm experiencing the same problem with a range of function apps running SDK functions 3.0.11 and on framework .Net Core 3.1.
Did anyone find a solution to this?