Forum Discussion

scottu1615's avatar
scottu1615
Copper Contributor
Mar 27, 2025

Waiting for MCC container to become available

Hi,

 

Trying to setup Intune Connected Cache and getting stuck on MCC Install Waiting for MCC container to become available.

running on Server 2022 VM with nested virtulization turned on and using a groupMSA account. I have set this up fine on one of our other domains\tenancy.

Any ideas? Tried starting from scratch several times and not sure whats stopping it.

Thanks

Scott

7 Replies

  • I'm experiencing this issue too. Unfortunately, we are also using transparent proxying. It's going to a load balancer and there are two real appliances behind that. The engineers who set them up are using independent certificates. At least, we'd need to offer the MCC deployment process two certificates. Is this possible?

    Can we provide the Enterprise intermediates or Root CA instead?

     

    I'm assuming this fatal error is clear confirmation that we are suffering from the decryption issue?

     

     

    I've tried adding it to a bypass for decryption and authentication, as authentication is another frequent issue with transparent proxies. It didn't appear to improve things. So, I'm not sure if the implementation on the proxy is correct or something else is going on.

     

    When I tried to re-run the MCC deploy script, it now complains that there isn't enough space because it's not smart enough to check for an unfinished deployment.

     

    • AndrewMcN_SFRS's avatar
      AndrewMcN_SFRS
      Brass Contributor

      I tried feeding it a cert chain of our intermediates and root, but it didn't work. This would have been ideal. Usually works with things like Tomcat.

      Trying the decryption bypass again using a different subnet notation within the Cisco SWA involved.

      Failing that, I'm going to try a single file with both proxy certs in it. Failing that, I'll try just one and hope for the best.

      • AndrewMcN_SFRS's avatar
        AndrewMcN_SFRS
        Brass Contributor

        I think the decryption bypass just worked. Unfortunately, the MCC deployment script crashed and burned thereafter...

        [08/03/2025 18:41:40] Error validating WSL distribution for 'Ubuntu-24.04-Mcc' as 'domain\gMSA$': You cannot call a method on a null-valued expr
        ession.
        [08/03/2025 18:41:40] ErrorRecord: You cannot call a method on a null-valued expression.
        At C:\Program Files\WindowsApps\Microsoft.DeliveryOptimization_1.0.24.0_neutral__8wekyb3d8bbwe\deliveryoptimization-cli\deploymcconwsl.ps1:362 
        char:5
        + ...             $checkResult = (Get-Content $resultFilePath -Raw -ErrorAc ...
        +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : InvalidOperation: (:) [], ParentContainsErrorRecordException
            + FullyQualifiedErrorId : InvokeMethodOnNull
         

        [08/03/2025 18:41:40] Task Name was: WSLDistroCheck_1986275692
        [08/03/2025 18:41:40] Task State on error: Ready, Last Result: 
        [08/03/2025 18:41:41] Cleaning up temporary task directory: d:\mccwsl01\TempWslCheck_a5748d4d-40c6-4bde-b62a-8ea8fc9a0629
        [08/03/2025 18:41:41] ==============================================================
        [08/03/2025 18:41:41] TLS INFRASTRUCTURE SETUP RESULT DETAILS:
        [08/03/2025 18:41:41] ==============================================================
        [08/03/2025 18:41:41] WSLDistroFound: False
        [08/03/2025 18:41:41] CertificatesDirectoryCreated: False
        [08/03/2025 18:41:41] WSLSymlinkCreated: False
        [08/03/2025 18:41:41] ConfigFileCreated: False
        [08/03/2025 18:41:41] HasLocalAccountCredential: False
        [08/03/2025 18:41:41] ErrorMessage: Error validating WSL distribution for 'Ubuntu-24.04-Mcc' as 'SFRS\gMSAMCC$': You cannot call a method on a nu
        ll-valued expression.
        [08/03/2025 18:41:41] ErrorDetails Count: 2
        [08/03/2025 18:41:41]   ErrorDetail[0]: ErrorRecord: You cannot call a method on a null-valued expression.
        At C:\Program Files\WindowsApps\Microsoft.DeliveryOptimization_1.0.24.0_neutral__8wekyb3d8bbwe\deliveryoptimization-cli\deploymcconwsl.ps1:362 
        char:5
        + ...             $checkResult = (Get-Content $resultFilePath -Raw -ErrorAc ...
        +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : InvalidOperation: (:) [], ParentContainsErrorRecordException
            + FullyQualifiedErrorId : InvokeMethodOnNull
         

        [08/03/2025 18:41:41]   ErrorDetail[1]: Task State on error: Ready, Last Result: 
        [08/03/2025 18:41:41] SUCCESS CALCULATION BREAKDOWN:
        [08/03/2025 18:41:41] 
        [08/03/2025 18:41:41]   Has Local Credentials = False
        [08/03/2025 18:41:41]   WSLDistroFound = False
        [08/03/2025 18:41:41]   CertificatesDirectoryCreated = False
        [08/03/2025 18:41:41]   WSLSymlinkCreated = False
        [08/03/2025 18:41:41]   ConfigFileCreated = False
        [08/03/2025 18:41:41] FINAL SUCCESS RESULT: False
        [08/03/2025 18:41:41] ==============================================================
        [08/03/2025 18:41:41] TLS infrastructure setup failed: Error validating WSL distribution for 'Ubuntu-24.04-Mcc' as 'domain\gMSA$': You cannot ca
        ll a method on a null-valued expression.
        [08/03/2025 18:41:41]   Detail: ErrorRecord: You cannot call a method on a null-valued expression.
        At C:\Program Files\WindowsApps\Microsoft.DeliveryOptimization_1.0.24.0_neutral__8wekyb3d8bbwe\deliveryoptimization-cli\deploymcconwsl.ps1:362 
        char:5
        + ...             $checkResult = (Get-Content $resultFilePath -Raw -ErrorAc ...
        +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : InvalidOperation: (:) [], ParentContainsErrorRecordException
            + FullyQualifiedErrorId : InvokeMethodOnNull
         

        [08/03/2025 18:41:41]   Detail: Task State on error: Ready, Last Result: 
        [08/03/2025 18:41:41] Unable to successfully validate that MCC was installed, retrying
        [08/03/2025 18:41:41] Unable to successfully validate that MCC was installed, retrying (# of retries remaining: 5)
        [08/03/2025 18:41:41] Unable to successfully validate that MCC was installed, retrying (# of retries remaining: 4)
        [08/03/2025 18:41:41] Unable to successfully validate that MCC was installed, retrying (# of retries remaining: 3)
        [08/03/2025 18:41:41] Unable to successfully validate that MCC was installed, retrying (# of retries remaining: 2)
        [08/03/2025 18:41:41] Unable to successfully validate that MCC was installed, retrying (# of retries remaining: 1)
        [08/03/2025 18:41:41] Setting LastCompletedInstallStep 
        [08/03/2025 18:41:41] Setting InvocationExitCode 
        [08/03/2025 18:41:41] Unregistered base Ubuntu image version: Ubuntu-24.04-Mcc after successful install of MCC
        [08/03/2025 18:41:41] Setting InvocationEndTime 
        [08/03/2025 18:41:41] Setting InvocationState 
        [08/03/2025 18:41:41] Installer return code 500


        I did notice that after see the VHDX, querying wsl for its list of distributions returned null. What's happening now??? Should I deploy Ubuntu distro myself??? The instructions said to use the "no distro" option.

  • For future reference, if you are deploying your cache node to a host machine that is behind a TLS/SSL-inspecting proxy (e.g. ZScaler), ensure that you've configured the proxy settings for your cache node, then place the proxy's certificate file (.pem) in the extracted provisioning package directory and add -proxyTlsCertificatePemFileName "mycert.pem" to the provisioning command. This will configure the MCC to successfully operate behind an SSL-inspecting proxy.

    More information can be found here: https://learn.microsoft.com/en-us/windows/deployment/do/mcc-ent-deploy-to-windows?tabs=portal#steps-to-deploy-connected-cache-node-to-windows 

    • scottu1615's avatar
      scottu1615
      Copper Contributor

      Yes it was the firewall doing SSL inspection. Removed the SSL inspection and it worked.

Resources