44#  https://aka.ms/yaml
55
66pool :
7-   vmImage : ' vs2017-win2016 ' 
7+   vmImage : ' windows-latest '   # requires windows for azure authentication 
88
99schedules :
1010  - cron : 1 16 * * * 
@@ -35,11 +35,10 @@ steps:
3535    AZURE_DEVOPS_EXT_PAT : $(tSQLtCIAzureCLIPatToken)  
3636    # # black magic: this token ^^^^ is required to make "az pipelines runs show" work below
3737  inputs :
38-     azureSubscription : ' tSQLt CI Subscription(58c04a99-5b92-410c-9e41-10262f68ca80) ' 
38+     azureSubscription : ' tSQLt CI - Nightly Cleanup - Service Connection ' 
3939    scriptType : ' ps' 
4040    scriptLocation : ' inlineScript' 
4141    inlineScript : | 
42-        
4342      ##Functions 
4443      $GetAll_tSQLtCI_RGs = { 
4544        param(); 
@@ -141,7 +140,7 @@ steps:
141140task : AzurePowerShell@4 
142141  name : print_stuff 
143142  inputs :
144-     azureSubscription : ' tSQLt CI Subscription(58c04a99-5b92-410c-9e41-10262f68ca80) ' 
143+     azureSubscription : ' tSQLt CI - Nightly Cleanup - Service Connection ' 
145144    azurePowerShellVersion : ' LatestVersion' 
146145    failOnStandardError : True 
147146    ScriptType : ' InlineScript' 
@@ -159,7 +158,7 @@ steps:
159158  condition : succeeded() 
160159  name : Delete_RGs 
161160  inputs :
162-     azureSubscription : ' tSQLt CI Subscription(58c04a99-5b92-410c-9e41-10262f68ca80) ' 
161+     azureSubscription : ' tSQLt CI - Nightly Cleanup - Service Connection ' 
163162    azurePowerShellVersion : ' LatestVersion' 
164163    FailOnStandardError : true 
165164    ScriptType : ' InlineScript' 
@@ -225,7 +224,7 @@ steps:
225224  name : AssertDeleteSuccessful 
226225  condition : always() 
227226  inputs :
228-     azureSubscription : ' tSQLt CI Subscription(58c04a99-5b92-410c-9e41-10262f68ca80) ' 
227+     azureSubscription : ' tSQLt CI - Nightly Cleanup - Service Connection ' 
229228    azurePowerShellVersion : ' LatestVersion' 
230229    failOnStandardError : True 
231230    ScriptType : ' InlineScript' 
0 commit comments