azure db permissions #1079
-
Hello i been setting up this tool, but some of the functions dont seem to work i get the following errors in logs:
I applied the following security to my account i am using but azure moans about them, so not sure how to fix, i tried googling and chatgpt but everything i try the commands dont work.
Msg 40521, Level 16, State 1, Line 36 We use the following: I tried to add the event but comes up with
But cant find what the prams should be.. Also get this:
any help be great! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
It looks like the docs need updating for assigning minimal permissions in Azure. Try running this in the master database: ALTER SERVER ROLE ##MS_ServerStateReader##
ADD MEMBER Reader_dbdash And this in the user database: GRANT CREATE ANY DATABASE EVENT SESSION TO Reader_dbdash;
GRANT ALTER ANY DATABASE EVENT SESSION TO Reader_dbdash; Hope this helps. |
Beta Was this translation helpful? Give feedback.
It looks like the docs need updating for assigning minimal permissions in Azure. Try running this in the master database:
ALTER SERVER ROLE ##MS_ServerStateReader## ADD MEMBER Reader_dbdash
And this in the user database:
Hope this helps.