IBM MQ - Resolve "AMQ8077W Entity has insufficient authority to access object"

by
Jeremy Canfield |
Updated: January 19 2022
| IBM MQ articles
This error appears in the AMQERR logs. In this example, user (or more accurately, entity) john.doe does not have permission to put a message onto QUEUE01.
09/16/2020 06:18:04 PM - Process(108271.1810968) User(mqm) Program(amqzlaa0)
Host(mq.example.com) Installation(Installation1)
VRMF(9.1.0.5) QMgr(MANAGER01)
Time(2020-09-16T23:18:04.715Z)
RemoteHost(10.17.152.11)
CommentInsert1(john.doe)
CommentInsert2(QUEUE01)
CommentInsert3(put/passall)
AMQ8077W: Entity 'john.doe' has insufficient authority to access object
'QUEUE01'.
EXPLANATION:
The specified entity is not authorized to access the required object. The
following requested permissions are unauthorized: put/passall
ACTION:
Ensure that the correct level of authority has been set for this entity against
the required object, or ensure that the entity is a member of a privileged
group.
The dspmqaut command can be used to display the users permissions. In this example, john.doe has not been granted the put permission.
dspmqaut -m MANAGER01 -n QUEUE01 -t queue -p john.doe
Entity john.doe has the following authorizations for object QUEUE01:
get
browse
inq
The setmqaut command can be used to grant a user a certain permission. In this example, john.doe is granted the put permission.
setmqaut -m MANAGER01 -n QUEUE01 -t queue -p john.doe +put
Did you find this article helpful?
If so, consider buying me a coffee over at