Deploy Microsoft Connected Cache caching software to a Windows host machine

This article describes how to deploy Microsoft Connected Cache for Enterprise and Education caching software to a Windows host machine.

Deploying Connected Cache to a Windows host machine requires designating a Group Managed Service Account (gMSA) or a local user account as the Connected Cache runtime account. This prevents tampering with the Connected Cache container and the cached content on the host machine.

Before deploying Connected Cache to a Windows host machine, ensure that the host machine meets all requirements, and that you have created and configured your Connected Cache Azure resource.

Steps to deploy Connected Cache node to Windows

  1. Within the Azure portal, navigate to the Provisioning tab of your cache node and copy the provisioning command.

  2. Download the provisioning package using the option at the top of the Cache Node Configuration page and extract the archive onto the host machine.

    Note

    • The provisioning package should be extracted to a directory that isn't synced to OneDrive, as the sychronization process will interfere with the installation. It is recommended to extract the provisioning package to the root directory of the host machine (e.g. C:\mccInstaller)
  3. Open a PowerShell window as administrator on the host machine, then change directory to the extracted provisioning package.

    Note

    • If you are deploying your cache node to a Windows host machine that uses a TLS-inspecting proxy (e.g. ZScaler), ensure that you've configured the proxy settings for your cache node, then place the proxy certificate file (.pem) in the extracted provisioning package directory and add -proxyTlsCertificatePemFileName "mycert.pem" to the provisioning command.
  4. Set the Execution Policy to Unrestricted to allow the provisioning scripts to run.

  5. Create a $User PowerShell variable containing the username of the account you intend to designate as the Connected Cache runtime account.

    For gMSAs, the $User PowerShell variable should be formatted as "Domain\Username$". For local user accounts, $User PowerShell variable should be formatted as "LocalMachineName\Username".

    If you're using a local user account as the Connected Cache runtime account, you'll also need to create a PSCredential Object named $myLocalAccountCredential.

    Note

    • You'll need to apply a local security policy to permit the local user account to Log on as a batch job.
  6. Run the provisioning command on the host machine.

Steps to point Windows client devices at Connected Cache node

Once you have successfully deployed Connected Cache to your Windows host machine, you'll need to configure your Windows client devices to request Microsoft content from the Connected Cache node.

You can do this by setting the DOCacheHost or DOCacheHostSource policies via Intune.

Next step