Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

How User Power Shell in CRM Server?? - Create a New Key

Posted on by Microsoft Employee

Hello everybody!

I've asked somes post agos "How Configurate Email Sending with http web" and there was this two steps of answer:

  1. On the CRM server, create a new key called 'AllowCredentialsEntryViaNonSecureChannels' and set it to 1

  2. then, on the CRM Server, run this Powershell script:
    Add-PSSnapin Microsoft.Crm.PowerShell
    $setting = Get-CrmSetting ServerSideSyncEmailSettings
    $setting.AllowCredentialsEntryViaNonSecureChannels=$True
    Set-CrmSetting $setting
    Get-CrmSetting TraceSettings


    But I enter in PowerShell and it gave me an error, I've made a search about that and everyones has the same script....
    So, How I'ld use PowerShell to make that? Can Show with Photos?
    powershell.png





*This post is locked for comments

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: How User Power Shell in CRM Server?? - Create a New Key

    If your Add-PSSnapin command does not return a successful value, everything else will fail.

    Try to see why Add-PSSnapin Microsoft.Crm.PowerShell is not working for you.

    Take a look at the below link:

    msdn.microsoft.com/.../dn689040.aspx

    Hope this helps.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How User Power Shell in CRM Server?? - Create a New Key

    Oks, I'll go more specific:

    1) How can I set to "1" the "AllowCredentialsEntryViaNonSecureChannels".

    2) How I "enter" to PS with CRM server?

    3) Why I get these errors codes?

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans