OPSS - WLST GrantAppRole script Fails To Work With AD Group

(Doc ID 2170562.1)

Last updated on FEBRUARY 20, 2018

Applies to:

Oracle Platform Security for Java - Version and later
Information in this document applies to any platform.


On : version OSB, Java Platform Security

Trying to run the grantAppRole fails to work with AD group, from  middleware_12c_Home/oracle_common/common/wlst/jpsWlstCmd.py

The error saying that it cannot find weblogic_administrators in groups from the Weblogic's security realm although it was added in the Weblogic's security realm.

File "/opt/oracle/middleware_12c/oracle_common/common/wlst/jpsWlstCmd.py", line 638, in grantAppRoleImpl
javax.management.MBeanException: The search for role weblogic_administrators failed.
  at weblogic.utils.StackTraceDisabled.unknownMethod()
Caused by: oracle.as.jmx.framework.exceptions.ManagementException: The search for role weblogic_administrators failed.
  ... 1 more


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