EM12c , EM13c : emcli delete_target fails with : Current user does not have sufficient privileges (Doc ID 2152455.1)

Last updated on JANUARY 31, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.4.0 and later
Information in this document applies to any platform.

Symptoms

In Enterprise Manager(EM), deleting the agent target using EMCLI command fails with following error:

$ ./emcli delete_target -name="<agent hostname>:<agent port>" -type="oracle_emd" -delete_monitored_targets -async
Error: Current user does not have sufficient privileges to perform this action



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms