Skip to content

Commit

Permalink
updated logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jformacek committed Feb 14, 2025
1 parent b02383d commit d2e5092
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Tasks/Manage-AutomationAccount/Manage-AutomationAccount.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ switch ($serviceConnection.auth.scheme) {

Write-Verbose "Getting access token for service connection"
$vstsEndpoint = Get-VstsEndpoint -Name SystemVssConnection -Require
vrite-verbose "VSTS endpoint: `n$($vstsEndpoint | ConvertTo-Json -Depth 99 | Out-String)"
$vstsAccessToken = $vstsEndpoint.auth.parameters.AccessToken
$servicePrincipalId = $vstsEndpoint.auth.parameters.serviceprincipalid
$tenantId = $vstsEndpoint.auth.parameters.tenantid
Expand All @@ -130,7 +131,7 @@ switch ($serviceConnection.auth.scheme) {
$oidcToken = $response.oidcToken
$assertion = $oidcToken

Write-verbose "Initialůizing AAD factory with assertion $assertion for tenant $tenantId"
Write-verbose "Initializing AAD factory with assertion $assertion for tenant $tenantId"
Initialize-AadAuthenticationFactory `
-servicePrincipalId $servicePrincipalId `
-assertion $assertion `
Expand Down
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "Manage-AutomationAccount",
"name": "Manage-AutomationAccount",
"version": "1.9.125",
"version": "1.9.126",
"publisher": "GreyCorbelSolutions",
"targets": [
{
Expand Down

0 comments on commit d2e5092

Please sign in to comment.