This commit is contained in:
Louis Wu 2024-08-07 11:13:35 -07:00
Родитель 128a50e211
Коммит c3ec5972c3
8 изменённых файлов: 17 добавлений и 17 удалений

Просмотреть файл

@ -73,7 +73,7 @@ gulp.task('move_vsts_task_sdk', gulp.series('get_vsts_task_sdk', function() {
}));
gulp.task('get_ado_azurehelper_sdk', function(gulpCallBack) {
child = spawn("powershell.exe", ["Save-Module -Name AdoAzureHelper -Path ./lib/ps_modules -RequiredVersion 1.0.11"]);
child = spawn("powershell.exe", ["Save-Module -Name AdoAzureHelper -Path ./lib/ps_modules -RequiredVersion 1.0.12"]);
child.stdout.on("data",function(data){
console.log(data.toString());

Просмотреть файл

@ -46,14 +46,14 @@ try
Set-StoreBrokerSettings -LogPath $logPath -NugetPath $NugetPath -DisableTelemetry $disableTelemetry -Verbose:$useVerbose
# Getting AAD accessToken that would be later used by all the StoreBroker commands to access Partner Center APIs.
Initialize-AdoAzureHelper -msalLibraryPath $NugetPath -adoApiLibraryPath $NugetPath -openSSLExePath "$OpenSSLPath\openssl.exe"
Initialize-AdoAzureHelper -msalLibraryDir $NugetPath -adoApiLibraryDir $NugetPath -openSSLExeDir "$OpenSSLPath\openssl.exe"
$resource = "https://api.partner.microsoft.com"
$sendX5C = $false
$sendX5C = $true
$useMSAL = $true
if ($endPointObj.Auth.Parameters.AuthenticationType -eq 'SPNCertificate')
if (($endPointObj.Auth.Scheme -eq 'WorkloadIdentityFederation') -or ($endPointObj.Auth.Parameters.AuthenticationType -ne 'SPNCertificate'))
{
$sendX5C = $true
$sendX5C = $false
}
$aadAccessToken = (Get-AzureRMAccessToken $endPointObj $endpointId $resource $sendX5C $useMSAL).access_token

Просмотреть файл

@ -16,7 +16,7 @@
"version": {
"Major": "3",
"Minor": "0",
"Patch": "22"
"Patch": "26"
},
"minimumAgentVersion": "2.117.0",
"instanceNameFormat": "Package $(appName)",

Просмотреть файл

@ -80,14 +80,14 @@ try
Set-StoreBrokerSettings -LogPath $logPath -NugetPath $NugetPath -DisableTelemetry $disableTelemetry -Verbose:$useVerbose
# Getting AAD accessToken that would be later used by all the StoreBroker commands to access Partner Center APIs.
Initialize-AdoAzureHelper -msalLibraryPath $NugetPath -adoApiLibraryPath $NugetPath -openSSLExePath "$OpenSSLPath\openssl.exe"
Initialize-AdoAzureHelper -msalLibraryDir $NugetPath -adoApiLibraryDir $NugetPath -openSSLExeDir "$OpenSSLPath\openssl.exe"
$resource = "https://api.partner.microsoft.com"
$sendX5C = $false
$sendX5C = $true
$useMSAL = $true
if ($endPointObj.Auth.Parameters.AuthenticationType -eq 'SPNCertificate')
if (($endPointObj.Auth.Scheme -eq 'WorkloadIdentityFederation') -or ($endPointObj.Auth.Parameters.AuthenticationType -ne 'SPNCertificate'))
{
$sendX5C = $true
$sendX5C = $false
}
$aadAccessToken = (Get-AzureRMAccessToken $endPointObj $endpointId $resource $sendX5C $useMSAL).access_token

Просмотреть файл

@ -16,7 +16,7 @@
"version": {
"Major": "3",
"Minor": "0",
"Patch": "17"
"Patch": "22"
},
"minimumAgentVersion": "2.117.0",
"instanceNameFormat": "Publish $(appName)",

Просмотреть файл

@ -49,14 +49,14 @@ try
Set-StoreBrokerSettings -LogPath $logPath -NugetPath $NugetPath -DisableTelemetry $disableTelemetry -Verbose:$useVerbose
# Getting AAD accessToken that would be later used by all the StoreBroker commands to access Partner Center APIs.
Initialize-AdoAzureHelper -msalLibraryPath $NugetPath -adoApiLibraryPath $NugetPath -openSSLExePath "$OpenSSLPath\openssl.exe"
Initialize-AdoAzureHelper -msalLibraryDir $NugetPath -adoApiLibraryDir $NugetPath -openSSLExeDir "$OpenSSLPath\openssl.exe"
$resource = "https://api.partner.microsoft.com"
$sendX5C = $false
$sendX5C = $true
$useMSAL = $true
if ($endPointObj.Auth.Parameters.AuthenticationType -eq 'SPNCertificate')
if (($endPointObj.Auth.Scheme -eq 'WorkloadIdentityFederation') -or ($endPointObj.Auth.Parameters.AuthenticationType -ne 'SPNCertificate'))
{
$sendX5C = $true
$sendX5C = $false
}
$aadAccessToken = (Get-AzureRMAccessToken $endPointObj $endpointId $resource $sendX5C $useMSAL).access_token

Просмотреть файл

@ -16,7 +16,7 @@
"version": {
"Major": "3",
"Minor": "0",
"Patch": "16"
"Patch": "20"
},
"minimumAgentVersion": "2.117.0",
"instanceNameFormat": "Rollout $(appName)",

Просмотреть файл

@ -1,7 +1,7 @@
{
"manifestVersion": 1,
"id": "windows-store-publish",
"version": "2.4.24",
"version": "2.4.30",
"name": "Windows Store",
"publisher": "ms-rdx-mro",
"description": "Publish your applications on the Windows Store.",