Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Junos Space] Device found in Security Director but not in Junos Space Platform



Article ID: KB33777 KB Last Updated: 16 Oct 2020Version: 3.0

Under some conditions, when a device is deleted from Junos Space, the device entry remains in Security Director. This article provides a workaround. 


  • Device is listed twice in the Security Director Device list.

  • Device that has been deleted continues to appear in Security Director.



The delete operation does not complete in Security Director under certain conditions when a policy is assigned at the time of delete.



The workaround for all versions where this problem is seen is given below:

  1. Download the script file here.

  2. SCP file to server and unzip:


  1. Run the script:


Note: The script can be extracted on your computer. Each command inside the script can run on the CLI if copying to a remote system is difficult.

Upgrade to Junos Space 18.3R1 to prevent this from happening. However, it will not correct any bad entries at the time of upgrade.

See PR1356317 for additional details.


Modification History:

2020-10-16: Updated the script file

2020-07-22: Updated steps 2 and 3 in solution.


Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search