Hi @Pol ,
We requires membership in the sysadmin fixed server role or the db_owner fixed database role to run DBCC CheckDB. It's an open secret that there's an undocumented DBCC command called DBCC PAGE that you can use to look at the contents of database pages. There is no MS document talking about this. So suggest you using the same permissions as running DBCC CheckDB.
> User is P38. Same kind of permissions are present for user P38 in both replicas.
Did the user P38 mapping the same logins in serve A and server B? Did the logins has same SID? Refer to the blog SQL Server Logins, Users and Security Identifiers (SIDs) to get more information.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".