Forum Discussion

sijmalik's avatar
sijmalik
Copper Contributor
Feb 23, 2021

How do you delete a data connector

Hi,

Does anyone know how to delete a data connector from Sentinel, as I need to do this for testing?

 

I can't see any way of doing it in the portal (you used to be able to, but been deprecated I think 😞 )

 

I'm assuming I have to use HTTP and pass in the URI parameters. I tried this. As an example, I've got an Azure SQL Database connector that I want to delete. Where would I find the connector ID? I tried just putting in 'Azure SQL Database' in the connector ID parameter but I got a 204 code back.

 

Thanks

  • sijmalik You can't delete a data connector, you can just turn it off by disabling whatever mechanism is being used to import the data.

     

    In the case of the Azure SQL you would delete the diagnostic setting that is sending the data into your Log Analytics workspace.

  • GaryBushey's avatar
    GaryBushey
    Bronze Contributor

    sijmalik You can't delete a data connector, you can just turn it off by disabling whatever mechanism is being used to import the data.

     

    In the case of the Azure SQL you would delete the diagnostic setting that is sending the data into your Log Analytics workspace.

    • OpeoluwaO's avatar
      OpeoluwaO
      Copper Contributor

      GaryBushey  If I delete(Soft Delete) a log analytic workspace does that automatically disable all Data Connectors in that workspace 

    • John_Maton's avatar
      John_Maton
      Copper Contributor

      GaryBushey After deleting the diagnositic setting for Azure Activity, it still shows as connected even though logs have stopped. Is there any way to get it to recognise it is disconnected as it cannot be reconnected otherwise

      • GaryBushey's avatar
        GaryBushey
        Bronze Contributor

        John_Maton I think, and if anyone knows for sure please correct me, it is showing as connected because there is data in the tables that is has populated.   Once that data gets removed (and you can set table level retention to remove it after 30 days) it will no longer show as connected.

Resources