none
SPOL Management Shell "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider"

    Question

  • Hi all,

    I am running into an issue with SPOL Management Shell.  Installs fine but when starting it shows the error culminating with "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider".  I am running Win10 and have tried both 32 and 64-bit versions with the same error.  Digging into the Event Log, I see a couple different errors:

    Error Message = Errors occurred while loading the format data file: 
    C:\Program Files (x86)\SharePoint Online Management Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.Online.SharePoint.PowerShell.ps1xml, , C:\Program Files (x86)\SharePoint Online Management Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.Online.SharePoint.PowerShell.ps1xml: The file was skipped because of the following validation exception: File C:\Program Files (x86)\SharePoint Online Management Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.Online.SharePoint.PowerShell.ps1xml cannot be loaded. A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider..

    Fully Qualified Error ID = ErrorsUpdatingFormats



    Context:
            Severity = Warning
            Host Name = ConsoleHost
            Host Version = 5.1.17134.48
            Host ID = 70551f4f-00c2-4e25-9cd6-eb2fb991b63e
            Host Application = C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -NoExit -Command Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChecking;
            Engine Version = 5.1.17134.48
            Runspace ID = 50d5f29b-e40a-4733-994c-5191b4f719fa
            Pipeline ID = 2
            Command Name = 
            Command Type = 
            Script Name = 
            Command Path = 
            Sequence Number = 18
            User = DESKTOP-D6N7ADM\tl069
            Connected User = 
            Shell ID = Microsoft.PowerShell

    Error Message = Errors occurred while loading the format data file: 
    C:\Program Files (x86)\SharePoint Online Management Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.Online.SharePoint.PowerShell.ps1xml, , C:\Program Files (x86)\SharePoint Online Management Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.Online.SharePoint.PowerShell.ps1xml: The file was skipped because of the following validation exception: File C:\Program Files (x86)\SharePoint Online Management Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.Online.SharePoint.PowerShell.ps1xml cannot be loaded. A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider..

    Fully Qualified Error ID = FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand


    Context:
            Severity = Warning
            Host Name = ConsoleHost
            Host Version = 5.1.17134.48
            Host ID = 70551f4f-00c2-4e25-9cd6-eb2fb991b63e
            Host Application = C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -NoExit -Command Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChecking;
            Engine Version = 5.1.17134.48
            Runspace ID = 50d5f29b-e40a-4733-994c-5191b4f719fa
            Pipeline ID = 2
            Command Name = Import-Module
            Command Type = Cmdlet
            Script Name = 
            Command Path = 
            Sequence Number = 19
            User = DESKTOP-D6N7ADM\tl069
            Connected User = 
            Shell ID = Microsoft.PowerShell


    User Data:

    But then strangely I also get a Bitlocker error 10-15 seconds later.

    Error Message = This drive is locked by BitLocker Drive Encryption. You must unlock this drive from Control Panel.


    Provider name = Microsoft.PowerShell.Core\FileSystem


    Context:
            Severity = Warning
            Host Name = ConsoleHost
            Host Version = 5.1.17134.48
            Host ID = ff51c8ad-3318-4ada-97c7-7d497d50a845
            Host Application = C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -NoExit -Command Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChecking;
            Engine Version = 
            Runspace ID = 
            Pipeline ID = 
            Command Name = 
            Command Type = 
            Script Name = 
            Command Path = 
            Sequence Number = 14
            User = DESKTOP-D6N7ADM\tl069
            Connected User = 
            Shell ID = Microsoft.PowerShell


    User Data:

    I assume, since I run Powershell fine with Bitlocker on, that SPOL Management Shell shouldn't be tripping over it.  Has anyone else seen this?  

    Thanks,

    Tim

    Thursday, May 17, 2018 10:43 PM