My Oracle Support Banner

OPSS - WLST GrantAppRole script Fails To Work With AD Group (Doc ID 2170562.1)

Last updated on DECEMBER 22, 2023

Applies to:

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

Symptoms

On : 12.1.3.0.0 version OSB, Java Platform Security

Trying to run the grantAppRole fails to work with AD group, from <MW_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 "/<MW_HOME>/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 <ROLE_ANME>  failed.
  ... 1 more




Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.