com.atlassian.crowd.exception.ApplicationPermissionException: Not allowed to update user '[User]' in directory '[Remote User Directory]'.

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

When adding a user, modifying the group membership or password, the following error is thrown:

2013-01-01 12:00:00,000 ERROR [http-8090-5] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action – referer: http://localhost:8090/admin/users/setuserpassword.action?username=nmudd | url: /admin/users/dosetuserpassword.action | userName: admin
com.atlassian.user.EntityException: com.atlassian.crowd.exception.OperationNotPermittedException: com.atlassian.crowd.exception.ApplicationPermissionException: Not allowed to update user '[User]' in directory '[Remote User Directory]'.
        at com.atlassian.crowd.embedded.atlassianuser.EmbeddedCrowdUserManager.alterPassword(EmbeddedCrowdUserManager.java:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)

Cause

There is a duplicate Directory pointing to a different directory; The Directory is not functional during the action.

Resolution

Make sure that all the Directories are functional and Working, and no Directory is pointing to invalid locations. This includes the IP Address of the given Directory.

Last modified on Jan 6, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.