VIEW SERVER STATE permission was denied on object 'server', database 'master'. error in SharePoint 2016 Farm.

adil 1,206 Reputation points
2021-03-30T07:47:43.003+00:00

HI
I prepared New SP 2016 Farm with 4 Servers
App1 - MinRole (Application + Search)
App2 - Distributed Cache
WFE1 - Custom Role (Running Microsoft SharePoint Foundation Web Application)
WFE2 - Custom Role (Running Microsoft SharePoint Foundation Web Application)

In App1 below error keep throwing every time. Unknown SQL Exception 300 occurred. Additional error information from SQL Server is included below.

VIEW SERVER STATE permission was denied on object 'server', database 'master'. The user does not have permission to perform this action.

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,811 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Allen Xu_MSFT 13,776 Reputation points
    2021-03-31T06:06:33.237+00:00

    Hi @adil ,

    I want to confirm with you that what operations were you executing when this error appeared and Did this error cause any features of your SharePoint to be missing?

    Firstly please take a reference to the following solution to provide the View Server State permission to the SharePoint service account.

    • Access SQL Server Management Studio via GUI
    • Connect to the SQL instance
    • Navigate to Security | Logins
    • Right Click the SharePoint Service Account | Select Properties
    • Select the Securables page
    • In the bottom pane, scroll to the bottom and Grant - View Server State

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.