Unknown Permission type CRVW

Marc Bouchard 1 Reputation point
2021-07-20T13:36:14.467+00:00

I am running a Powershell script (SQL PowerDoc) and I'm getting this error on some servers.

Also Unknown Permission type CRCF

I'm not sure where to look to find this issue on the server to fix it. Any suggestions?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,817 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 111.4K Reputation points MVP
    2021-07-20T22:05:35.49+00:00

    CRVW = CREATE VIEW, CRCF = CREATE CERTITICATES-

    These codes appear in the column sys.database_permissions.type. I don't know about SQL PowerDoc, but apparently it does not know about this permissions (which looks like a shortcoming to me).

    Is this something from Microsoft or a third party tool?


  2. AmeliaGu-MSFT 13,976 Reputation points Microsoft Vendor
    2021-07-21T05:50:16.287+00:00

    Hi subnet192,

    In addition, you can try to use Microsoft Assessment and Planning toolkit (MAP) to discovery information about your Windows deployments and SQL Server instances, and automate the collection of inventory data about your database landscape. Please refer to this tutorial which might help.

    Best Regards,
    Amelia


    If the 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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.