-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
We are just now onboarding Cisco Umbrella data connector inside Azure Sentinel and are getting the following error on EVERY function run (so every ten mins):
The function got created fine and shows no errors. The Data Connector shows connected but only some tables are getting pulled. The proxy logs are not updating since the initial run (24 hours ago).
Azure Functions is using Python 3.11.
We reviewed the troubleshooting guide here https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoUmbrella/Data%20Connectors/CiscoUmbrella_TestingInstructions.docx and the error below is not listed in that troubleshooting guide, so reaching out here in GitHub for assistance.
Result: Failure Type: Exception: ResourceExistsError: The specified resource type does not match the type of the existing resource. RequestId:3b4d7773-d01a-0064-51d3-693bf7000000 Time:2025-12-10T12:50:07.8054874Z ErrorCode:ResourceTypeMismatch Content: ResourceTypeMismatchThe specified resource type does not match the type of the existing resource. RequestId:3b4d7773-d01a-0064-51d3-693bf7000000 Time:2025-12-10T12:50:07.8054874Z Stack: File "/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/dispatcher.py", line 684, in _handle__invocation_request call_result = await self._loop.run_in_executor( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/dispatcher.py", line 1015, in _run_sync_func return ExtensionManager.get_sync_invocation_wrapper(context, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/extension.py", line 211, in _raw_invocation_wrapper result = function(**args) ^^^^^^^^^^^^^^^^ File "/home/site/wwwroot/ciscoUmbrellaDataConn/init.py", line 130, in main state_manager_cu.post(datetime.datetime.strftime(last_ts, '%Y-%m-%dT%H:%M:%S.%fZ')) File "/home/site/wwwroot/ciscoUmbrellaDataConn/state_manager.py", line 16, in post self.file_cli.upload_file(marker_text) File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/core/tracing/decorator.py", line 119, in wrapper_use_tracer return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/storage/fileshare/_file_client.py", line 618, in upload_file return _upload_file_helper( ^^^^^^^^^^^^^^^^^^^^ File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/storage/fileshare/_file_client.py", line 110, in _upload_file_helper process_storage_error(error) File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/storage/fileshare/_shared/response_handlers.py", line 195, in process_storage_error exec("raise error from None") # pylint: disable=exec-used # nosec ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1, in File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/storage/fileshare/_file_client.py", line 81, in _upload_file_helper response = client.create_file( ^^^^^^^^^^^^^^^^^^^ File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/core/tracing/decorator.py", line 119, in wrapper_use_tracer return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/storage/fileshare/_file_client.py", line 494, in create_file process_storage_error(error) File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/storage/fileshare/_shared/response_handlers.py", line 195, in process_storage_error exec("raise error from None") # pylint: disable=exec-used # nosec ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1, in File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/storage/fileshare/_file_client.py", line 478, in create_file return cast(Dict[str, Any], self._client.file.create( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/core/tracing/decorator.py", line 119, in wrapper_use_tracer return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/storage/fileshare/_generated/operations/_file_operations.py", line 1468, in create map_error(status_code=response.status_code, response=response, error_map=error_map) File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/core/exceptions.py", line 163, in map_error raise error