Close Menu
    Facebook X (Twitter) Instagram
    Thursday, July 2
    X (Twitter) LinkedIn Reddit RSS
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»CM2012»SCCM Configmgr SQL Error The SELECT permission was denied on the object database CM_Sitecode-schema-dbo

    SCCM Configmgr SQL Error The SELECT permission was denied on the object database CM_Sitecode-schema-dbo

    Eswar KonetiBy Eswar KonetiSeptember 16, 9:41 am1 Min Read CM2012
    Share
    Facebook Twitter LinkedIn Reddit

    Running SQL queries directly from SQL server management studio is not safe method until you know what you are doing but it is always Good to use reporting services in Configmgr 2012.

    when you are running SQL code using SQL management studio,you get error something like below due to insufficient privileges on the selected Database:

    The SELECT permission was denied on the object ‘v_PackageStatusRootSummarizer’, database ‘CM_P01′, schema ‘dbo’.

    Permission was denied because you do not have enough read permissions to execute the query against the database.

    Get the read permissions on the selected Database from your Configmgr admin team.

    How to provide Read Permissions on the Database for the selected Group or User ?

    Open SQL mgmt Studio,connect to the server

    Expand Databases—>CM_Sitecode—Security—>Users ,select the Group or User name properties to provide Read permissions

    Go to the Membership Tab ,select DB_DataReader,Click ok

     

    image

     

    Close the Management Studio and re-Open it again before you execute the query.

    ‘CM_Sitecode′ ‘dbo’ CM12 configmgr DB_DataReader object database SCCM schema SELECT permission was denied SQL Error
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    Automating Cleanup of Disconnected RDP Sessions on Windows Servers Using PowerShell

    June 29, 10:04 pm

    Export the List of Products from the Software Update Point (SUP) in SCCM Using SQL Query

    November 08, 10:39 am

    SCCM SQL Report – Compare Installed Apps on TWO Different Computers

    July 13, 10:35 am

    1 Comment

    1. Alex Weiss on May 26, 2018 4:02 AM

      Thanks a lot

      Reply

    Leave a ReplyCancel reply

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2025 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.