Skip to content

.NET 9 SDK docker image do not run on Basic/Premium plan #11107

@scrocquesel-ml150

Description

@scrocquesel-ml150

Investigative information

Please provide the following:

  • Timestamp: 2025-06-06T09:10:01.469411847Z
  • Function App version: v4
  • Function App name: sandboxarchidockerfunc
  • Function name(s) (as appropriate):
  • Invocation ID:
  • Region: France Central

Repro steps

Provide the steps required to reproduce the problem:

  1. Create a dotnet 9 function with an http trigger

    func init --worker-runtime dotnet-isolated --target-framework net9.0 func new --template HttpTrigger --name Todos 
  2. Build and publish the docker image using SDK built-in docker image support and push the builded image to a registry

    dotnet publish --os linux --arch x64 -t:PublishContainer 
  3. Create an azure functionapp on a Basic (B1) or Premium plan (P0v3) with the builded image

Expected behavior

The function starts.

Actual behavior

The function fails to start

2025-06-06T09:10:01.469411847Z info: Host.Triggers.Warmup[0] 2025-06-06T09:10:01.469467712Z Initializing Warmup Extension. 2025-06-06T09:10:01.469475236Z MS_FUNCTION_AZURE_MONITOR_EVENT 4,sandboxarchidockerfunc.azurewebsites.net,Microsoft.Web/sites/functions/log,FunctionAppLogs,francecentral,"{'appName':'sandboxarchidockerfunc','roleInstance':'17b79dc198b96bc89cfebb4cc8c879255c1cccf0c226c50e0740689b87a3d16a','message':'Initializing Warmup Extension.','category':'Host.Triggers.Warmup','hostVersion':'4.1039.500.6','hostInstanceId':'92f88589-031e-42f1-bb5e-651301bcc313','level':'Information','levelId':2,'processId':9}",06/06/2025 09:10:01 2025-06-06T09:10:01.471352372Z info: Host.Startup[503] 2025-06-06T09:10:01.471393299Z Initializing Host. OperationId: '8a2ff45d-808a-44a5-86c6-aa3ff2f876b3'. 2025-06-06T09:10:01.471586281Z MS_FUNCTION_AZURE_MONITOR_EVENT 4,sandboxarchidockerfunc.azurewebsites.net,Microsoft.Web/sites/functions/log,FunctionAppLogs,francecentral,"{'appName':'sandboxarchidockerfunc','roleInstance':'17b79dc198b96bc89cfebb4cc8c879255c1cccf0c226c50e0740689b87a3d16a','message':'Initializing Host. OperationId: 8a2ff45d-808a-44a5-86c6-aa3ff2f876b3.','category':'Host.Startup','hostVersion':'4.1039.500.6','hostInstanceId':'92f88589-031e-42f1-bb5e-651301bcc313','level':'Information','levelId':2,'processId':9,'eventId':503,'eventName':'Initializing'}",06/06/2025 09:10:01 2025-06-06T09:10:01.471627309Z MS_FUNCTION_AZURE_MONITOR_EVENT 4,sandboxarchidockerfunc.azurewebsites.net,Microsoft.Web/sites/functions/log,FunctionAppLogs,francecentral,"{'appName':'sandboxarchidockerfunc','roleInstance':'17b79dc198b96bc89cfebb4cc8c879255c1cccf0c226c50e0740689b87a3d16a','message':'Host initialization: ConsecutiveErrors=18, StartupCount=19, OperationId=8a2ff45d-808a-44a5-86c6-aa3ff2f876b3','category':'Host.Startup','hostVersion':'4.1039.500.6','hostInstanceId':'92f88589-031e-42f1-bb5e-651301bcc313','level':'Information','levelId':2,'processId':9,'eventId':504,'eventName':'Initialization'}",06/06/2025 09:10:01 2025-06-06T09:10:01.471884512Z info: Host.Startup[504] 2025-06-06T09:10:01.471897496Z Host initialization: ConsecutiveErrors=18, StartupCount=19, OperationId=8a2ff45d-808a-44a5-86c6-aa3ff2f876b3 2025-06-06T09:10:01.473278721Z info: Microsoft.Azure.WebJobs.Hosting.OptionsLoggingService[0] 2025-06-06T09:10:01.473290443Z LoggerFilterOptions 2025-06-06T09:10:01.473298107Z { 2025-06-06T09:10:01.473307645Z "MinLevel": "None", 2025-06-06T09:10:01.473395861Z "Rules": [ 2025-06-06T09:10:01.473406481Z { 2025-06-06T09:10:01.473412652Z "ProviderName": null, 2025-06-06T09:10:01.473418503Z "CategoryName": null, 2025-06-06T09:10:01.473536214Z "LogLevel": "Warning", 2025-06-06T09:10:01.473547215Z "Filter": null 2025-06-06T09:10:01.473553377Z }, 2025-06-06T09:10:01.473558857Z { 2025-06-06T09:10:01.473564417Z "ProviderName": null, 2025-06-06T09:10:01.473608400Z "CategoryName": null, 2025-06-06T09:10:01.473617457Z "LogLevel": null, 2025-06-06T09:10:01.473623548Z "Filter": "<AddFilter>b__0" 2025-06-06T09:10:01.473637835Z }, 2025-06-06T09:10:01.473643726Z { 2025-06-06T09:10:01.473738795Z "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.WebHostSystemLoggerProvider", 2025-06-06T09:10:01.473826600Z "CategoryName": null, 2025-06-06T09:10:01.473835867Z "LogLevel": "None", 2025-06-06T09:10:01.473841478Z "Filter": null 2025-06-06T09:10:01.473846928Z }, 2025-06-06T09:10:01.473852498Z { 2025-06-06T09:10:01.473857979Z "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.WebHostSystemLoggerProvider", 2025-06-06T09:10:01.473863800Z "CategoryName": null, 2025-06-06T09:10:01.473869350Z "LogLevel": null, 2025-06-06T09:10:01.473874851Z "Filter": "<AddFilter>b__0" 2025-06-06T09:10:01.473880662Z }, 2025-06-06T09:10:01.473885711Z { 2025-06-06T09:10:01.474021015Z "ProviderName": null, 2025-06-06T09:10:01.474030633Z "CategoryName": null, 2025-06-06T09:10:01.474036324Z "LogLevel": null, 2025-06-06T09:10:01.474041634Z "Filter": "<AddFilter>b__0" 2025-06-06T09:10:01.474047344Z }, 2025-06-06T09:10:01.474052574Z { 2025-06-06T09:10:01.474058425Z "ProviderName": null, 2025-06-06T09:10:01.474063715Z "CategoryName": "Host.Function.ToolingConsoleLog", 2025-06-06T09:10:01.474069346Z "LogLevel": "Information", 2025-06-06T09:10:01.474075056Z "Filter": null 2025-06-06T09:10:01.474080116Z }, 2025-06-06T09:10:01.474085416Z { 2025-06-06T09:10:01.474090786Z "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider", 2025-06-06T09:10:01.474096156Z "CategoryName": null, 2025-06-06T09:10:01.474101486Z "LogLevel": "None", 2025-06-06T09:10:01.474107007Z "Filter": null 2025-06-06T09:10:01.474112487Z }, 2025-06-06T09:10:01.474117727Z { 2025-06-06T09:10:01.474122716Z "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider", 2025-06-06T09:10:01.474128457Z "CategoryName": null, 2025-06-06T09:10:01.474133537Z "LogLevel": null, 2025-06-06T09:10:01.474139177Z "Filter": "<AddFilter>b__0" 2025-06-06T09:10:01.474144798Z } 2025-06-06T09:10:01.474149707Z ] 2025-06-06T09:10:01.474566668Z } 2025-06-06T09:10:01.474584431Z MS_FUNCTION_AZURE_MONITOR_EVENT 4,sandboxarchidockerfunc.azurewebsites.net,Microsoft.Web/sites/functions/log,FunctionAppLogs,francecentral,"{'appName':'sandboxarchidockerfunc','roleInstance':'17b79dc198b96bc89cfebb4cc8c879255c1cccf0c226c50e0740689b87a3d16a','message':'LoggerFilterOptions\n{\n \'MinLevel\': \'None\',\n \'Rules\': [\n {\n \'ProviderName\': null,\n \'CategoryName\': null,\n \'LogLevel\': \'Warning\',\n \'Filter\': null\n },\n {\n \'ProviderName\': null,\n \'CategoryName\': null,\n \'LogLevel\': null,\n \'Filter\': \'<AddFilter>b__0\'\n },\n {\n \'ProviderName\': \'Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.WebHostSystemLoggerProvider\',\n \'CategoryName\': null,\n \'LogLevel\': \'None\',\n \'Filter\': null\n },\n {\n \'ProviderName\': \'Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.WebHostSystemLoggerProvider\',\n \'CategoryName\': null,\n \'LogLevel\': null,\n \'Filter\': \'<AddFilter>b__0\'\n },\n {\n \'ProviderName\': null,\n \'CategoryName\': null,\n \'LogLevel\': null,\n \'Filter\': \'<AddFilter>b__0\'\n },\n {\n \'ProviderName\': null,\n \'CategoryName\': \'Host.Function.ToolingConsoleLog\',\n \'LogLevel\': \'Information\',\n \'Filter\': null\n },\n {\n \'ProviderName\': \'Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider\',\n \'CategoryName\': null,\n \'LogLevel\': \'None\',\n \'Filter\': null\n },\n {\n \'ProviderName\': \'Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider\',\n \'CategoryName\': null,\n \'LogLevel\': null,\n \'Filter\': \'<AddFilter>b__0\'\n }\n ]\n}','category':'Microsoft.Azure.WebJobs.Hosting.OptionsLoggingService','hostVersion':'4.1039.500.6','hostInstanceId':'92f88589-031e-42f1-bb5e-651301bcc313','level':'Information','levelId':2,'processId':9}",06/06/2025 09:10:01 2025-06-06T09:10:01.474613265Z MS_FUNCTION_AZURE_MONITOR_EVENT 4,sandboxarchidockerfunc.azurewebsites.net,Microsoft.Web/sites/functions/log,FunctionAppLogs,francecentral,"{'appName':'sandboxarchidockerfunc','roleInstance':'17b79dc198b96bc89cfebb4cc8c879255c1cccf0c226c50e0740689b87a3d16a','message':'FunctionResultAggregatorOptions\n{\n \'BatchSize\': 1000,\n \'FlushTimeout\': \'00:00:30\',\n \'IsEnabled\': true\n}','category':'Microsoft.Azure.WebJobs.Hosting.OptionsLoggingService','hostVersion':'4.1039.500.6','hostInstanceId':'92f88589-031e-42f1-bb5e-651301bcc313','level':'Information','levelId':2,'processId':9}",06/06/2025 09:10:01 2025-06-06T09:10:01.474807220Z MS_FUNCTION_AZURE_MONITOR_EVENT 4,sandboxarchidockerfunc.azurewebsites.net,Microsoft.Web/sites/functions/log,FunctionAppLogs,francecentral,"{'appName':'sandboxarchidockerfunc','roleInstance':'17b79dc198b96bc89cfebb4cc8c879255c1cccf0c226c50e0740689b87a3d16a','message':'ConcurrencyOptions\n{\n \'DynamicConcurrencyEnabled\': false,\n \'MaximumFunctionConcurrency\': 500,\n \'CPUThreshold\': 0.8,\n \'SnapshotPersistenceEnabled\': true\n}','category':'Microsoft.Azure.WebJobs.Hosting.OptionsLoggingService','hostVersion':'4.1039.500.6','hostInstanceId':'92f88589-031e-42f1-bb5e-651301bcc313','level':'Information','levelId':2,'processId':9}",06/06/2025 09:10:01 2025-06-06T09:10:01.474816748Z MS_FUNCTION_AZURE_MONITOR_EVENT 4,sandboxarchidockerfunc.azurewebsites.net,Microsoft.Web/sites/functions/log,FunctionAppLogs,francecentral,"{'appName':'sandboxarchidockerfunc','roleInstance':'17b79dc198b96bc89cfebb4cc8c879255c1cccf0c226c50e0740689b87a3d16a','message':'SingletonOptions\n{\n \'LockPeriod\': \'00:00:15\',\n \'ListenerLockPeriod\': \'00:01:00\',\n \'LockAcquisitionTimeout\': \'10675199.02:48:05.4775807\',\n \'LockAcquisitionPollingInterval\': \'00:00:05\',\n \'ListenerLockRecoveryPollingInterval\': \'00:01:00\'\n}','category':'Microsoft.Azure.WebJobs.Hosting.OptionsLoggingService','hostVersion':'4.1039.500.6','hostInstanceId':'92f88589-031e-42f1-bb5e-651301bcc313','level':'Information','levelId':2,'processId':9}",06/06/2025 09:10:01 2025-06-06T09:10:01.474834030Z MS_FUNCTION_AZURE_MONITOR_EVENT 4,sandboxarchidockerfunc.azurewebsites.net,Microsoft.Web/sites/functions/log,FunctionAppLogs,francecentral,"{'appName':'sandboxarchidockerfunc','roleInstance':'17b79dc198b96bc89cfebb4cc8c879255c1cccf0c226c50e0740689b87a3d16a','message':'ScaleOptions\n{\n \'ScaleMetricsMaxAge\': \'00:02:00\',\n \'ScaleMetricsSampleInterval\': \'00:00:10\',\n \'MetricsPurgeEnabled\': true,\n \'IsTargetScalingEnabled\': true,\n \'IsRuntimeScalingEnabled\': false\n}','category':'Microsoft.Azure.WebJobs.Hosting.OptionsLoggingService','hostVersion':'4.1039.500.6','hostInstanceId':'92f88589-031e-42f1-bb5e-651301bcc313','level':'Information','levelId':2,'processId':9}",06/06/2025 09:10:01 2025-06-06T09:10:01.474842726Z MS_FUNCTION_AZURE_MONITOR_EVENT 4,sandboxarchidockerfunc.azurewebsites.net,Microsoft.Web/sites/functions/log,FunctionAppLogs,francecentral,"{'appName':'sandboxarchidockerfunc','roleInstance':'17b79dc198b96bc89cfebb4cc8c879255c1cccf0c226c50e0740689b87a3d16a','message':'Starting JobHost','category':'Microsoft.Azure.WebJobs.Hosting.JobHostService','hostVersion':'4.1039.500.6','hostInstanceId':'92f88589-031e-42f1-bb5e-651301bcc313','level':'Information','levelId':2,'processId':9}",06/06/2025 09:10:01 2025-06-06T09:10:01.474849790Z MS_FUNCTION_AZURE_MONITOR_EVENT 4,sandboxarchidockerfunc.azurewebsites.net,Microsoft.Web/sites/functions/log,FunctionAppLogs,francecentral,"{'appName':'sandboxarchidockerfunc','roleInstance':'17b79dc198b96bc89cfebb4cc8c879255c1cccf0c226c50e0740689b87a3d16a','message':'Starting Host (HostId=sandboxarchidockerfunc, InstanceId=92f88589-031e-42f1-bb5e-651301bcc313, Version=4.1039.500.6, ProcessId=9, AppDomainId=1, InDebugMode=True, InDiagnosticMode=False, FunctionsExtensionVersion=~4)','category':'Host.Startup','hostVersion':'4.1039.500.6','hostInstanceId':'92f88589-031e-42f1-bb5e-651301bcc313','level':'Information','levelId':2,'processId':9,'eventId':401,'eventName':'StartingHost'}",06/06/2025 09:10:01 2025-06-06T09:10:01.474857855Z info: Microsoft.Azure.WebJobs.Hosting.OptionsLoggingService[0] 2025-06-06T09:10:01.474863335Z FunctionResultAggregatorOptions 2025-06-06T09:10:01.474868866Z { 2025-06-06T09:10:01.474873865Z "BatchSize": 1000, 2025-06-06T09:10:01.474878924Z "FlushTimeout": "00:00:30", 2025-06-06T09:10:01.474921056Z "IsEnabled": true 2025-06-06T09:10:01.474931325Z } 2025-06-06T09:10:01.474936625Z info: Microsoft.Azure.WebJobs.Hosting.OptionsLoggingService[0] 2025-06-06T09:10:01.474942205Z ConcurrencyOptions 2025-06-06T09:10:01.474947836Z { 2025-06-06T09:10:01.474952926Z "DynamicConcurrencyEnabled": false, 2025-06-06T09:10:01.474957895Z "MaximumFunctionConcurrency": 500, 2025-06-06T09:10:01.474962734Z "CPUThreshold": 0.8, 2025-06-06T09:10:01.474977422Z "SnapshotPersistenceEnabled": true 2025-06-06T09:10:01.474991157Z } 2025-06-06T09:10:01.474995937Z info: Microsoft.Azure.WebJobs.Hosting.OptionsLoggingService[0] 2025-06-06T09:10:01.475001397Z SingletonOptions 2025-06-06T09:10:01.475006637Z { 2025-06-06T09:10:01.475011916Z "LockPeriod": "00:00:15", 2025-06-06T09:10:01.475017737Z "ListenerLockPeriod": "00:01:00", 2025-06-06T09:10:01.475022767Z "LockAcquisitionTimeout": "10675199.02:48:05.4775807", 2025-06-06T09:10:01.475029349Z "LockAcquisitionPollingInterval": "00:00:05", 2025-06-06T09:10:01.475034830Z "ListenerLockRecoveryPollingInterval": "00:01:00" 2025-06-06T09:10:01.475040470Z } 2025-06-06T09:10:01.475045860Z info: Microsoft.Azure.WebJobs.Hosting.OptionsLoggingService[0] 2025-06-06T09:10:01.475051361Z ScaleOptions 2025-06-06T09:10:01.475057031Z { 2025-06-06T09:10:01.475062662Z "ScaleMetricsMaxAge": "00:02:00", 2025-06-06T09:10:01.475068863Z "ScaleMetricsSampleInterval": "00:00:10", 2025-06-06T09:10:01.475074745Z "MetricsPurgeEnabled": true, 2025-06-06T09:10:01.475080295Z "IsTargetScalingEnabled": true, 2025-06-06T09:10:01.475085354Z "IsRuntimeScalingEnabled": false 2025-06-06T09:10:01.475090775Z } 2025-06-06T09:10:01.475095804Z info: Microsoft.Azure.WebJobs.Hosting.JobHostService[0] 2025-06-06T09:10:01.475100894Z Starting JobHost 2025-06-06T09:10:01.475106284Z info: Host.Startup[401] 2025-06-06T09:10:01.475111163Z Starting Host (HostId=sandboxarchidockerfunc, InstanceId=92f88589-031e-42f1-bb5e-651301bcc313, Version=4.1039.500.6, ProcessId=9, AppDomainId=1, InDebugMode=True, InDiagnosticMode=False, FunctionsExtensionVersion=~4) 2025-06-06T09:10:01.476148271Z fail: Host.Startup[515] 2025-06-06T09:10:01.476160865Z A host error has occurred during startup operation '8a2ff45d-808a-44a5-86c6-aa3ff2f876b3'. 2025-06-06T09:10:01.476167247Z System.UnauthorizedAccessException: Access to the path '/home/LogFiles' is denied. 2025-06-06T09:10:01.476172777Z ---> System.IO.IOException: Permission denied 2025-06-06T09:10:01.476178418Z --- End of inner exception stack trace --- 2025-06-06T09:10:01.476183958Z at System.IO.FileSystem.CreateParentsAndDirectory(String fullPath, UnixFileMode unixCreateMode) 2025-06-06T09:10:01.476189849Z at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode) 2025-06-06T09:10:01.476196011Z at System.IO.Directory.CreateDirectory(String path) 2025-06-06T09:10:01.476201531Z at System.IO.Abstractions.DirectoryWrapper.CreateDirectory(String path) 2025-06-06T09:10:01.476207162Z at Microsoft.Azure.WebJobs.Script.FileUtility.EnsureDirectoryExists(String path) in /_/src/WebJobs.Script/Extensions/FileUtility.cs:line 40 2025-06-06T09:10:01.476220296Z at Microsoft.Azure.WebJobs.Script.ScriptHost.InitializeFileSystem() in /_/src/WebJobs.Script/Host/ScriptHost.cs:line 503 2025-06-06T09:10:01.476226017Z at Microsoft.Azure.WebJobs.Script.ScriptHost.PreInitialize() in /_/src/WebJobs.Script/Host/ScriptHost.cs:line 476 2025-06-06T09:10:01.476230936Z at Microsoft.Azure.WebJobs.Script.ScriptHost.InitializeAsync(CancellationToken cancellationToken) in /_/src/WebJobs.Script/Host/ScriptHost.cs:line 281 2025-06-06T09:10:01.476235876Z at Microsoft.Azure.WebJobs.Script.ScriptHost.StartAsyncCore(CancellationToken cancellationToken) in /_/src/WebJobs.Script/Host/ScriptHost.cs:line 262 2025-06-06T09:10:01.476240875Z at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token) 2025-06-06T09:10:01.476245985Z at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation) 2025-06-06T09:10:01.476251224Z at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>g__LogAndRethrow|15_3(<>c__DisplayClass15_0&) 2025-06-06T09:10:01.476256534Z at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) 2025-06-06T09:10:01.476262175Z at Microsoft.Azure.WebJobs.Script.WebHost.WebJobsScriptHostService.UnsynchronizedStartHostAsync(ScriptHostStartupOperation activeOperation, Int32 attemptCount, JobHostStartupMode startupMode) in /_/src/WebJobs.Script.WebHost/WebJobsScriptHostService.cs:line 410 2025-06-06T09:10:01.476450028Z MS_FUNCTION_AZURE_MONITOR_EVENT 2,sandboxarchidockerfunc.azurewebsites.net,Microsoft.Web/sites/functions/log,FunctionAppLogs,francecentral,"{'appName':'sandboxarchidockerfunc','roleInstance':'17b79dc198b96bc89cfebb4cc8c879255c1cccf0c226c50e0740689b87a3d16a','message':'A host error has occurred during startup operation 8a2ff45d-808a-44a5-86c6-aa3ff2f876b3.','category':'Host.Startup','hostVersion':'4.1039.500.6','hostInstanceId':'92f88589-031e-42f1-bb5e-651301bcc313','level':'Error','levelId':4,'processId':9,'exceptionDetails':'System.UnauthorizedAccessException : Access to the path /home/LogFiles is denied. ---> System.IO.IOException : Permission denied\n End of inner exception\n at System.IO.FileSystem.CreateParentsAndDirectory(String fullPath,UnixFileMode unixCreateMode)\n at System.IO.FileSystem.CreateDirectory(String fullPath,UnixFileMode unixCreateMode)\n at System.IO.Directory.CreateDirectory(String path)\n at System.IO.Abstractions.DirectoryWrapper.CreateDirectory(String path)\n at Microsoft.Azure.WebJobs.Script.FileUtility.EnsureDirectoryExists(String path) at /_/src/WebJobs.Script/Extensions/FileUtility.cs : 40\n at Microsoft.Azure.WebJobs.Script.ScriptHost.InitializeFileSystem() at /_/src/WebJobs.Script/Host/ScriptHost.cs : 503\n at Microsoft.Azure.WebJobs.Script.ScriptHost.PreInitialize() at /_/src/WebJobs.Script/Host/ScriptHost.cs : 476\n at async Microsoft.Azure.WebJobs.Script.ScriptHost.InitializeAsync(CancellationToken cancellationToken) at /_/src/WebJobs.Script/Host/ScriptHost.cs : 281\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Azure.WebJobs.Script.ScriptHost.StartAsyncCore(CancellationToken cancellationToken) at /_/src/WebJobs.Script/Host/ScriptHost.cs : 262\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(??)\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services,CancellationToken token,Boolean concurrent,Boolean abortOnFirstException,List`1 exceptions,Func`3 operation)\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>g__LogAndRethrow|15_3(<>c__DisplayClass15_0& )\n at async Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\n at async Microsoft.Azure.WebJobs.Script.WebHost.WebJobsScriptHostService.UnsynchronizedStartHostAsync(ScriptHostStartupOperation activeOperation,Int32 attemptCount,JobHostStartupMode startupMode) at /_/src/WebJobs.Script.WebHost/WebJobsScriptHostService.cs : 410','exceptionMessage':'Permission denied','exceptionType':'System.IO.IOException','eventId':515,'eventName':'ErrorOccurredDuringStartupOperation'}",06/06/2025 09:10:01 2025-06-06T09:10:01.476865709Z MS_FUNCTION_AZURE_MONITOR_EVENT 4,sandboxarchidockerfunc.azurewebsites.net,Microsoft.Web/sites/functions/log,FunctionAppLogs,francecentral,"{'appName':'sandboxarchidockerfunc','roleInstance':'17b79dc198b96bc89cfebb4cc8c879255c1cccf0c226c50e0740689b87a3d16a','message':'Stopping JobHost','category':'Microsoft.Azure.WebJobs.Hosting.JobHostService','hostVersion':'4.1039.500.6','hostInstanceId':'92f88589-031e-42f1-bb5e-651301bcc313','level':'Information','levelId':2,'processId':9}",06/06/2025 09:10:01 2025-06-06T09:10:01.476880927Z info: Microsoft.Azure.WebJobs.Hosting.JobHostService[0] 2025-06-06T09:10:01.476887159Z Stopping JobHost 

Known workarounds

It works when using an Elastic Premium plan.

Related information

The build use the base image mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated9.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions