3

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.

3 Answers3

1

To use Azure Data Studio SQL Profiler you may need to have Control permission over the database, The database owner has Control permission.

Alberto Morillo
  • 13,893
  • 2
  • 24
  • 30
0

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]
SzilardD
  • 1,611
  • 2
  • 22
  • 40
-1

To be able to execute a stored procedure for example you could do this:

GRANT EXECUTE ON [SCHEMA].[TABLE] to [USER]
Lewi Uberg
  • 1,055
  • 7
  • 14