You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/sap/automation/configure-devops.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Open PowerShell ISE and copy the following script and update the parameters to m
44
44
az login --output none --only-show-errors --scope https://graph.microsoft.com//.default
45
45
}
46
46
else {
47
-
az login --output none --tenant $ARM_TENANT_ID --only-show-errors --scope https://graph.microsoft.com//.default
47
+
az login --output none --tenant $Env:ARM_TENANT_ID --only-show-errors --scope https://graph.microsoft.com//.default
48
48
}
49
49
50
50
az config set extension.use_dynamic_install=yes_without_prompt --only-show-errors
@@ -55,7 +55,7 @@ Open PowerShell ISE and copy the following script and update the parameters to m
55
55
if ($differentTenant -eq 'y') {
56
56
$env:AZURE_DEVOPS_EXT_PAT = Read-Host "Please enter your Personal Access Token (PAT) with permissions to add new projects, manage agent pools to the Azure DevOps organization $Env:ADO_Organization"
57
57
try {
58
-
az devops login --organization $Env:ADO_Organization
58
+
az devops project list
59
59
}
60
60
catch {
61
61
$_
@@ -171,14 +171,16 @@ Open PowerShell ISE and copy the following script and update the parameters to m
171
171
New-Item -Path $sdaf_path -Type Directory
172
172
}
173
173
}
174
+
175
+
$branchName = "main"
174
176
175
177
Set-Location -Path $sdaf_path
176
178
177
179
if ( Test-Path "New-SDAFDevopsWorkloadZone.ps1") {
0 commit comments