Permissions required to create and modify a query in Configuration Manager is:
However if you have configured folders in the Query object you might end up with this error.
The error message states that you don’t have permissions to create the query – but that’s not true. The query is created just not in the folder you expected. Instead the query is created in the root of the Query object. To fix this you need to assign Manage Folder permissions to the Query object. Then it works as expected.