Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Security enhancements: User session and access management

Posted on by Microsoft Employee

Hello, 

I Have a problem with Enabling, Security enhancements: User session and access management on my Dynamics CRM 2016 (8.1.1.1005) (DB 8.1.1.1005)

I fallow this manual https://technet.microsoft.com/en-us/library/mt825191.aspx?f=255&MSPPError=-2147217396

I download and installed all required software.

But Scripts:

  1. Enable session timeout:

    Run SetAdvancedSettings.ps1 -ConfigurationEntityName ServerSettings -SettingName AllowCustomSessionDuration -SettingValue true

  2. Enable inactivity timeout:

    Run SetAdvancedSettings.ps1 -ConfigurationEntityName ServerSettings -SettingName AllowCustomInactivityDuration -SettingValue true

Are Giving me errors:

Get-CrmAdvancedSetting : Source : mscorlib
Method : HandleReturnMessage
Date : 1:28:21 PM
Time : 8/20/2018
Error : Message: The Deployment Service cannot process the request because one or more validation checks failed.
ErrorCode: -2147167645
Stack Trace :
======================================================================================================================
Inner Exception Level 1 :
==DeploymentServiceFault Info==========================================================================================
Error : The Deployment Service cannot process the request because one or more validation checks failed.
Time : 8/20/2018 1:28:21 PM
ErrorCode : -2147167645
Date : 1:28:21 PM
Time : 8/20/2018
Error Items:
VerifyRequestedAtributesAreReadable raising error : One or more of the specified attributes are not valid for retrieve:
AllowCustomSessionDuration
VerifyConfigurationEntityIsNotAmbiquous raising error : Column 'AllowCustomSessionDuration' does not exist on table ServerSettings
======================================================================================================================
At line:1 char:1
+ Get-CrmAdvancedSetting -ConfigurationEntityName ServerSettings -Setti ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Crm.P...AdvancedSetting:GetCrmAdvancedSetting) [Get-CrmAdvancedSetting], FaultException
`1
+ FullyQualifiedErrorId : CRM Deployment Cmdlet Error,Microsoft.Crm.PowerShell.GetCrmAdvancedSetting

I found that such entry AllowCustomSessionDuration in ServerSetingsProperties in MSCRM_CONFIG does not Exist. But from this Manual should. 

Additionally i MUST remain on this Version.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Security enhancements: User session and access management

    Hello Ben,

    I Have Not. on Dynamics CRM 2016 v8.2 all is working without any additional Contact to microsoft..

    Before I write to Microsoft I wanted to write on a Forum.

    Many CRM Users came across this forum. And I was thinking that resolution of this problem that may appear here should help different people to solve their problems on this subject.

    Thank you for your time.

  • Ben Thompson Profile Picture
    Ben Thompson 6,350 on at
    RE: Security enhancements: User session and access management

    The document explicitly states in 2 places that the functionality is only available via Microsoft Support. Have you spoken to them and have their supplied you with the documentation / hotfix that I suspect they will need to provide for this to work?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans