Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Does the 'CLR Assembly Permission Set' of SQL Server Hardening affect Dynamics CRM functionality?

(0) ShareShare
ReportReport
Posted on by 14
Hi frends,
 
Does the 'chapter 6.2 CLR Assembly Permission Set' of 'CIS_Microsoft_SQL_Server_2016_Benchmark_v1.3.0.pdf' SQL Server Hardening affect Dynamics CRM functionality? 
How to deal with the 'MSCRMSqlClr' assembly is 'UNSAFE_ACCESS' in the sql server?
 
Has anyone ever done this?
 
It is my pleasure if you give any suggestion, thanks in advance guys.
 
 
 
Cause
the SQL Server hardening is necessary, so when i follow the pdf to run the sql srcipt it return /MSCRMSqlClr    UNSAFE_ACCESS/,  
RunReturned
USE [CRM_Database_of_org_01];
GO
SELECT 
    name,
    permission_set_desc
FROM 
    sys.assemblies
WHERE 
    is_user_defined = 1;
MSCRMSqlClr    UNSAFE_ACCESS
 
i am afread that i have to follow the chapter 6.2 of the 'CIS_Microsoft_SQL_Server_2016_Benchmark_v1.3.0.pdf' to run another sql script to alter the 'permission_set' to 'SAFE' of the 'MSCRMSqlClr' assembly.
 
below is the screenshot of the chapter 6.2 of the 'CIS_Microsoft_SQL_Server_2016_Benchmark_v1.3.0.pdf':
/a
  • Suggested answer
    Does the 'CLR Assembly Permission Set' of SQL Server Hardening affect Dynamics CRM functionality?
    Not an easy answer i guess, since there is no much public documentation about this assembly from CRM.
     
    The only context is this documentation:
     
    If we try to find v9.0 / v9.1 documentation, the CLR section doesnt exist anymore, meaning v8.2 does uses this assembly, while v9.0/9.1 doesn't (confirmed).
    So if you are using v9, i would say you are probably fine.

    Without much confidence, but just my 2 cents.
     
    Pedro Freitas
    Dynamics 365 Support Escalation Engineer
  • Edward TsDS Profile Picture
    Edward TsDS 14 on at
    Does the 'CLR Assembly Permission Set' of SQL Server Hardening affect Dynamics CRM functionality?
    I follow the pdf to run the sql script, then i do a simple test in the CRM, no issue for now, so i decide to keep it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,684 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,414 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans