Downloads of v 8.1.321:


Last Update:

30 Aug 2021

Package Maintainer(s):

Software Author(s):

  • Microsoft


foss cross-platfrom freeware cli

Service Fabric

This is not the latest version of Service Fabric available.

  • 1
  • 2
  • 3

8.1.321 | Updated: 30 Aug 2021



Downloads of v 8.1.321:



Software Author(s):

  • Microsoft

  • 1
  • 2
  • 3
Service Fabric 8.1.321

This is not the latest version of Service Fabric available.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Exemption:

this package fails automated testing due to a pending reboot caused by the dependencies


Scan Testing Successful:

No detections found in any package files


Deployment Method: Individual Install, Upgrade, & Uninstall

To install Service Fabric, run the following command from the command line or from PowerShell:


To upgrade Service Fabric, run the following command from the command line or from PowerShell:


To uninstall Service Fabric, run the following command from the command line or from PowerShell:


Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade service-fabric -y --source="'INTERNAL REPO URL'" --version="'8.1.321'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade service-fabric -y --source="'INTERNAL REPO URL'" --version="'8.1.321'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install service-fabric
    name: service-fabric
    version: '8.1.321'
    state: present

See docs at

chocolatey_package 'service-fabric' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '8.1.321'

See docs at

cChocoPackageInstaller service-fabric
    Name     = "service-fabric"
    Version  = "8.1.321"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'service-fabric':
  ensure   => '8.1.321',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 30 Aug 2021.


Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices and containers. Developers and administrators can avoid complex infrastructure problems and focus on implementing mission-critical, demanding workloads that are scalable, reliable, and manageable. Learn how to use Azure Service Fabric with our quickstarts, tutorials, and samples.

$ErrorActionPreference = 'Stop'

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  softwareName   = $env:ChocolateyPackageTitle
  fileType       = 'exe'
  url            = ''
  checksum       = 'ec208d3f9ccee7637ebec5a4babd5fdadbe0ec0902d4ccce5e2f9e6bb05e1ed1'
  checksumType   = 'sha256'
  silentArgs     = '/quiet /accepteula'
  validExitCodes = @(0)

# Running ServiceFabricLocalClusterManager prevents the update of FabricCommon.dll, causing the upgrade to fail.
$sflcm = Get-Process -Name ServiceFabricLocalClusterManager -ErrorAction SilentlyContinue
if (($sflcm | Measure-Object).Count -gt 0)
    $pids = $sflcm | Select-Object -ExpandProperty Id | Sort-Object
    Write-Verbose "Stopping Service Fabric Local Cluster Manager (process(es): $pids) to avoid problems during upgrade"
    $sflcm | Stop-Process -Force

Install-ChocolateyPackage @packageArgs

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Service Fabric 8.1.321 2207 Monday, August 30, 2021 Approved
Service Fabric 8.0.516 3453 Friday, May 28, 2021 Approved
Service Fabric 7.2.477 2353 Thursday, March 18, 2021 Approved
Service Fabric 7.2.445 948 Tuesday, January 19, 2021 Approved
Service Fabric 7.1.458 1276 Tuesday, October 20, 2020 Approved
Service Fabric 7.1.409 1871 Friday, May 1, 2020 Approved
Service Fabric 7.0.457 1053 Friday, January 17, 2020 Approved
Service Fabric 6.5.676 574 Friday, December 27, 2019 Approved
Service Fabric 6.4.664 157 Monday, December 2, 2019 Approved

This package has no dependencies.

Discussion for the Service Fabric Package

Ground Rules:

  • This discussion is only about Service Fabric and the Service Fabric package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Service Fabric, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus