Deployment issue

Support Apptomate 21 Reputation points
2022-09-14T14:06:21.95+00:00

We are trying to deploy our .net core web api application to the windows server but receiving failures. Attached is the error message. Can anyone tell what might be the issue?

System.ApplicationException: The trace listener AzureBlobTraceListener is disabled. ---> System.InvalidOperationException: The SAS URL for the cloud storage account is not specified. Use the environment variable 'DIAGNOSTICS_AZUREBLOBCONTAINERSASURL' to define it.at Microsoft.WindowsAzure.WebSites.Diagnostics.AzureBlobTraceListener.RefreshConfig()--- End of inner exception stack trace ---241017-image.png

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

Accepted answer
  1. SnehaAgrawal-MSFT 18,366 Reputation points
    2022-09-15T10:42:58.847+00:00

    Thanks for reaching here! Looking at the error you need to add DIAGNOSTICS_AZUREBLOBCONTAINERSASURL to the application settings having its value set to the Blob service SAS URL generated.

    You may also set the the azure web app's diagnostics logs Application Logging feature, it will auto generate a SAS token in your web app's appsetting.

    Let us know if issue remains.


0 additional answers

Sort by: Most helpful