Hi praveensri , managed to register the extension and I can now see the extension in the designer. However, after I configured and started debugging, I got the following error
[2021-10-27T16:54:48.911Z] The 'Stateful1' function is in error: The binding type(s) 'cosmosDBTrigger' were not found in the configured extension bundle. Please ensure the type is correct and the correct version of extension bundle is configured.
I am not sure what is missing. Below is the full logs.
C:\Shankar\Projects\LACustomConnector>func host start --verbose
%%%%%%
%%%%%%
@ %%%%%% @
@@ %%%%%% @@
@@@ %%%%%%%%%%% @@@
@@ %%%%%%%%%% @@
@@ %%%% @@
@@ %%% @@
@@ %% @@
%%
%
Azure Functions Core Tools
Core Tools Version: 3.0.3477 Commit hash: 5fbb9a76fc00e4168f2cc90d6ff0afe5373afc6d (64-bit)
Function Runtime Version: 3.0.15584.0
[2021-10-27T16:54:44.902Z] Building host: startup suppressed: 'False', configuration suppressed: 'False', startup operation id: '197bacbe-451f-435b-a1cf-11d018a40145'
[2021-10-27T16:54:44.922Z] Reading host configuration file 'C:\Shankar\Projects\LACustomConnector\host.json'
[2021-10-27T16:54:44.926Z] Host configuration file read:
[2021-10-27T16:54:44.929Z] {
[2021-10-27T16:54:44.931Z] "version": "2.0",
[2021-10-27T16:54:44.935Z] "extensionBundle": {
[2021-10-27T16:54:44.940Z] "id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
[2021-10-27T16:54:44.945Z] "version": "[1.*, 2.0.0)"
[2021-10-27T16:54:44.950Z] }
[2021-10-27T16:54:44.956Z] }
[2021-10-27T16:54:44.984Z] Loading functions metadata
[2021-10-27T16:54:45.030Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:java
[2021-10-27T16:54:45.044Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:powershell
[2021-10-27T16:54:45.052Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:python
[2021-10-27T16:54:45.062Z] Reading functions metadata
[2021-10-27T16:54:45.075Z] 0 functions found
[2021-10-27T16:54:45.108Z] 0 functions loaded
[2021-10-27T16:54:45.117Z] Looking for extension bundle Microsoft.Azure.Functions.ExtensionBundle.Workflows at C:\Users\Shankar Chandrasekar\.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle.Workflows
[2021-10-27T16:54:45.128Z] Found a matching extension bundle at C:\Users\Shankar Chandrasekar\.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle.Workflows\1.1.25
[2021-10-27T16:54:45.136Z] Fetching information on versions of extension bundle Microsoft.Azure.Functions.ExtensionBundle.Workflows available on https://functionscdn.azureedge.net/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows/index.json[2021-10-27T16:54:45.403Z] Skipping bundle download since it already exists at path C:\Users\Shankar Chandrasekar\.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle.Workflows\1.1.25
[2021-10-27T16:54:45.411Z] Loading extension bundle from C:\Users\Shankar Chandrasekar\.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle.Workflows\1.1.25\bin
[2021-10-27T16:54:45.418Z] Loading startup extension 'EventHubs'
[2021-10-27T16:54:45.452Z] Loaded extension 'EventHubs' (4.1.1.0)
[2021-10-27T16:54:45.490Z] Loading startup extension 'AzureStorage'
[2021-10-27T16:54:45.497Z] Loaded extension 'AzureStorage' (4.0.4.0)
[2021-10-27T16:54:45.504Z] Loading startup extension 'ServiceBus'
[2021-10-27T16:54:45.512Z] Loaded extension 'ServiceBus' (4.3.0.0)
[2021-10-27T16:54:45.518Z] Loading startup extension 'AzureBlobServiceProvider'
[2021-10-27T16:54:45.525Z] Loaded extension 'AzureBlobServiceProvider' (0.0.0.0)
[2021-10-27T16:54:45.532Z] Loading startup extension 'DB2ServiceProvider'
[2021-10-27T16:54:45.539Z] Loaded extension 'DB2ServiceProvider' (1.0.0.0)
[2021-10-27T16:54:45.545Z] Loading startup extension 'EventHubsServiceProvider'
[2021-10-27T16:54:45.551Z] Loaded extension 'EventHubsServiceProvider' (1.0.0.0)
[2021-10-27T16:54:45.558Z] Loading startup extension 'HostFileServiceProvider'
[2021-10-27T16:54:45.565Z] Loaded extension 'HostFileServiceProvider' (1.0.0.0)
[2021-10-27T16:54:45.571Z] Loading startup extension 'MqServiceProvider'
[2021-10-27T16:54:45.580Z] Loaded extension 'MqServiceProvider' (1.0.0.0)
[2021-10-27T16:54:45.587Z] Loading startup extension 'ServiceBusServiceProvider'
[2021-10-27T16:54:45.595Z] Loaded extension 'ServiceBusServiceProvider' (1.0.0.0)
[2021-10-27T16:54:45.602Z] Loading startup extension 'SqlServiceProvider'
[2021-10-27T16:54:45.608Z] Loaded extension 'SqlServiceProvider' (1.0.0.0)
[2021-10-27T16:54:45.614Z] Loading startup extension 'WorkflowExtension'
[2021-10-27T16:54:45.620Z] Loaded extension 'WorkflowExtension' (1.0.0.0)
[2021-10-27T16:54:45.627Z] Loading startup extension 'CosmosDbServiceProvider'
[2021-10-27T16:54:45.633Z] Loaded extension 'CosmosDbServiceProvider' (1.0.0.0)
[2021-10-27T16:54:45.644Z] Reading host configuration file 'C:\Shankar\Projects\LACustomConnector\host.json'
[2021-10-27T16:54:45.649Z] Host configuration file read:
[2021-10-27T16:54:45.655Z] {
[2021-10-27T16:54:45.660Z] "version": "2.0",
[2021-10-27T16:54:45.665Z] "extensionBundle": {
[2021-10-27T16:54:45.670Z] "id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
[2021-10-27T16:54:45.675Z] "version": "[1.*, 2.0.0)"
[2021-10-27T16:54:45.679Z] }
[2021-10-27T16:54:45.684Z] }
[2021-10-27T16:54:46.050Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:java
[2021-10-27T16:54:46.055Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:powershell
[2021-10-27T16:54:46.059Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:python
[2021-10-27T16:54:46.734Z] Initializing Warmup Extension.
[2021-10-27T16:54:47.419Z] Initializing Host. OperationId: '197bacbe-451f-435b-a1cf-11d018a40145'.
[2021-10-27T16:54:47.432Z] Host initialization: ConsecutiveErrors=0, StartupCount=1, OperationId=197bacbe-451f-435b-a1cf-11d018a40145[2021-10-27T16:54:47.455Z] LoggerFilterOptions
[2021-10-27T16:54:47.459Z] {
[2021-10-27T16:54:47.461Z] "MinLevel": "None",
[2021-10-27T16:54:47.463Z] "Rules": [
[2021-10-27T16:54:47.466Z] {
[2021-10-27T16:54:47.470Z] "ProviderName": null,
[2021-10-27T16:54:47.473Z] "CategoryName": null,
[2021-10-27T16:54:47.476Z] "LogLevel": null,
[2021-10-27T16:54:47.479Z] "Filter": "<AddFilter>b__0"
[2021-10-27T16:54:47.481Z] },
[2021-10-27T16:54:47.484Z] {
[2021-10-27T16:54:47.487Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2021-10-27T16:54:47.491Z] "CategoryName": null,
[2021-10-27T16:54:47.494Z] "LogLevel": "None",
[2021-10-27T16:54:47.497Z] "Filter": null
[2021-10-27T16:54:47.499Z] },
[2021-10-27T16:54:47.502Z] {
[2021-10-27T16:54:47.506Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2021-10-27T16:54:47.509Z] "CategoryName": null,
[2021-10-27T16:54:47.512Z] "LogLevel": null,
[2021-10-27T16:54:47.516Z] "Filter": "<AddFilter>b__0"
[2021-10-27T16:54:47.519Z] },
[2021-10-27T16:54:47.523Z] {
[2021-10-27T16:54:47.526Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2021-10-27T16:54:47.529Z] "CategoryName": null,
[2021-10-27T16:54:47.531Z] "LogLevel": null,
[2021-10-27T16:54:47.535Z] "Filter": "<AddFilter>b__0"
[2021-10-27T16:54:47.538Z] }
[2021-10-27T16:54:47.542Z] ]
[2021-10-27T16:54:47.545Z] }
[2021-10-27T16:54:47.549Z] LoggerFilterOptions
[2021-10-27T16:54:47.552Z] {
[2021-10-27T16:54:47.556Z] "MinLevel": "None",
[2021-10-27T16:54:47.559Z] "Rules": [
[2021-10-27T16:54:47.562Z] {
[2021-10-27T16:54:47.565Z] "ProviderName": null,
[2021-10-27T16:54:47.568Z] "CategoryName": null,
[2021-10-27T16:54:47.572Z] "LogLevel": null,
[2021-10-27T16:54:47.575Z] "Filter": "<AddFilter>b__0"
[2021-10-27T16:54:47.578Z] },
[2021-10-27T16:54:47.581Z] {
[2021-10-27T16:54:47.584Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2021-10-27T16:54:47.588Z] "CategoryName": null,
[2021-10-27T16:54:47.592Z] "LogLevel": "None",
[2021-10-27T16:54:47.594Z] "Filter": null
[2021-10-27T16:54:47.598Z] },
[2021-10-27T16:54:47.601Z] {
[2021-10-27T16:54:47.605Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2021-10-27T16:54:47.608Z] "CategoryName": null,
[2021-10-27T16:54:47.612Z] "LogLevel": null,
[2021-10-27T16:54:47.615Z] "Filter": "<AddFilter>b__0"
[2021-10-27T16:54:47.618Z] },
[2021-10-27T16:54:47.622Z] {
[2021-10-27T16:54:47.624Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2021-10-27T16:54:47.628Z] "CategoryName": null,
[2021-10-27T16:54:47.631Z] "LogLevel": null,
[2021-10-27T16:54:47.635Z] "Filter": "<AddFilter>b__0"
[2021-10-27T16:54:47.638Z] }
[2021-10-27T16:54:47.642Z] ]
[2021-10-27T16:54:47.645Z] }
[2021-10-27T16:54:47.648Z] FunctionResultAggregatorOptions
[2021-10-27T16:54:47.652Z] {
[2021-10-27T16:54:47.655Z] "BatchSize": 1000,
[2021-10-27T16:54:47.658Z] "FlushTimeout": "00:00:30",
[2021-10-27T16:54:47.662Z] "IsEnabled": true
[2021-10-27T16:54:47.666Z] }
[2021-10-27T16:54:47.670Z] SingletonOptions
[2021-10-27T16:54:47.673Z] {
[2021-10-27T16:54:47.676Z] "LockPeriod": "00:00:15",
[2021-10-27T16:54:47.679Z] "ListenerLockPeriod": "00:00:15",
[2021-10-27T16:54:47.682Z] "LockAcquisitionTimeout": "10675199.02:48:05.4775807",
[2021-10-27T16:54:47.685Z] "LockAcquisitionPollingInterval": "00:00:05",
[2021-10-27T16:54:47.688Z] "ListenerLockRecoveryPollingInterval": "00:01:00"
[2021-10-27T16:54:47.692Z] }
[2021-10-27T16:54:47.696Z] QueuesOptions
[2021-10-27T16:54:47.699Z] {
[2021-10-27T16:54:47.702Z] "BatchSize": 16,
[2021-10-27T16:54:47.706Z] "NewBatchThreshold": 64,
[2021-10-27T16:54:47.709Z] "MaxPollingInterval": "00:00:02",
[2021-10-27T16:54:47.712Z] "MaxDequeueCount": 5,
[2021-10-27T16:54:47.715Z] "VisibilityTimeout": "00:00:00"
[2021-10-27T16:54:47.717Z] }
[2021-10-27T16:54:47.719Z] BlobsOptions
[2021-10-27T16:54:47.723Z] {
[2021-10-27T16:54:47.726Z] "CentralizedPoisonQueue": false
[2021-10-27T16:54:47.730Z] }
[2021-10-27T16:54:47.733Z] ServiceBusOptions
[2021-10-27T16:54:47.737Z] {
[2021-10-27T16:54:47.741Z] "PrefetchCount": 0,
[2021-10-27T16:54:47.744Z] "MessageHandlerOptions": {
[2021-10-27T16:54:47.747Z] "AutoComplete": true,
[2021-10-27T16:54:47.750Z] "MaxAutoRenewDuration": "00:05:00",
[2021-10-27T16:54:47.754Z] "MaxConcurrentCalls": 128
[2021-10-27T16:54:47.758Z] },
[2021-10-27T16:54:47.761Z] "SessionHandlerOptions": {
[2021-10-27T16:54:47.764Z] "AutoComplete": true,
[2021-10-27T16:54:47.766Z] "MaxAutoRenewDuration": "00:05:00",
[2021-10-27T16:54:47.767Z] "MaxConcurrentSessions": 2000,
[2021-10-27T16:54:47.768Z] "MessageWaitTimeout": "00:01:00"
[2021-10-27T16:54:47.770Z] },
[2021-10-27T16:54:47.771Z] "BatchOptions": {
[2021-10-27T16:54:47.772Z] "MaxMessageCount": 1000,
[2021-10-27T16:54:47.773Z] "OperationTimeout": "00:01:00",
[2021-10-27T16:54:47.775Z] "AutoComplete": true
[2021-10-27T16:54:47.776Z] }
[2021-10-27T16:54:47.778Z] }
[2021-10-27T16:54:47.780Z] EventHubOptions
[2021-10-27T16:54:47.781Z] {
[2021-10-27T16:54:47.782Z] "BatchCheckpointFrequency": 1,
[2021-10-27T16:54:47.783Z] "EventProcessorOptions": {
[2021-10-27T16:54:47.785Z] "EnableReceiverRuntimeMetric": false,
[2021-10-27T16:54:47.786Z] "InvokeProcessorAfterReceiveTimeout": false,
[2021-10-27T16:54:47.787Z] "MaxBatchSize": 10,
[2021-10-27T16:54:47.789Z] "PrefetchCount": 300,
[2021-10-27T16:54:47.790Z] "ReceiveTimeout": "00:01:00"
[2021-10-27T16:54:47.791Z] },
[2021-10-27T16:54:47.793Z] "PartitionManagerOptions": {
[2021-10-27T16:54:47.794Z] "LeaseDuration": "00:00:30",
[2021-10-27T16:54:47.795Z] "RenewInterval": "00:00:10"
[2021-10-27T16:54:47.796Z] }
[2021-10-27T16:54:47.797Z] }
[2021-10-27T16:54:47.801Z] Starting JobHost
[2021-10-27T16:54:47.804Z] Starting Host (HostId=desktop4hcgsld-1514621621, InstanceId=69edd4ec-2d4f-45ee-b1b1-bcc3f01562fb, Version=3.0.15584.0, ProcessId=21724, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=(null))
[2021-10-27T16:54:47.829Z] Loading functions metadata
[2021-10-27T16:54:47.832Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:java
[2021-10-27T16:54:47.834Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:powershell
[2021-10-27T16:54:47.836Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:python
[2021-10-27T16:54:47.838Z] Reading functions metadata
[2021-10-27T16:54:47.841Z] 0 functions found
[2021-10-27T16:54:48.215Z] Error message: correlationId='9e7501fe-ea12-46b3-961a-494df175d80c', operationName='SubscriptionExtensions.ToCachedSubscription', message='Resource provider namespace is empty for subscription 'myedgeenvironment'.', exception='<null>', organizationId='', activityVector='IN.02', additionalProperties='', extensionVersion='1.0.0.0', siteName='UNDEFINED_SITE_NAME', slotName='', activityId='9e7501fe-ea12-46b3-961a-494df175d80c'.
[2021-10-27T16:54:48.476Z] 2 functions loaded
[2021-10-27T16:54:48.520Z] Generating 1 job function(s)
[2021-10-27T16:54:48.548Z] Found the following functions:
[2021-10-27T16:54:48.551Z] Host.Functions.WorkflowDispatcher
[2021-10-27T16:54:48.555Z]
[2021-10-27T16:54:48.584Z] HttpOptions
[2021-10-27T16:54:48.588Z] {
[2021-10-27T16:54:48.584Z] Initializing function HTTP routes
[2021-10-27T16:54:48.592Z] "DynamicThrottlesEnabled": false,
[2021-10-27T16:54:48.601Z] "EnableChunkedRequestBinding": false,
[2021-10-27T16:54:48.606Z] "MaxConcurrentRequests": -1,
[2021-10-27T16:54:48.596Z] No HTTP routes mapped
[2021-10-27T16:54:48.611Z] "MaxOutstandingRequests": -1,
[2021-10-27T16:54:48.622Z] "RoutePrefix": "api"
[2021-10-27T16:54:48.616Z]
[2021-10-27T16:54:48.627Z] }
[2021-10-27T16:54:48.650Z] Host initialized (823ms)
[2021-10-27T16:54:48.668Z] Service starting: serviceName='Microsoft-Azure-Workflows', name='', value='', version='1.0.0', message='Starting the worker app with environment name 'Flow function extension', Number of cores: '8'.Memory: '125845504'.', correlationId='',
organizationId='', activityVector='', additionalProperties='', extensionVersion='1.0.0.0', siteName='UNDEFINED_SITE_NAME', slotName='', activityId='00000000-0000-0000-0000-000000000000'.
Functions:
WorkflowDispatcher: edgeWorkflowRuntimeTrigger
[2021-10-27T16:54:48.889Z] Service started: serviceName='Microsoft-Azure-Workflows', version='1.0.0', name='', value='', message='Started the worker app with environment name 'Flow function extension', Number of cores: '8'. Memory: '128901120'.', correlationId='', organizationId='', activityVector='', additionalProperties='', extensionVersion='1.0.0.0', siteName='UNDEFINED_SITE_NAME', slotName='', activityId='00000000-0000-0000-0000-000000000000'.
[2021-10-27T16:54:48.898Z] Host started (1091ms)
[2021-10-27T16:54:48.900Z] Job host started
[2021-10-27T16:54:48.911Z] The 'Stateful1' function is in error: The binding type(s) 'cosmosDBTrigger' were not found in the configured extension bundle. Please ensure the type is correct and the correct version of extension bundle is configured.
[2021-10-27T16:54:54.040Z] Host lock lease acquired by instance ID '000000000000000000000000ABCFD64B'.