Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Initialize-AzSubscription function #18289

Merged
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
2b94d16
fix Initialize-AzSubscription
DenisRumyantsev May 16, 2023
a0761d8
Merge branch 'master' into users/DenisRumyantsev/fix-initialize-az-su…
v-nagarajku May 16, 2023
abc2659
Merge branch 'master' into users/DenisRumyantsev/fix-initialize-az-su…
v-nagarajku May 16, 2023
9b13a0b
Merge branch 'master' into users/DenisRumyantsev/fix-initialize-az-su…
v-nagarajku May 18, 2023
e7197ca
update task version
DenisRumyantsev Jun 1, 2023
4d9fa03
Merge branch 'master' into users/DenisRumyantsev/fix-initialize-az-su…
v-nagarajku Jun 6, 2023
5d11931
Merge branch 'master' into users/DenisRumyantsev/fix-initialize-az-su…
v-nagarajku Jun 6, 2023
080688a
Merge branch 'master' into users/DenisRumyantsev/fix-initialize-az-su…
v-nagarajku Jun 7, 2023
007cf96
update task version
DenisRumyantsev Jun 21, 2023
1507c77
update task version for other tasks
DenisRumyantsev Jun 21, 2023
2714d55
Merge branch 'master' into users/DenisRumyantsev/fix-initialize-az-su…
DenisRumyantsev Jun 21, 2023
424e1cc
Merge branch 'master' into users/DenisRumyantsev/fix-initialize-az-su…
DenisRumyantsev Jun 21, 2023
98bfefc
Merge branch 'master' into users/DenisRumyantsev/fix-initialize-az-su…
DenisRumyantsev Jun 21, 2023
5288a21
Merge branch 'users/DenisRumyantsev/fix-initialize-az-subscription' o…
DenisRumyantsev Jun 21, 2023
2de0d5f
update task version for AzureFileCopy V4 V5 tasks
DenisRumyantsev Jun 21, 2023
71428c5
Merge branch 'master' into users/DenisRumyantsev/fix-initialize-az-su…
DenisRumyantsev Jun 21, 2023
e8a2c68
Merge branch 'master' into users/DenisRumyantsev/fix-initialize-az-su…
v-nagarajku Jun 23, 2023
f486b73
Merge branch 'master' into users/DenisRumyantsev/fix-initialize-az-su…
DenisRumyantsev Jun 26, 2023
b19b665
update task version for AzurePowerShellV5 task
DenisRumyantsev Jun 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tasks/AzureFileCopyV3/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 3,
"Minor": 224,
"Patch": 0
"Patch": 1
},
"demands": [
"azureps"
Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureFileCopyV3/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 3,
"Minor": 224,
"Patch": 0
"Patch": 1
},
"demands": [
"azureps"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ function Initialize-AzSubscription {
$null = Clear-AzContext -Scope CurrentUser -Force -ErrorAction SilentlyContinue
Write-Host "##[command]Clear-AzContext -Scope Process"
$null = Clear-AzContext -Scope Process
Write-Host "##[command]Clear-AzConfig -DefaultSubscriptionForLogin"
$null = Clear-AzConfig -DefaultSubscriptionForLogin

if ($Endpoint.Auth.Parameters.AuthenticationType -eq 'SPNCertificate') {
$servicePrincipalCertificate = Add-CertificateForAz -Endpoint $Endpoint

Expand Down