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 | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 128K Reputation points MVP Volunteer Moderator
    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 14,011 Reputation points Microsoft External Staff
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.