This is a scheduled windows-2016 brownout

Julien Laffont 1 Reputation point
2022-02-14T18:29:42.75+00:00

Hey everybody !

I am facing an issue on my Azure pipelines since today.

When I try to make a deployment, I have got this issue for the release pipeline :

This is a scheduled windows-2016 brownout. The windows-2016 environment is deprecated and will be removed on March 15, 2022. For more details, see https://github.com/actions/virtual-environments/issues/4312

I understand that I should update this windows pipeline version but... Where should I do this ?

I can see that the Agent specification is vs2017-win2016 :

thumbnail image 1 of blog post titled This is a scheduled windows-2016 brownout

I cannot find anywhere to change it.

This is a Hosted agents provided by Azure, at the 2.198.3 version.

I did not make this pipeline, and I do not understand everything, so I search 2016 and 2017 in my YAML files and I found this ?

{
            "name": "ConnectAKStoACR-aaaaaa-aaaaaa-aaaa-aaaa-aaaaaa",
            "type": "Microsoft.Resources/deployments",
            "apiVersion": "2017-05-10",
            "resourceGroup": "[parameters('acrResourceGroup')]",
            "dependsOn": [
                "[concat('Microsoft.ContainerService/managedClusters/', parameters('resourceName'))]"
            ],
            "properties": {
                "mode": "Incremental",
                "template": {
                    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
                    "contentVersion": "1.0.0.0",
                    "resources": [
                        {
                            "apiVersion": "2018-09-01-preview",
                            "type": "Microsoft.ContainerRegistry/registries/providers/roleAssignments",
                            "name": "[concat(parameters('acrName'), '/Microsoft.Authorization/', parameters('guidValue'))]",
                            "properties": {
                                "principalId": "[reference(parameters('resourceName'), '2020-09-01').identityProfile.kubeletidentity.objectId]",
                                "principalType": "ServicePrincipal",
                                "roleDefinitionId": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/', 'aaaaaa-aaaaaa-aaaaaa-aaaaaa')]",
                                "scope": "[resourceId(parameters('acrResourceGroup'),'Microsoft.ContainerRegistry/registries/', parameters('acrName'))]"
                            }
                        }
                    ]
                }
            }
        }

(I wrote aaa-aaaa-aaaa to not exposed my ids)

I searched more about this package, ConnectAKStoACR but I cannot find any versions list :(

Does anybody know how to update my agents ? Or which keyword should I search in my YAML files ?

Thank you for your help.

I duplicated my post from https://techcommunity.microsoft.com/t5/azure-devops/this-is-a-scheduled-windows-2016-brownout/m-p/3164390 , sorry for this, but I did not understand the difference between both communities, I am just looking for an answer ><

Yours faithfully

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,196 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2022-02-14T19:37:26.077+00:00

    Devops / TFS is not currently supported here on Q&A. The product group for Azure DevOps / TFS actively monitors questions over at
    https://developercommunity.visualstudio.com/report?space=21&entry=problem
    https://developercommunity.visualstudio.com/report?space=22&entry=problem

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments