I am using Azure Data Studio
. Which roles should I add to the user? There is an error when I use the Start New Profiler session
:
The user does not have permission to perform this action.
I am using Azure Data Studio
. Which roles should I add to the user? There is an error when I use the Start New Profiler session
:
The user does not have permission to perform this action.
To use Azure Data Studio SQL Profiler you may need to have Control permission over the database, The database owner has Control permission.
It worked for me by granting VIEW SERVER STATE
permission. This is a development server so it's not an issue for me if the user has more permission than it needs.
GRANT VIEW SERVER STATE TO [Username]
To be able to execute a stored procedure for example you could do this:
GRANT EXECUTE ON [SCHEMA].[TABLE] to [USER]