azure-devops-extension-api 5.271.0 → 5.272.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/Alert/Alert.d.ts +7 -0
  2. package/Alert/AlertClient.d.ts +17 -0
  3. package/Alert/AlertClient.js +46 -0
  4. package/Alert/AlertClient.min.js +1 -1
  5. package/Gallery/GalleryClient.d.ts +1 -2
  6. package/Gallery/GalleryClient.js +2 -4
  7. package/Gallery/GalleryClient.min.js +1 -1
  8. package/Management/ManagementClient.d.ts +21 -0
  9. package/Management/ManagementClient.js +65 -1
  10. package/Management/ManagementClient.min.js +1 -1
  11. package/Pipelines/Pipelines.d.ts +1 -0
  12. package/ServiceHooks/ServiceHooks.d.ts +4 -0
  13. package/Tfvc/Tfvc.d.ts +43 -0
  14. package/Tfvc/Tfvc.js +46 -1
  15. package/Tfvc/Tfvc.min.js +1 -1
  16. package/_manifest/spdx_2.2/ESRPClientLogs0513191939658.json +1 -0
  17. package/_manifest/spdx_2.2/bsi.cose +0 -0
  18. package/_manifest/spdx_2.2/bsi.json +1 -1
  19. package/_manifest/spdx_2.2/manifest.cat +0 -0
  20. package/_manifest/spdx_2.2/manifest.spdx.cose +0 -0
  21. package/_manifest/spdx_2.2/manifest.spdx.json +1 -1
  22. package/_manifest/spdx_2.2/manifest.spdx.json.sha256 +1 -1
  23. package/_manifest/spdx_3.0/manifest.spdx.json +1 -1
  24. package/_manifest/spdx_3.0/manifest.spdx.json.sha256 +1 -1
  25. package/esm/Alert/AlertClient.js +42 -0
  26. package/esm/Alert/AlertClient.min.js +1 -1
  27. package/esm/Gallery/GalleryClient.js +2 -4
  28. package/esm/Gallery/GalleryClient.min.js +1 -1
  29. package/esm/Management/ManagementClient.js +57 -1
  30. package/esm/Management/ManagementClient.min.js +1 -1
  31. package/esm/Tfvc/Tfvc.js +45 -0
  32. package/esm/Tfvc/Tfvc.min.js +1 -1
  33. package/index.d.ts +72 -0
  34. package/package.json +1 -1
  35. package/_manifest/spdx_2.2/ESRPClientLogs0504231512019.json +0 -1
@@ -1 +1 @@
1
- e9b1cc0390e92185dbba0b1481642c2627c3429a603781f156f6c5559a523b51
1
+ e0db54c4ce7dd5a8c73acd520727332c555d84e9f9f5698da7b535802dd33f57
@@ -183,6 +183,25 @@ export class AlertRestClient extends RestClientBase {
183
183
  queryParams: queryValues
184
184
  });
185
185
  }
186
+ /**
187
+ * Create an autofix request for the specified alert.
188
+ *
189
+ * @param project - Project ID or project name
190
+ * @param alertId - The ID of the alert to create an autofix for.
191
+ * @param repository - The name or ID of the repository.
192
+ */
193
+ async createAutofixRequest(project, alertId, repository) {
194
+ return this.beginRequest({
195
+ apiVersion: "7.2-preview.1",
196
+ method: "POST",
197
+ routeTemplate: "{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}/Autofix",
198
+ routeValues: {
199
+ project: project,
200
+ alertId: alertId,
201
+ repository: repository
202
+ }
203
+ });
204
+ }
186
205
  /**
187
206
  * Upload a SARIF to GitHub Code Scanning via a GitOps app.
188
207
  *
@@ -363,6 +382,29 @@ export class AlertRestClient extends RestClientBase {
363
382
  }
364
383
  });
365
384
  }
385
+ /**
386
+ * Export alerts as a single SARIF file
387
+ *
388
+ * @param project - Project ID or project name
389
+ * @param repository - The name or ID of a repository
390
+ * @param alertIds - List of alert IDs to export
391
+ * @param branchName - The branch name of the target alerts. If not specified, the default branch will be used.
392
+ */
393
+ async exportSarif(project, repository, alertIds, branchName) {
394
+ const queryValues = {
395
+ alertIds: alertIds,
396
+ branchName: branchName
397
+ };
398
+ return this.beginRequest({
399
+ apiVersion: "7.2-preview.1",
400
+ routeTemplate: "{project}/_apis/Alert/repositories/{repository}/sarifs",
401
+ routeValues: {
402
+ project: project,
403
+ repository: repository
404
+ },
405
+ queryParams: queryValues
406
+ });
407
+ }
366
408
  /**
367
409
  * Upload a Sarif containing security alerts
368
410
  *
@@ -1 +1 @@
1
- import{RestClientBase}from"../Common/RestClientBase";import{deserializeVssJsonObject}from"../Common/Util/Serialization";export class AlertRestClient extends RestClientBase{constructor(e){super(e)}async getAlert(e,t,r,s,o){const i={ref:s,expand:o};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}",routeValues:{project:e,alertId:t,repository:r},queryParams:i})}async getAlerts(e,t,r,s,o,i,a){const p={top:r,orderBy:s,criteria:o,expand:i,continuationToken:a};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}",routeValues:{project:e,repository:t},queryParams:p,returnRawResponse:!0}).then(async e=>{const t=await e.text().then(deserializeVssJsonObject);return t.continuationToken=e.headers.get("x-ms-continuationtoken"),t})}async getAlertSarif(e,t,r,s,o){const i={ref:s,expand:o};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}",routeValues:{project:e,alertId:t,repository:r},queryParams:i})}async updateAlert(e,t,r,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}",routeValues:{project:t,alertId:r,repository:s},body:e})}async getAlertsByIds(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/AlertsBatch",routeValues:{project:t,repository:r},body:e})}async getBranches(e,t,r,s,o,i,a){const p={alertType:r,continuationToken:s,branchNameContains:o,top:i,includePullRequestBranches:a};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/filters/{action}",routeValues:{project:e,repository:t,action:"Branches"},queryParams:p})}async getUxFilters(e,t,r){const s={alertType:r};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/filters/{action}",routeValues:{project:e,repository:t,action:"Default"},queryParams:s})}async uploadSarifToGitHub(e,t,r,s,o){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/github/{hostname}/{owner}/{repo}/sarifs",routeValues:{project:t,hostname:r,owner:s,repo:o},customHeaders:{"Content-Type":"application/octet-stream"},body:e})}async getAlertInstances(e,t,r,s){const o={ref:s};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}/Instances",routeValues:{project:e,alertId:t,repository:r},queryParams:o})}async createLegalReview(e,t,r,s){const o={alertId:r,ref:s};return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/Metadata",routeValues:{project:e,repository:t},queryParams:o})}async updateAlertsMetadata(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/Metadata",routeValues:{project:t,repository:r},body:e})}async getAlertMetadata(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}/metadata",routeValues:{project:e,alertId:t,repository:r}})}async getAlertMetadataBatch(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/MetadataBatch",routeValues:{project:t,repository:r},body:e})}async getOrgLevelAlertsByIds(e){const t={alertIds:e&&e.join(",")};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Alert/alerts",queryParams:t})}async deleteAllPipelineAnalyses(e,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/pipelineAnalyses",routeValues:{project:e,repository:t}})}async deletePipelineAnalysis(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/pipelineAnalysis/{adoPipelineId}",routeValues:{project:e,repository:t,adoPipelineId:r}})}async uploadSarif(e,t,r,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/sarifs",routeValues:{project:t,repository:r},customHeaders:{"Content-Type":"application/octet-stream","X-AdvSec-NotificationSarif":s},body:e})}async getSarif(e){return this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"_apis/Alert/Sarifs/{sarifId}",routeValues:{sarifId:e}})}async uploadOrgSarif(e){return this.beginRequest({apiVersion:"7.2-preview.2",method:"POST",routeTemplate:"_apis/Alert/Sarifs/{sarifId}",customHeaders:{"Content-Type":"application/octet-stream"},body:e})}async getValidityData(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}/Validate",routeValues:{project:e,repository:t,alertId:r}})}async initiateValidation(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}/Validate",routeValues:{project:e,repository:t,alertId:r}})}};
1
+ import{RestClientBase}from"../Common/RestClientBase";import{deserializeVssJsonObject}from"../Common/Util/Serialization";export class AlertRestClient extends RestClientBase{constructor(e){super(e)}async getAlert(e,t,r,s,o){const i={ref:s,expand:o};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}",routeValues:{project:e,alertId:t,repository:r},queryParams:i})}async getAlerts(e,t,r,s,o,i,a){const p={top:r,orderBy:s,criteria:o,expand:i,continuationToken:a};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}",routeValues:{project:e,repository:t},queryParams:p,returnRawResponse:!0}).then(async e=>{const t=await e.text().then(deserializeVssJsonObject);return t.continuationToken=e.headers.get("x-ms-continuationtoken"),t})}async getAlertSarif(e,t,r,s,o){const i={ref:s,expand:o};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}",routeValues:{project:e,alertId:t,repository:r},queryParams:i})}async updateAlert(e,t,r,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}",routeValues:{project:t,alertId:r,repository:s},body:e})}async getAlertsByIds(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/AlertsBatch",routeValues:{project:t,repository:r},body:e})}async getBranches(e,t,r,s,o,i,a){const p={alertType:r,continuationToken:s,branchNameContains:o,top:i,includePullRequestBranches:a};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/filters/{action}",routeValues:{project:e,repository:t,action:"Branches"},queryParams:p})}async getUxFilters(e,t,r){const s={alertType:r};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/filters/{action}",routeValues:{project:e,repository:t,action:"Default"},queryParams:s})}async createAutofixRequest(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}/Autofix",routeValues:{project:e,alertId:t,repository:r}})}async uploadSarifToGitHub(e,t,r,s,o){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/github/{hostname}/{owner}/{repo}/sarifs",routeValues:{project:t,hostname:r,owner:s,repo:o},customHeaders:{"Content-Type":"application/octet-stream"},body:e})}async getAlertInstances(e,t,r,s){const o={ref:s};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}/Instances",routeValues:{project:e,alertId:t,repository:r},queryParams:o})}async createLegalReview(e,t,r,s){const o={alertId:r,ref:s};return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/Metadata",routeValues:{project:e,repository:t},queryParams:o})}async updateAlertsMetadata(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/Metadata",routeValues:{project:t,repository:r},body:e})}async getAlertMetadata(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}/metadata",routeValues:{project:e,alertId:t,repository:r}})}async getAlertMetadataBatch(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/MetadataBatch",routeValues:{project:t,repository:r},body:e})}async getOrgLevelAlertsByIds(e){const t={alertIds:e&&e.join(",")};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Alert/alerts",queryParams:t})}async deleteAllPipelineAnalyses(e,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/pipelineAnalyses",routeValues:{project:e,repository:t}})}async deletePipelineAnalysis(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/pipelineAnalysis/{adoPipelineId}",routeValues:{project:e,repository:t,adoPipelineId:r}})}async exportSarif(e,t,r,s){const o={alertIds:r,branchName:s};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/sarifs",routeValues:{project:e,repository:t},queryParams:o})}async uploadSarif(e,t,r,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/sarifs",routeValues:{project:t,repository:r},customHeaders:{"Content-Type":"application/octet-stream","X-AdvSec-NotificationSarif":s},body:e})}async getSarif(e){return this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"_apis/Alert/Sarifs/{sarifId}",routeValues:{sarifId:e}})}async uploadOrgSarif(e){return this.beginRequest({apiVersion:"7.2-preview.2",method:"POST",routeTemplate:"_apis/Alert/Sarifs/{sarifId}",customHeaders:{"Content-Type":"application/octet-stream"},body:e})}async getValidityData(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}/Validate",routeValues:{project:e,repository:t,alertId:r}})}async initiateValidation(e,t,r){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"{project}/_apis/Alert/repositories/{repository}/alerts/{alertId}/Validate",routeValues:{project:e,repository:t,alertId:r}})}};
@@ -1679,14 +1679,12 @@ export class GalleryRestClient extends RestClientBase {
1679
1679
  * @param arch - Architecture filter (e.g., "amd64", "arm64", "x86").
1680
1680
  * @param versionRange - Installation target version range formatted as "\{min\}-\{max\}". Either bound may be omitted (e.g., "17.0-" or "-18.4").
1681
1681
  * @param sku - VS SKU filter (e.g., "VisualStudio"). Defaults to broad match.
1682
- * @param flags - Bitwise response flags controlling the shape of the response data.
1683
1682
  */
1684
- async queryExtensionByVsixId(vsixId, arch, versionRange, sku, flags) {
1683
+ async queryExtensionByVsixId(vsixId, arch, versionRange, sku) {
1685
1684
  const queryValues = {
1686
1685
  arch: arch,
1687
1686
  versionRange: versionRange,
1688
- sku: sku,
1689
- flags: flags
1687
+ sku: sku
1690
1688
  };
1691
1689
  return this.beginRequest({
1692
1690
  apiVersion: "7.2-preview.1",
@@ -1 +1 @@
1
- import{RestClientBase}from"../Common/RestClientBase";export class GalleryRestClient extends RestClientBase{constructor(e){super(e)}async shareExtensionById(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/extensions/{extensionId}/accounts/{accountName}",routeValues:{extensionId:e,accountName:s}})}async unshareExtensionById(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/extensions/{extensionId}/accounts/{accountName}",routeValues:{extensionId:e,accountName:s}})}async shareExtension(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publisher/{publisherName}/extension/{extensionName}/accountsbyname/{accountName}",routeValues:{publisherName:e,extensionName:s,accountName:t}})}async unshareExtension(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publisher/{publisherName}/extension/{extensionName}/accountsbyname/{accountName}",routeValues:{publisherName:e,extensionName:s,accountName:t}})}async getAcquisitionOptions(e,s,t,a){const i={installationTarget:s,testCommerce:t,isFreeOrTrialInstall:a};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/acquisitionoptions/{itemId}",routeValues:{itemId:e},queryParams:i})}async requestAcquisition(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/acquisitionrequests",body:e})}async getAssetByName(e,s,t,a,i,r,n){const o={accountToken:i,acceptDefault:r};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/public/gallery/publisher/{publisherName}/extension/{extensionName}/{version}/assetbyname/{*assetType}",routeValues:{publisherName:e,extensionName:s,version:t,assetType:a},customHeaders:{"X-Market-AccountToken":n},queryParams:o})}async getAsset(e,s,t,a,i,r){const n={accountToken:a,acceptDefault:i};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/public/gallery/extensions/{extensionId}/{version}/assets/{assetType}",routeValues:{extensionId:e,version:s,assetType:t},customHeaders:{"X-Market-AccountToken":r},queryParams:n})}async getAssetAuthenticated(e,s,t,a,i,r){const n={accountToken:i};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publisher/{publisherName}/extension/{extensionName}/{version}/assets/{*assetType}",routeValues:{publisherName:e,extensionName:s,version:t,assetType:a},customHeaders:{"X-Market-AccountToken":r},queryParams:n})}async associateAzurePublisher(e,s){const t={azurePublisherId:s};return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/azurepublisher",routeValues:{publisherName:e},queryParams:t})}async queryAssociatedAzurePublisher(e){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/publishers/{publisherName}/azurepublisher",routeValues:{publisherName:e}})}async getCategories(e){const s={languages:e};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/categories",queryParams:s})}async getCategoryDetails(e,s,t){const a={languages:s,product:t};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/categories/{categoryName}",routeValues:{categoryName:e},queryParams:a})}async getCategoryTree(e,s,t,a,i,r,n,o){const u={lcid:t,source:a,productVersion:i,skus:r,subSkus:n,productArchitecture:o};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/{product}/categories/{categoryId}",routeValues:{product:e,categoryId:s},queryParams:u})}async getRootCategories(e,s,t,a,i,r){const n={lcid:s,source:t,productVersion:a,skus:i,subSkus:r};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/{product}/categories/root",routeValues:{product:e},queryParams:n})}async getCertificate(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/certificates/{version}",routeValues:{publisherName:e,extensionName:s,version:t}})}async createSupportRequest(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/public/support",body:e})}async createDraftForEditExtension(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/drafts/{draftId}",routeValues:{publisherName:e,extensionName:s}})}async performEditExtensionDraftOperation(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/drafts/{draftId}",routeValues:{publisherName:s,extensionName:t,draftId:a},body:e})}async updatePayloadInDraftForEditExtension(e,s,t,a,i){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/drafts/{draftId}",routeValues:{publisherName:s,extensionName:t,draftId:a},customHeaders:{"Content-Type":"application/octet-stream","X-Market-UploadFileName":i},body:e,isRawData:!0})}async addAssetForEditExtensionDraft(e,s,t,a,i){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/drafts/{draftId}/assets/{*assetType}",routeValues:{publisherName:s,extensionName:t,draftId:a,assetType:i},customHeaders:{"Content-Type":"application/octet-stream"},body:e,isRawData:!0})}async createDraftForNewExtension(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}/drafts/{draftId}",routeValues:{publisherName:s},customHeaders:{"Content-Type":"application/octet-stream","X-Market-UploadFileProduct":t,"X-Market-UploadFileName":a},body:e,isRawData:!0})}async performNewExtensionDraftOperation(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/publishers/{publisherName}/drafts/{draftId}",routeValues:{publisherName:s,draftId:t},body:e})}async updatePayloadInDraftForNewExtension(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/drafts/{draftId}",routeValues:{publisherName:s,draftId:t},customHeaders:{"Content-Type":"application/octet-stream","X-Market-UploadFileName":a},body:e,isRawData:!0})}async addAssetForNewExtensionDraft(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/drafts/{draftId}/assets/{*assetType}",routeValues:{publisherName:s,draftId:t,assetType:a},customHeaders:{"Content-Type":"application/octet-stream"},body:e,isRawData:!0})}async getAssetFromEditExtensionDraft(e,s,t,a){const i={extensionName:a};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publishers/{publisherName}/drafts/{draftId}/assets/{*assetType}",routeValues:{publisherName:e,draftId:s,assetType:t},queryParams:i})}async getAssetFromNewExtensionDraft(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publishers/{publisherName}/drafts/{draftId}/assets/{*assetType}",routeValues:{publisherName:e,draftId:s,assetType:t}})}async getExtensionEvents(e,s,t,a,i,r){const n={count:t,afterDate:a,include:i,includeProperty:r};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/events",routeValues:{publisherName:e,extensionName:s},queryParams:n})}async publishExtensionEvents(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/events",body:e})}async queryExtensions(e,s,t){const a={accountToken:s};return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/public/gallery/extensionquery",customHeaders:{"X-Market-AccountToken":t},queryParams:a,body:e})}async createExtension(e,s,t){const a={extensionType:s,reCaptchaToken:t};return this.beginRequest({apiVersion:"7.2-preview.2",method:"POST",routeTemplate:"_apis/gallery/extensions/{extensionId}",customHeaders:{"Content-Type":"application/octet-stream"},queryParams:a,body:e,isRawData:!0})}async deleteExtensionById(e,s){const t={version:s};return this.beginRequest({apiVersion:"7.2-preview.2",method:"DELETE",routeTemplate:"_apis/gallery/extensions/{extensionId}",routeValues:{extensionId:e},queryParams:t})}async getExtensionById(e,s,t){const a={version:s,flags:t};return this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"_apis/gallery/extensions/{extensionId}",routeValues:{extensionId:e},queryParams:a})}async updateExtensionById(e,s){const t={reCaptchaToken:s};return this.beginRequest({apiVersion:"7.2-preview.2",method:"PUT",routeTemplate:"_apis/gallery/extensions/{extensionId}",routeValues:{extensionId:e},queryParams:t})}async createExtensionWithPublisher(e,s,t,a){const i={extensionType:t,reCaptchaToken:a};return this.beginRequest({apiVersion:"7.2-preview.2",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",routeValues:{publisherName:s},customHeaders:{"Content-Type":"application/octet-stream"},queryParams:i,body:e,isRawData:!0})}async deleteExtension(e,s,t){const a={version:t};return this.beginRequest({apiVersion:"7.2-preview.2",method:"DELETE",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",routeValues:{publisherName:e,extensionName:s},queryParams:a})}async getExtension(e,s,t,a,i,r){const n={version:t,flags:a,accountToken:i};return this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",routeValues:{publisherName:e,extensionName:s},customHeaders:{"X-Market-AccountToken":r},queryParams:n})}async updateExtension(e,s,t,a,i,r){const n={extensionType:a,reCaptchaToken:i,bypassScopeCheck:r};return this.beginRequest({apiVersion:"7.2-preview.2",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",routeValues:{publisherName:s,extensionName:t},customHeaders:{"Content-Type":"application/octet-stream"},queryParams:n,body:e,isRawData:!0})}async updateExtensionProperties(e,s,t){const a={flags:t};return this.beginRequest({apiVersion:"7.2-preview.2",method:"PATCH",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",routeValues:{publisherName:e,extensionName:s},queryParams:a})}async shareExtensionWithHost(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publisher/{publisherName}/extension/{extensionName}/extensionshare/{hostType}/{hostName}",routeValues:{publisherName:e,extensionName:s,hostType:t,hostName:a}})}async unshareExtensionWithHost(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publisher/{publisherName}/extension/{extensionName}/extensionshare/{hostType}/{hostName}",routeValues:{publisherName:e,extensionName:s,hostType:t,hostName:a}})}async extensionValidator(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/extensionValidator",body:e})}async sendNotifications(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/notifications",body:e})}async getPackage(e,s,t,a,i,r){const n={accountToken:a,acceptDefault:i};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/{version}/package",routeValues:{publisherName:e,extensionName:s,version:t},customHeaders:{"X-Market-AccountToken":r},queryParams:n})}async getAssetWithToken(e,s,t,a,i,r,n,o){const u={accountToken:r,acceptDefault:n};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/public/gallery/publisher/{publisherName}/extension/{extensionName}/{version}/privateasset/{assetToken}/{*assetType}",routeValues:{publisherName:e,extensionName:s,version:t,assetType:a,assetToken:i},customHeaders:{"X-Market-AccountToken":o},queryParams:u})}async deletePublisherAsset(e,s){const t={assetType:s};return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publishers/{publisherName}/publisherasset",routeValues:{publisherName:e},queryParams:t})}async getPublisherAsset(e,s){const t={assetType:s};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publishers/{publisherName}/publisherasset",routeValues:{publisherName:e},queryParams:t})}async updatePublisherAsset(e,s,t,a){const i={assetType:t};return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/publisherasset",routeValues:{publisherName:s},customHeaders:{"Content-Type":"application/octet-stream","X-Market-UploadFileName":a},queryParams:i,body:e,isRawData:!0})}async fetchDomainToken(e){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/publishers/{publisherName}/verify/token",routeValues:{publisherName:e}})}async verifyDomainToken(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/verify/token",routeValues:{publisherName:e}})}async queryPublishers(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/public/gallery/publisherquery",body:e})}async createPublisher(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}",body:e})}async deletePublisher(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publishers/{publisherName}",routeValues:{publisherName:e}})}async getPublisher(e,s){const t={flags:s};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/publishers/{publisherName}",routeValues:{publisherName:e},queryParams:t})}async updatePublisher(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}",routeValues:{publisherName:s},body:e})}async updatePublisherMembers(e,s,t){const a={limitToCallerIdentityDomain:t};return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}",routeValues:{publisherName:s},queryParams:a,body:e})}async publishExtensionWithPublisherSignature(e,s,t,a,i,r){const n={extensionType:a,reCaptchaToken:i,bypassScopeCheck:r};return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/publishersignedextension/{extensionName}",routeValues:{publisherName:s,extensionName:t},customHeaders:{"Content-Type":"multipart/related"},queryParams:n,body:e,isRawData:!0})}async getPublisherWithoutToken(e){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/publisherWithoutToken/{publisherName}",routeValues:{publisherName:e}})}async getQuestions(e,s,t,a,i){const r={count:t,page:a,afterDate:i};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/publishers/{publisherName}/extensions/{extensionName}/qna",routeValues:{publisherName:e,extensionName:s},queryParams:r})}async reportQuestion(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{pubName}/extensions/{extName}/qna/{questionId}/concern",routeValues:{pubName:s,extName:t,questionId:a},body:e})}async createQuestion(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}",routeValues:{publisherName:s,extensionName:t},body:e})}async deleteQuestion(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}",routeValues:{publisherName:e,extensionName:s,questionId:t}})}async updateQuestion(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}",routeValues:{publisherName:s,extensionName:t,questionId:a},body:e})}async createResponse(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}/responses/{responseId}",routeValues:{publisherName:s,extensionName:t,questionId:a},body:e})}async deleteResponse(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}/responses/{responseId}",routeValues:{publisherName:e,extensionName:s,questionId:t,responseId:a}})}async updateResponse(e,s,t,a,i){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}/responses/{responseId}",routeValues:{publisherName:s,extensionName:t,questionId:a,responseId:i},body:e})}async getExtensionReports(e,s,t,a,i){const r={days:t,count:a,afterDate:i};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/reports",routeValues:{publisherName:e,extensionName:s},queryParams:r})}async getReviews(e,s,t,a,i,r){const n={count:t,filterOptions:a,beforeDate:i,afterDate:r};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/publishers/{publisherName}/extensions/{extensionName}/reviews",routeValues:{publisherName:e,extensionName:s},queryParams:n})}async getReviewsSummary(e,s,t,a){const i={beforeDate:t,afterDate:a};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/publishers/{pubName}/extensions/{extName}/reviews/summary",routeValues:{pubName:e,extName:s},queryParams:i})}async createReview(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{pubName}/extensions/{extName}/reviews/{reviewId}",routeValues:{pubName:s,extName:t},body:e})}async deleteReview(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publishers/{pubName}/extensions/{extName}/reviews/{reviewId}",routeValues:{pubName:e,extName:s,reviewId:t}})}async updateReview(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/publishers/{pubName}/extensions/{extName}/reviews/{reviewId}",routeValues:{pubName:s,extName:t,reviewId:a},body:e})}async createCategory(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/categories",body:e})}async getGalleryUserSettings(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/settings/{userScope}/{*key}",routeValues:{userScope:e,key:s}})}async setGalleryUserSettings(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/settings/{userScope}/{*key}",routeValues:{userScope:s},body:e})}async generateKey(e,s){const t={expireCurrentSeconds:s};return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/signingkey/{keyType}",routeValues:{keyType:e},queryParams:t})}async getSigningKey(e){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/signingkey/{keyType}",routeValues:{keyType:e}})}async updateExtensionStatistics(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/publisher/{publisherName}/extension/{extensionName}/statistics",routeValues:{publisherName:s,extensionName:t},body:e})}async getExtensionDailyStats(e,s,t,a,i){const r={days:t,aggregate:a,afterDate:i};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/stats",routeValues:{publisherName:e,extensionName:s},queryParams:r})}async getExtensionDailyStatsAnonymous(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/publishers/{publisherName}/extensions/{extensionName}/{version}/stats",routeValues:{publisherName:e,extensionName:s,version:t}})}async incrementExtensionDailyStat(e,s,t,a,i){const r={statType:a,targetPlatform:i};return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/public/gallery/publishers/{publisherName}/extensions/{extensionName}/{version}/stats",routeValues:{publisherName:e,extensionName:s,version:t},queryParams:r})}async getVerificationLog(e,s,t,a){const i={targetPlatform:a};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/{version}/verificationlog",routeValues:{publisherName:e,extensionName:s,version:t},queryParams:i})}async getVSCodeExtensionLatestVersion(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/vscode/{publisherName}/{extensionName}/latest",routeValues:{publisherName:e,extensionName:s}})}async updateVSCodeWebExtensionStatistics(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/public/gallery/itemName/{itemName}/version/{version}/statType/{statType}/vscodewebextension",routeValues:{itemName:e,version:s,statType:t}})}async queryExtensionByVsixId(e,s,t,a,i){const r={arch:s,versionRange:t,sku:a,flags:i};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/vs/extensions/vsixId/{vsixId}",routeValues:{vsixId:e},queryParams:r})}};GalleryRestClient.RESOURCE_AREA_ID="69d21c00-f135-441b-b5ce-3626378e0819";
1
+ import{RestClientBase}from"../Common/RestClientBase";export class GalleryRestClient extends RestClientBase{constructor(e){super(e)}async shareExtensionById(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/extensions/{extensionId}/accounts/{accountName}",routeValues:{extensionId:e,accountName:s}})}async unshareExtensionById(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/extensions/{extensionId}/accounts/{accountName}",routeValues:{extensionId:e,accountName:s}})}async shareExtension(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publisher/{publisherName}/extension/{extensionName}/accountsbyname/{accountName}",routeValues:{publisherName:e,extensionName:s,accountName:t}})}async unshareExtension(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publisher/{publisherName}/extension/{extensionName}/accountsbyname/{accountName}",routeValues:{publisherName:e,extensionName:s,accountName:t}})}async getAcquisitionOptions(e,s,t,a){const i={installationTarget:s,testCommerce:t,isFreeOrTrialInstall:a};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/acquisitionoptions/{itemId}",routeValues:{itemId:e},queryParams:i})}async requestAcquisition(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/acquisitionrequests",body:e})}async getAssetByName(e,s,t,a,i,r,n){const o={accountToken:i,acceptDefault:r};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/public/gallery/publisher/{publisherName}/extension/{extensionName}/{version}/assetbyname/{*assetType}",routeValues:{publisherName:e,extensionName:s,version:t,assetType:a},customHeaders:{"X-Market-AccountToken":n},queryParams:o})}async getAsset(e,s,t,a,i,r){const n={accountToken:a,acceptDefault:i};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/public/gallery/extensions/{extensionId}/{version}/assets/{assetType}",routeValues:{extensionId:e,version:s,assetType:t},customHeaders:{"X-Market-AccountToken":r},queryParams:n})}async getAssetAuthenticated(e,s,t,a,i,r){const n={accountToken:i};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publisher/{publisherName}/extension/{extensionName}/{version}/assets/{*assetType}",routeValues:{publisherName:e,extensionName:s,version:t,assetType:a},customHeaders:{"X-Market-AccountToken":r},queryParams:n})}async associateAzurePublisher(e,s){const t={azurePublisherId:s};return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/azurepublisher",routeValues:{publisherName:e},queryParams:t})}async queryAssociatedAzurePublisher(e){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/publishers/{publisherName}/azurepublisher",routeValues:{publisherName:e}})}async getCategories(e){const s={languages:e};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/categories",queryParams:s})}async getCategoryDetails(e,s,t){const a={languages:s,product:t};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/categories/{categoryName}",routeValues:{categoryName:e},queryParams:a})}async getCategoryTree(e,s,t,a,i,r,n,o){const u={lcid:t,source:a,productVersion:i,skus:r,subSkus:n,productArchitecture:o};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/{product}/categories/{categoryId}",routeValues:{product:e,categoryId:s},queryParams:u})}async getRootCategories(e,s,t,a,i,r){const n={lcid:s,source:t,productVersion:a,skus:i,subSkus:r};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/{product}/categories/root",routeValues:{product:e},queryParams:n})}async getCertificate(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/certificates/{version}",routeValues:{publisherName:e,extensionName:s,version:t}})}async createSupportRequest(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/public/support",body:e})}async createDraftForEditExtension(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/drafts/{draftId}",routeValues:{publisherName:e,extensionName:s}})}async performEditExtensionDraftOperation(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/drafts/{draftId}",routeValues:{publisherName:s,extensionName:t,draftId:a},body:e})}async updatePayloadInDraftForEditExtension(e,s,t,a,i){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/drafts/{draftId}",routeValues:{publisherName:s,extensionName:t,draftId:a},customHeaders:{"Content-Type":"application/octet-stream","X-Market-UploadFileName":i},body:e,isRawData:!0})}async addAssetForEditExtensionDraft(e,s,t,a,i){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/drafts/{draftId}/assets/{*assetType}",routeValues:{publisherName:s,extensionName:t,draftId:a,assetType:i},customHeaders:{"Content-Type":"application/octet-stream"},body:e,isRawData:!0})}async createDraftForNewExtension(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}/drafts/{draftId}",routeValues:{publisherName:s},customHeaders:{"Content-Type":"application/octet-stream","X-Market-UploadFileProduct":t,"X-Market-UploadFileName":a},body:e,isRawData:!0})}async performNewExtensionDraftOperation(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/publishers/{publisherName}/drafts/{draftId}",routeValues:{publisherName:s,draftId:t},body:e})}async updatePayloadInDraftForNewExtension(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/drafts/{draftId}",routeValues:{publisherName:s,draftId:t},customHeaders:{"Content-Type":"application/octet-stream","X-Market-UploadFileName":a},body:e,isRawData:!0})}async addAssetForNewExtensionDraft(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/drafts/{draftId}/assets/{*assetType}",routeValues:{publisherName:s,draftId:t,assetType:a},customHeaders:{"Content-Type":"application/octet-stream"},body:e,isRawData:!0})}async getAssetFromEditExtensionDraft(e,s,t,a){const i={extensionName:a};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publishers/{publisherName}/drafts/{draftId}/assets/{*assetType}",routeValues:{publisherName:e,draftId:s,assetType:t},queryParams:i})}async getAssetFromNewExtensionDraft(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publishers/{publisherName}/drafts/{draftId}/assets/{*assetType}",routeValues:{publisherName:e,draftId:s,assetType:t}})}async getExtensionEvents(e,s,t,a,i,r){const n={count:t,afterDate:a,include:i,includeProperty:r};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/events",routeValues:{publisherName:e,extensionName:s},queryParams:n})}async publishExtensionEvents(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/events",body:e})}async queryExtensions(e,s,t){const a={accountToken:s};return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/public/gallery/extensionquery",customHeaders:{"X-Market-AccountToken":t},queryParams:a,body:e})}async createExtension(e,s,t){const a={extensionType:s,reCaptchaToken:t};return this.beginRequest({apiVersion:"7.2-preview.2",method:"POST",routeTemplate:"_apis/gallery/extensions/{extensionId}",customHeaders:{"Content-Type":"application/octet-stream"},queryParams:a,body:e,isRawData:!0})}async deleteExtensionById(e,s){const t={version:s};return this.beginRequest({apiVersion:"7.2-preview.2",method:"DELETE",routeTemplate:"_apis/gallery/extensions/{extensionId}",routeValues:{extensionId:e},queryParams:t})}async getExtensionById(e,s,t){const a={version:s,flags:t};return this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"_apis/gallery/extensions/{extensionId}",routeValues:{extensionId:e},queryParams:a})}async updateExtensionById(e,s){const t={reCaptchaToken:s};return this.beginRequest({apiVersion:"7.2-preview.2",method:"PUT",routeTemplate:"_apis/gallery/extensions/{extensionId}",routeValues:{extensionId:e},queryParams:t})}async createExtensionWithPublisher(e,s,t,a){const i={extensionType:t,reCaptchaToken:a};return this.beginRequest({apiVersion:"7.2-preview.2",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",routeValues:{publisherName:s},customHeaders:{"Content-Type":"application/octet-stream"},queryParams:i,body:e,isRawData:!0})}async deleteExtension(e,s,t){const a={version:t};return this.beginRequest({apiVersion:"7.2-preview.2",method:"DELETE",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",routeValues:{publisherName:e,extensionName:s},queryParams:a})}async getExtension(e,s,t,a,i,r){const n={version:t,flags:a,accountToken:i};return this.beginRequest({apiVersion:"7.2-preview.2",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",routeValues:{publisherName:e,extensionName:s},customHeaders:{"X-Market-AccountToken":r},queryParams:n})}async updateExtension(e,s,t,a,i,r){const n={extensionType:a,reCaptchaToken:i,bypassScopeCheck:r};return this.beginRequest({apiVersion:"7.2-preview.2",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",routeValues:{publisherName:s,extensionName:t},customHeaders:{"Content-Type":"application/octet-stream"},queryParams:n,body:e,isRawData:!0})}async updateExtensionProperties(e,s,t){const a={flags:t};return this.beginRequest({apiVersion:"7.2-preview.2",method:"PATCH",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}",routeValues:{publisherName:e,extensionName:s},queryParams:a})}async shareExtensionWithHost(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publisher/{publisherName}/extension/{extensionName}/extensionshare/{hostType}/{hostName}",routeValues:{publisherName:e,extensionName:s,hostType:t,hostName:a}})}async unshareExtensionWithHost(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publisher/{publisherName}/extension/{extensionName}/extensionshare/{hostType}/{hostName}",routeValues:{publisherName:e,extensionName:s,hostType:t,hostName:a}})}async extensionValidator(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/extensionValidator",body:e})}async sendNotifications(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/notifications",body:e})}async getPackage(e,s,t,a,i,r){const n={accountToken:a,acceptDefault:i};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/{version}/package",routeValues:{publisherName:e,extensionName:s,version:t},customHeaders:{"X-Market-AccountToken":r},queryParams:n})}async getAssetWithToken(e,s,t,a,i,r,n,o){const u={accountToken:r,acceptDefault:n};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/public/gallery/publisher/{publisherName}/extension/{extensionName}/{version}/privateasset/{assetToken}/{*assetType}",routeValues:{publisherName:e,extensionName:s,version:t,assetType:a,assetToken:i},customHeaders:{"X-Market-AccountToken":o},queryParams:u})}async deletePublisherAsset(e,s){const t={assetType:s};return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publishers/{publisherName}/publisherasset",routeValues:{publisherName:e},queryParams:t})}async getPublisherAsset(e,s){const t={assetType:s};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publishers/{publisherName}/publisherasset",routeValues:{publisherName:e},queryParams:t})}async updatePublisherAsset(e,s,t,a){const i={assetType:t};return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/publisherasset",routeValues:{publisherName:s},customHeaders:{"Content-Type":"application/octet-stream","X-Market-UploadFileName":a},queryParams:i,body:e,isRawData:!0})}async fetchDomainToken(e){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/publishers/{publisherName}/verify/token",routeValues:{publisherName:e}})}async verifyDomainToken(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/verify/token",routeValues:{publisherName:e}})}async queryPublishers(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/public/gallery/publisherquery",body:e})}async createPublisher(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}",body:e})}async deletePublisher(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publishers/{publisherName}",routeValues:{publisherName:e}})}async getPublisher(e,s){const t={flags:s};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/publishers/{publisherName}",routeValues:{publisherName:e},queryParams:t})}async updatePublisher(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}",routeValues:{publisherName:s},body:e})}async updatePublisherMembers(e,s,t){const a={limitToCallerIdentityDomain:t};return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}",routeValues:{publisherName:s},queryParams:a,body:e})}async publishExtensionWithPublisherSignature(e,s,t,a,i,r){const n={extensionType:a,reCaptchaToken:i,bypassScopeCheck:r};return this.beginRequest({apiVersion:"7.2-preview.1",method:"PUT",routeTemplate:"_apis/gallery/publishers/{publisherName}/publishersignedextension/{extensionName}",routeValues:{publisherName:s,extensionName:t},customHeaders:{"Content-Type":"multipart/related"},queryParams:n,body:e,isRawData:!0})}async getPublisherWithoutToken(e){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/publisherWithoutToken/{publisherName}",routeValues:{publisherName:e}})}async getQuestions(e,s,t,a,i){const r={count:t,page:a,afterDate:i};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/publishers/{publisherName}/extensions/{extensionName}/qna",routeValues:{publisherName:e,extensionName:s},queryParams:r})}async reportQuestion(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{pubName}/extensions/{extName}/qna/{questionId}/concern",routeValues:{pubName:s,extName:t,questionId:a},body:e})}async createQuestion(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}",routeValues:{publisherName:s,extensionName:t},body:e})}async deleteQuestion(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}",routeValues:{publisherName:e,extensionName:s,questionId:t}})}async updateQuestion(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}",routeValues:{publisherName:s,extensionName:t,questionId:a},body:e})}async createResponse(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}/responses/{responseId}",routeValues:{publisherName:s,extensionName:t,questionId:a},body:e})}async deleteResponse(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}/responses/{responseId}",routeValues:{publisherName:e,extensionName:s,questionId:t,responseId:a}})}async updateResponse(e,s,t,a,i){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/qna/{questionId}/responses/{responseId}",routeValues:{publisherName:s,extensionName:t,questionId:a,responseId:i},body:e})}async getExtensionReports(e,s,t,a,i){const r={days:t,count:a,afterDate:i};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/reports",routeValues:{publisherName:e,extensionName:s},queryParams:r})}async getReviews(e,s,t,a,i,r){const n={count:t,filterOptions:a,beforeDate:i,afterDate:r};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/publishers/{publisherName}/extensions/{extensionName}/reviews",routeValues:{publisherName:e,extensionName:s},queryParams:n})}async getReviewsSummary(e,s,t,a){const i={beforeDate:t,afterDate:a};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/publishers/{pubName}/extensions/{extName}/reviews/summary",routeValues:{pubName:e,extName:s},queryParams:i})}async createReview(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/publishers/{pubName}/extensions/{extName}/reviews/{reviewId}",routeValues:{pubName:s,extName:t},body:e})}async deleteReview(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"DELETE",routeTemplate:"_apis/gallery/publishers/{pubName}/extensions/{extName}/reviews/{reviewId}",routeValues:{pubName:e,extName:s,reviewId:t}})}async updateReview(e,s,t,a){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/publishers/{pubName}/extensions/{extName}/reviews/{reviewId}",routeValues:{pubName:s,extName:t,reviewId:a},body:e})}async createCategory(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/categories",body:e})}async getGalleryUserSettings(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/settings/{userScope}/{*key}",routeValues:{userScope:e,key:s}})}async setGalleryUserSettings(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/settings/{userScope}/{*key}",routeValues:{userScope:s},body:e})}async generateKey(e,s){const t={expireCurrentSeconds:s};return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/gallery/signingkey/{keyType}",routeValues:{keyType:e},queryParams:t})}async getSigningKey(e){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/signingkey/{keyType}",routeValues:{keyType:e}})}async updateExtensionStatistics(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"PATCH",routeTemplate:"_apis/gallery/publisher/{publisherName}/extension/{extensionName}/statistics",routeValues:{publisherName:s,extensionName:t},body:e})}async getExtensionDailyStats(e,s,t,a,i){const r={days:t,aggregate:a,afterDate:i};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/stats",routeValues:{publisherName:e,extensionName:s},queryParams:r})}async getExtensionDailyStatsAnonymous(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/publishers/{publisherName}/extensions/{extensionName}/{version}/stats",routeValues:{publisherName:e,extensionName:s,version:t}})}async incrementExtensionDailyStat(e,s,t,a,i){const r={statType:a,targetPlatform:i};return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/public/gallery/publishers/{publisherName}/extensions/{extensionName}/{version}/stats",routeValues:{publisherName:e,extensionName:s,version:t},queryParams:r})}async getVerificationLog(e,s,t,a){const i={targetPlatform:a};return this.beginRequest({apiVersion:"7.2-preview.1",httpResponseType:"application/octet-stream",routeTemplate:"_apis/gallery/publishers/{publisherName}/extensions/{extensionName}/{version}/verificationlog",routeValues:{publisherName:e,extensionName:s,version:t},queryParams:i})}async getVSCodeExtensionLatestVersion(e,s){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/vscode/{publisherName}/{extensionName}/latest",routeValues:{publisherName:e,extensionName:s}})}async updateVSCodeWebExtensionStatistics(e,s,t){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/public/gallery/itemName/{itemName}/version/{version}/statType/{statType}/vscodewebextension",routeValues:{itemName:e,version:s,statType:t}})}async queryExtensionByVsixId(e,s,t,a){const i={arch:s,versionRange:t,sku:a};return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/public/gallery/vs/extensions/vsixId/{vsixId}",routeValues:{vsixId:e},queryParams:i})}};GalleryRestClient.RESOURCE_AREA_ID="69d21c00-f135-441b-b5ce-3626378e0819";
@@ -33,6 +33,33 @@ export class ManagementRestClient extends RestClientBase {
33
33
  }
34
34
  });
35
35
  }
36
+ /**
37
+ * Cancels all running and queued CodeQL jobs and in-flight Dynamic Pipeline runs for the organization.
38
+ *
39
+ */
40
+ async cancelCodeQLJobs() {
41
+ return this.beginRequest({
42
+ apiVersion: "7.2-preview.1",
43
+ method: "POST",
44
+ routeTemplate: "_apis/Management/codeQLJobs/{action}/{scheduleDayOfWeek}",
45
+ routeValues: {
46
+ action: "Cancel"
47
+ }
48
+ });
49
+ }
50
+ /**
51
+ * Gets the count of running and queued CodeQL jobs and in-flight Dynamic Pipeline runs for the organization.
52
+ *
53
+ */
54
+ async getCodeQLJobCount() {
55
+ return this.beginRequest({
56
+ apiVersion: "7.2-preview.1",
57
+ routeTemplate: "_apis/Management/codeQLJobs/{action}/{scheduleDayOfWeek}",
58
+ routeValues: {
59
+ action: "Count"
60
+ }
61
+ });
62
+ }
36
63
  /**
37
64
  * Gets the current CodeQL default setup schedule configuration for the organization.
38
65
  *
@@ -40,7 +67,10 @@ export class ManagementRestClient extends RestClientBase {
40
67
  async getCodeQLSchedule() {
41
68
  return this.beginRequest({
42
69
  apiVersion: "7.2-preview.1",
43
- routeTemplate: "_apis/Management/codeQLSchedule/{scheduleDayOfWeek}"
70
+ routeTemplate: "_apis/Management/codeQLJobs/{action}/{scheduleDayOfWeek}",
71
+ routeValues: {
72
+ action: "Schedule"
73
+ }
44
74
  });
45
75
  }
46
76
  /**
@@ -49,6 +79,32 @@ export class ManagementRestClient extends RestClientBase {
49
79
  * @param scheduleDayOfWeek - Day of week as an integer: 0=Sunday, 1=Monday, ..., 6=Saturday.
50
80
  */
51
81
  async updateCodeQLSchedule(scheduleDayOfWeek) {
82
+ return this.beginRequest({
83
+ apiVersion: "7.2-preview.1",
84
+ method: "POST",
85
+ routeTemplate: "_apis/Management/codeQLJobs/{action}/{scheduleDayOfWeek}",
86
+ routeValues: {
87
+ scheduleDayOfWeek: scheduleDayOfWeek,
88
+ action: "Schedule"
89
+ }
90
+ });
91
+ }
92
+ /**
93
+ * Gets the current CodeQL default setup schedule configuration for the organization.
94
+ *
95
+ */
96
+ async getCodeQLScheduleLegacy() {
97
+ return this.beginRequest({
98
+ apiVersion: "7.2-preview.1",
99
+ routeTemplate: "_apis/Management/codeQLSchedule/{scheduleDayOfWeek}"
100
+ });
101
+ }
102
+ /**
103
+ * Sets the day of the week when the CodeQL default setup scan should run for the organization.
104
+ *
105
+ * @param scheduleDayOfWeek - Day of week as an integer: 0=Sunday, 1=Monday, ..., 6=Saturday.
106
+ */
107
+ async updateCodeQLScheduleLegacy(scheduleDayOfWeek) {
52
108
  return this.beginRequest({
53
109
  apiVersion: "7.2-preview.1",
54
110
  method: "POST",
@@ -1 +1 @@
1
- import{RestClientBase}from"../Common/RestClientBase";export class ManagementRestClient extends RestClientBase{constructor(e){super(e)}async getAdvancedSecurityAgentPoolSelection(){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Management/pools/{agentPoolName}"})}async updateAdvancedSecurityAgentPoolSelection(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/Management/pools/{agentPoolName}",routeValues:{agentPoolName:e}})}async getCodeQLSchedule(){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Management/codeQLSchedule/{scheduleDayOfWeek}"})}async updateCodeQLSchedule(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/Management/codeQLSchedule/{scheduleDayOfWeek}",routeValues:{scheduleDayOfWeek:e}})}async createBillingSnapshot2(e,t){const a={plan:t};return this.beginRequest({apiVersion:"7.2-preview.3",method:"POST",routeTemplate:"_apis/Management/MeterUsage/{action}",routeValues:{action:"Default"},queryParams:a,body:e})}async getBillableCommitterDetails2(e,t){const a={plan:e,billingDate:t};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"_apis/Management/MeterUsage/{action}",routeValues:{action:"Details"},queryParams:a})}async getLastMeterUsage2(e){const t={plan:e};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"_apis/Management/MeterUsage/{action}",routeValues:{action:"Last"},queryParams:t})}async getMeterUsage2(e,t){const a={plan:e,billingDate:t};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"_apis/Management/MeterUsage/{action}",routeValues:{action:"Default"},queryParams:a})}async getOrgEnablementStatus2(e){const t={includeAllProperties:e};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"_apis/Management/enablement",queryParams:t})}async updateOrgEnablementStatus2(e){return this.beginRequest({apiVersion:"7.2-preview.3",method:"PATCH",routeTemplate:"_apis/Management/enablement",body:e})}async getEstimatedBillablePushersDetailsForOrg2(e){const t={plan:e};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"_apis/Management/meterUsageEstimate/{action}",routeValues:{action:"Default"},queryParams:t})}async getProjectEnablementStatus2(e,t){const a={includeAllProperties:t};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/Management/enablement",routeValues:{project:e},queryParams:a})}async updateProjectEnablementStatus2(e,t){return this.beginRequest({apiVersion:"7.2-preview.3",method:"PATCH",routeTemplate:"{project}/_apis/Management/enablement",routeValues:{project:t},body:e})}async getEstimatedBillablePushersDetailsForProject2(e,t){const a={plan:t};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/Management/meterUsageEstimate/{action}",routeValues:{project:e,action:"Default"},queryParams:a})}async getRepoEnablementStatus2(e,t,a){const r={includeAllProperties:a};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/Management/repositories/{repository}/enablement",routeValues:{project:e,repository:t},queryParams:r})}async updateRepoAdvSecEnablementStatus2(e,t,a){return this.beginRequest({apiVersion:"7.2-preview.3",method:"PATCH",routeTemplate:"{project}/_apis/Management/repositories/{repository}/enablement",routeValues:{project:t,repository:a},body:e})}async getEstimatedBillableCommittersDetailsForRepo2(e,t,a){const r={plan:a};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/Management/repositories/{repository}/meterUsageEstimate/{action}",routeValues:{project:e,repository:t,action:"Default"},queryParams:r})}};
1
+ import{RestClientBase}from"../Common/RestClientBase";export class ManagementRestClient extends RestClientBase{constructor(e){super(e)}async getAdvancedSecurityAgentPoolSelection(){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Management/pools/{agentPoolName}"})}async updateAdvancedSecurityAgentPoolSelection(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/Management/pools/{agentPoolName}",routeValues:{agentPoolName:e}})}async cancelCodeQLJobs(){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/Management/codeQLJobs/{action}/{scheduleDayOfWeek}",routeValues:{action:"Cancel"}})}async getCodeQLJobCount(){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Management/codeQLJobs/{action}/{scheduleDayOfWeek}",routeValues:{action:"Count"}})}async getCodeQLSchedule(){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Management/codeQLJobs/{action}/{scheduleDayOfWeek}",routeValues:{action:"Schedule"}})}async updateCodeQLSchedule(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/Management/codeQLJobs/{action}/{scheduleDayOfWeek}",routeValues:{scheduleDayOfWeek:e,action:"Schedule"}})}async getCodeQLScheduleLegacy(){return this.beginRequest({apiVersion:"7.2-preview.1",routeTemplate:"_apis/Management/codeQLSchedule/{scheduleDayOfWeek}"})}async updateCodeQLScheduleLegacy(e){return this.beginRequest({apiVersion:"7.2-preview.1",method:"POST",routeTemplate:"_apis/Management/codeQLSchedule/{scheduleDayOfWeek}",routeValues:{scheduleDayOfWeek:e}})}async createBillingSnapshot2(e,t){const a={plan:t};return this.beginRequest({apiVersion:"7.2-preview.3",method:"POST",routeTemplate:"_apis/Management/MeterUsage/{action}",routeValues:{action:"Default"},queryParams:a,body:e})}async getBillableCommitterDetails2(e,t){const a={plan:e,billingDate:t};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"_apis/Management/MeterUsage/{action}",routeValues:{action:"Details"},queryParams:a})}async getLastMeterUsage2(e){const t={plan:e};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"_apis/Management/MeterUsage/{action}",routeValues:{action:"Last"},queryParams:t})}async getMeterUsage2(e,t){const a={plan:e,billingDate:t};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"_apis/Management/MeterUsage/{action}",routeValues:{action:"Default"},queryParams:a})}async getOrgEnablementStatus2(e){const t={includeAllProperties:e};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"_apis/Management/enablement",queryParams:t})}async updateOrgEnablementStatus2(e){return this.beginRequest({apiVersion:"7.2-preview.3",method:"PATCH",routeTemplate:"_apis/Management/enablement",body:e})}async getEstimatedBillablePushersDetailsForOrg2(e){const t={plan:e};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"_apis/Management/meterUsageEstimate/{action}",routeValues:{action:"Default"},queryParams:t})}async getProjectEnablementStatus2(e,t){const a={includeAllProperties:t};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/Management/enablement",routeValues:{project:e},queryParams:a})}async updateProjectEnablementStatus2(e,t){return this.beginRequest({apiVersion:"7.2-preview.3",method:"PATCH",routeTemplate:"{project}/_apis/Management/enablement",routeValues:{project:t},body:e})}async getEstimatedBillablePushersDetailsForProject2(e,t){const a={plan:t};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/Management/meterUsageEstimate/{action}",routeValues:{project:e,action:"Default"},queryParams:a})}async getRepoEnablementStatus2(e,t,a){const n={includeAllProperties:a};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/Management/repositories/{repository}/enablement",routeValues:{project:e,repository:t},queryParams:n})}async updateRepoAdvSecEnablementStatus2(e,t,a){return this.beginRequest({apiVersion:"7.2-preview.3",method:"PATCH",routeTemplate:"{project}/_apis/Management/repositories/{repository}/enablement",routeValues:{project:t,repository:a},body:e})}async getEstimatedBillableCommittersDetailsForRepo2(e,t,a){const n={plan:a};return this.beginRequest({apiVersion:"7.2-preview.3",routeTemplate:"{project}/_apis/Management/repositories/{repository}/meterUsageEstimate/{action}",routeValues:{project:e,repository:t,action:"Default"},queryParams:n})}};
package/esm/Tfvc/Tfvc.js CHANGED
@@ -3,6 +3,51 @@
3
3
  * Copyright(C) Microsoft Corporation. All rights reserved.
4
4
  * ---------------------------------------------------------
5
5
  */
6
+ export var GitObjectType;
7
+ (function (GitObjectType) {
8
+ GitObjectType[GitObjectType["Bad"] = 0] = "Bad";
9
+ GitObjectType[GitObjectType["Commit"] = 1] = "Commit";
10
+ GitObjectType[GitObjectType["Tree"] = 2] = "Tree";
11
+ GitObjectType[GitObjectType["Blob"] = 3] = "Blob";
12
+ GitObjectType[GitObjectType["Tag"] = 4] = "Tag";
13
+ GitObjectType[GitObjectType["Ext2"] = 5] = "Ext2";
14
+ GitObjectType[GitObjectType["OfsDelta"] = 6] = "OfsDelta";
15
+ GitObjectType[GitObjectType["RefDelta"] = 7] = "RefDelta";
16
+ })(GitObjectType || (GitObjectType = {}));
17
+ /**
18
+ * State of the status.
19
+ */
20
+ export var GitStatusState;
21
+ (function (GitStatusState) {
22
+ /**
23
+ * Status state not set. Default state.
24
+ */
25
+ GitStatusState[GitStatusState["NotSet"] = 0] = "NotSet";
26
+ /**
27
+ * Status pending.
28
+ */
29
+ GitStatusState[GitStatusState["Pending"] = 1] = "Pending";
30
+ /**
31
+ * Status succeeded.
32
+ */
33
+ GitStatusState[GitStatusState["Succeeded"] = 2] = "Succeeded";
34
+ /**
35
+ * Status failed.
36
+ */
37
+ GitStatusState[GitStatusState["Failed"] = 3] = "Failed";
38
+ /**
39
+ * Status with an error.
40
+ */
41
+ GitStatusState[GitStatusState["Error"] = 4] = "Error";
42
+ /**
43
+ * Status is not applicable to the target object.
44
+ */
45
+ GitStatusState[GitStatusState["NotApplicable"] = 5] = "NotApplicable";
46
+ /**
47
+ * Status Partially Succeeded, build finished with warnings.
48
+ */
49
+ GitStatusState[GitStatusState["PartiallySucceeded"] = 6] = "PartiallySucceeded";
50
+ })(GitStatusState || (GitStatusState = {}));
6
51
  export var ItemContentType;
7
52
  (function (ItemContentType) {
8
53
  ItemContentType[ItemContentType["RawText"] = 0] = "RawText";
@@ -1 +1 @@
1
- export var ItemContentType;!function(e){e[e.RawText=0]="RawText",e[e.Base64Encoded=1]="Base64Encoded"}(ItemContentType||(ItemContentType={}));export var TfvcVersionOption;!function(e){e[e.None=0]="None",e[e.Previous=1]="Previous",e[e.UseRename=2]="UseRename"}(TfvcVersionOption||(TfvcVersionOption={}));export var TfvcVersionType;!function(e){e[e.None=0]="None",e[e.Changeset=1]="Changeset",e[e.Shelveset=2]="Shelveset",e[e.Change=3]="Change",e[e.Date=4]="Date",e[e.Latest=5]="Latest",e[e.Tip=6]="Tip",e[e.MergeSource=7]="MergeSource"}(TfvcVersionType||(TfvcVersionType={}));export var VersionControlChangeType;!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Edit=2]="Edit",e[e.Encoding=4]="Encoding",e[e.Rename=8]="Rename",e[e.Delete=16]="Delete",e[e.Undelete=32]="Undelete",e[e.Branch=64]="Branch",e[e.Merge=128]="Merge",e[e.Lock=256]="Lock",e[e.Rollback=512]="Rollback",e[e.SourceRename=1024]="SourceRename",e[e.TargetRename=2048]="TargetRename",e[e.Property=4096]="Property",e[e.All=8191]="All"}(VersionControlChangeType||(VersionControlChangeType={}));export var VersionControlRecursionType;!function(e){e[e.None=0]="None",e[e.OneLevel=1]="OneLevel",e[e.OneLevelPlusNestedEmptyFolders=4]="OneLevelPlusNestedEmptyFolders",e[e.Full=120]="Full"}(VersionControlRecursionType||(VersionControlRecursionType={}));
1
+ export var GitObjectType;!function(e){e[e.Bad=0]="Bad",e[e.Commit=1]="Commit",e[e.Tree=2]="Tree",e[e.Blob=3]="Blob",e[e.Tag=4]="Tag",e[e.Ext2=5]="Ext2",e[e.OfsDelta=6]="OfsDelta",e[e.RefDelta=7]="RefDelta"}(GitObjectType||(GitObjectType={}));export var GitStatusState;!function(e){e[e.NotSet=0]="NotSet",e[e.Pending=1]="Pending",e[e.Succeeded=2]="Succeeded",e[e.Failed=3]="Failed",e[e.Error=4]="Error",e[e.NotApplicable=5]="NotApplicable",e[e.PartiallySucceeded=6]="PartiallySucceeded"}(GitStatusState||(GitStatusState={}));export var ItemContentType;!function(e){e[e.RawText=0]="RawText",e[e.Base64Encoded=1]="Base64Encoded"}(ItemContentType||(ItemContentType={}));export var TfvcVersionOption;!function(e){e[e.None=0]="None",e[e.Previous=1]="Previous",e[e.UseRename=2]="UseRename"}(TfvcVersionOption||(TfvcVersionOption={}));export var TfvcVersionType;!function(e){e[e.None=0]="None",e[e.Changeset=1]="Changeset",e[e.Shelveset=2]="Shelveset",e[e.Change=3]="Change",e[e.Date=4]="Date",e[e.Latest=5]="Latest",e[e.Tip=6]="Tip",e[e.MergeSource=7]="MergeSource"}(TfvcVersionType||(TfvcVersionType={}));export var VersionControlChangeType;!function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Edit=2]="Edit",e[e.Encoding=4]="Encoding",e[e.Rename=8]="Rename",e[e.Delete=16]="Delete",e[e.Undelete=32]="Undelete",e[e.Branch=64]="Branch",e[e.Merge=128]="Merge",e[e.Lock=256]="Lock",e[e.Rollback=512]="Rollback",e[e.SourceRename=1024]="SourceRename",e[e.TargetRename=2048]="TargetRename",e[e.Property=4096]="Property",e[e.All=8191]="All"}(VersionControlChangeType||(VersionControlChangeType={}));export var VersionControlRecursionType;!function(e){e[e.None=0]="None",e[e.OneLevel=1]="OneLevel",e[e.OneLevelPlusNestedEmptyFolders=4]="OneLevelPlusNestedEmptyFolders",e[e.Full=120]="Full"}(VersionControlRecursionType||(VersionControlRecursionType={}));
package/index.d.ts CHANGED
@@ -1 +1,73 @@
1
1
  export * from "./Common/index";
2
+ import * as Accounts from "./Accounts";
3
+ export { Accounts };
4
+ import * as Build from "./Build";
5
+ export { Build };
6
+ import * as Comments from "./Comments";
7
+ export { Comments };
8
+ import * as Contributions from "./Contributions";
9
+ export { Contributions };
10
+ import * as Core from "./Core";
11
+ export { Core };
12
+ import * as Dashboard from "./Dashboard";
13
+ export { Dashboard };
14
+ import * as DistributedTaskCommon from "./DistributedTaskCommon";
15
+ export { DistributedTaskCommon };
16
+ import * as ExtensionManagement from "./ExtensionManagement";
17
+ export { ExtensionManagement };
18
+ import * as FeatureAvailability from "./FeatureAvailability";
19
+ export { FeatureAvailability };
20
+ import * as FeatureManagement from "./FeatureManagement";
21
+ export { FeatureManagement };
22
+ import * as FileContainer from "./FileContainer";
23
+ export { FileContainer };
24
+ import * as FormInput from "./FormInput";
25
+ export { FormInput };
26
+ import * as Gallery from "./Gallery";
27
+ export { Gallery };
28
+ import * as Git from "./Git";
29
+ export { Git };
30
+ import * as Graph from "./Graph";
31
+ export { Graph };
32
+ import * as Identities from "./Identities";
33
+ export { Identities };
34
+ import * as Locations from "./Locations";
35
+ export { Locations };
36
+ import * as Notification from "./Notification";
37
+ export { Notification };
38
+ import * as Operations from "./Operations";
39
+ export { Operations };
40
+ import * as Policy from "./Policy";
41
+ export { Policy };
42
+ import * as Profile from "./Profile";
43
+ export { Profile };
44
+ import * as ProjectAnalysis from "./ProjectAnalysis";
45
+ export { ProjectAnalysis };
46
+ import * as Release from "./Release";
47
+ export { Release };
48
+ import * as ServiceEndpoint from "./ServiceEndpoint";
49
+ export { ServiceEndpoint };
50
+ import * as ServiceHooks from "./ServiceHooks";
51
+ export { ServiceHooks };
52
+ import * as TaskAgent from "./TaskAgent";
53
+ export { TaskAgent };
54
+ import * as Test from "./Test";
55
+ export { Test };
56
+ import * as TestPlan from "./TestPlan";
57
+ export { TestPlan };
58
+ import * as TestResults from "./TestResults";
59
+ export { TestResults };
60
+ import * as Tfvc from "./Tfvc";
61
+ export { Tfvc };
62
+ import * as WebApi from "./WebApi";
63
+ export { WebApi };
64
+ import * as Wiki from "./Wiki";
65
+ export { Wiki };
66
+ import * as Work from "./Work";
67
+ export { Work };
68
+ import * as WorkItemTracking from "./WorkItemTracking";
69
+ export { WorkItemTracking };
70
+ import * as WorkItemTrackingProcess from "./WorkItemTrackingProcess";
71
+ export { WorkItemTrackingProcess };
72
+ import * as WorkItemTrackingProcessDefinitions from "./WorkItemTrackingProcessDefinitions";
73
+ export { WorkItemTrackingProcessDefinitions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azure-devops-extension-api",
3
- "version": "5.271.0",
3
+ "version": "5.272.1",
4
4
  "description": "REST client libraries and contracts for Azure DevOps web extension developers.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- {"StdOut":"******************************************************************************\r\nMachine Information\r\nMachine Name: at-greenPBET5U\r\nMachine Ip: 10.0.0.7\r\nOperating System: Microsoft Windows NT 10.0.26100.0\r\nUser Name: at-greenPBET5U$\r\nProcessor Count: 4\r\nProcess Name: EsrpClient\r\nProcess Id: 11180\r\nCaller Program: EsrpClient.exe\r\nIdentity: NT AUTHORITY\\NETWORK SERVICE\r\nProcess Version: 1.2.142+Branch.master.Sha.90404b43284ec55b3e2251d0e272f8932aa583e2\r\nProcess Bitness: 64 bit\r\n******************************************************************************\r\nCommandline received: Sign | -a | c:\\Temp\\AzureTemp\\TFSTemp\\vctmp2560_729705.json | -p | c:\\Temp\\AzureTemp\\TFSTemp\\vctmp2560_876001.json | -c | c:\\Temp\\AzureTemp\\TFSTemp\\vctmp2560_125337.json | -i | c:\\Temp\\AzureTemp\\TFSTemp\\vctmp3644_42125.json | -o | c:\\Temp\\AzureTemp\\TFSTemp\\v29DF0.tmp | -l | Verbose ESRP session Id is: 4b9403cc-08e1-4ecf-92ce-597eb5e4d7ad\r\n2026-05-04T23:15:03.7956927Z:Command you are trying to use is: Sign\r\n2026-05-04T23:15:03.8018327Z:Correlation Vector for this run is: 65bb7478-e41a-4e82-9de2-6bfdd7f5e726\r\n2026-05-04T23:15:03.8018327Z:Groupid for this run is empty\r\n2026-05-04T23:15:03.9005889Z:request signing cert being used is this thumbprint: CDB803291C204BC98FE987B31030AAC9E75B32FD in store LocalMachine\\My\r\n2026-05-04T23:15:03.9005889Z:Both certificates validation passed.\r\n2026-05-04T23:15:03.9022679Z:The auth cert we choose to use, subject name is: CN=0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f.microsoft.com, thumbprint is: 7918792430054F4DD63CAE7E9982ABF6765F2458\r\n2026-05-04T23:15:03.9553500Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:03Z] ConfidentialClientApplication 37368736 created\r\n2026-05-04T23:15:03.9570626Z:Gateway Client: Enter AuthenticationProvider, no calls to AAD yet, client id is 0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f, and resource url is https://msazurecloud.onmicrosoft.com/api.esrp.microsoft.com, tenant id is 33e01921-4d64-4f8c-a055-5bdaffd5e33d\r\n2026-05-04T23:15:03.9618805Z:There is no memory mapped file accociated with this name: api.esrp.microsoft.com_0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f_33e01921-4d64-4f8c-a055-5bdaffd5e33d\r\n2026-05-04T23:15:03.9638982Z:AAD auth caching is in use with this name: api.esrp.microsoft.com_0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f_33e01921-4d64-4f8c-a055-5bdaffd5e33d\r\n2026-05-04T23:15:03.9743023Z:Validate and Renew Token if necessary finished: 00:00:00.0088957\r\n2026-05-04T23:15:04.0613207Z:Session request is: {\r\n \"expiresAfter\": \"3.00:00:00\",\r\n \"partitionCount\": 0,\r\n \"isProvisionStorage\": true,\r\n \"isLegacyCopsModel\": false,\r\n \"commandName\": \"Sign\",\r\n \"intent\": \"digestsign\",\r\n \"contentType\": \"Bin\",\r\n \"contentOrigin\": \"3rd Party\",\r\n \"productState\": null,\r\n \"audience\": \"External Broad\"\r\n}\r\n2026-05-04T23:15:04.0937129Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z] ConfidentialClientApplication 29578451 created\r\n2026-05-04T23:15:04.0937129Z:Gateway Client: Enter AuthenticationProvider, no calls to AAD yet, client id is 0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f, and resource url is https://msazurecloud.onmicrosoft.com/api.esrp.microsoft.com, tenant id is 33e01921-4d64-4f8c-a055-5bdaffd5e33d\r\n2026-05-04T23:15:04.1022506Z:Gateway Client: a new client and client id is created: b88db521-de8f-418f-8941-11bfb70b4669\r\n2026-05-04T23:15:04.1417828Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] MSAL MSAL.Desktop with assembly version '4.70.0.0'. CorrelationId(6b0add69-3c9d-4a04-b850-8f5142de4f82)\r\n2026-05-04T23:15:04.1547033Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] === AcquireTokenForClientParameters ===\r\nSendX5C: True\r\nForceRefresh: False\r\nAccessTokenHashToRefresh: False\r\n\r\n2026-05-04T23:15:04.1673120Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] \r\n=== Request Data ===\r\nAuthority Provided? - True\r\nScopes - https://msazurecloud.onmicrosoft.com/api.esrp.microsoft.com/.default\r\nExtra Query Params Keys (space separated) - \r\nApiId - AcquireTokenForClient\r\nIsConfidentialClient - True\r\nSendX5C - True\r\nLoginHint ? False\r\nIsBrokerConfigured - False\r\nHomeAccountId - False\r\nCorrelationId - 6b0add69-3c9d-4a04-b850-8f5142de4f82\r\nUserAssertion set: False\r\nLongRunningOboCacheKey set: False\r\nRegion configured: \r\n\r\n2026-05-04T23:15:04.1681006Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] === Token Acquisition (ClientCredentialRequest) started:\r\n\t Scopes: https://msazurecloud.onmicrosoft.com/api.esrp.microsoft.com/.default\r\n\tAuthority Host: login.microsoftonline.com\r\n2026-05-04T23:15:04.1833152Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [Internal cache] Total number of cache partitions found while getting access tokens: 0\r\n2026-05-04T23:15:04.1833152Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [FindAccessTokenAsync] Discovered 0 access tokens in cache using partition key: 0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f_33e01921-4d64-4f8c-a055-5bdaffd5e33d_AppTokenCache\r\n2026-05-04T23:15:04.1833152Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [FindAccessTokenAsync] No access tokens found in the cache. Skipping filtering. \r\n2026-05-04T23:15:04.1942124Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [Instance Discovery] Instance discovery is enabled and will be performed\r\n2026-05-04T23:15:04.1968679Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [Region discovery] WithAzureRegion not configured. \r\n2026-05-04T23:15:04.1968679Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [Region discovery] Not using a regional authority. \r\n2026-05-04T23:15:04.2008935Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [Instance Discovery] Tried to use network cache provider for login.microsoftonline.com. Success? False. \r\n2026-05-04T23:15:04.2106742Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Fetching instance discovery from the network from host login.microsoftonline.com. \r\n2026-05-04T23:15:04.2301877Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Starting [Oauth2Client] Sending GET request \r\n2026-05-04T23:15:04.2331730Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Starting [HttpManager] ExecuteAsync\r\n2026-05-04T23:15:04.2405594Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [HttpManager] Sending request. Method: GET. Host: https://login.microsoftonline.com. Binding Certificate: False \r\n2026-05-04T23:15:04.6934884Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [HttpManager] Received response. Status code: OK. \r\n2026-05-04T23:15:04.7045502Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Finished [HttpManager] ExecuteAsync in 472 ms\r\n2026-05-04T23:15:04.7045502Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Finished [Oauth2Client] Sending GET request in 476 ms\r\n2026-05-04T23:15:04.7147123Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Starting [OAuth2Client] Deserializing response\r\n2026-05-04T23:15:04.8384846Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Finished [OAuth2Client] Deserializing response in 123 ms\r\n2026-05-04T23:15:04.8400907Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [Instance Discovery] Tried to use network cache provider for login.microsoftonline.com. Success? True. \r\n2026-05-04T23:15:04.8400907Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [Instance Discovery] After hitting the discovery endpoint, the network provider found an entry for login.microsoftonline.com ? True. \r\n2026-05-04T23:15:04.8445362Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Authority validation enabled? True. \r\n2026-05-04T23:15:04.8445362Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Authority validation - is known env? True. \r\n2026-05-04T23:15:04.8614643Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Starting TokenClient:SendTokenRequestAsync\r\n2026-05-04T23:15:04.8652685Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [TokenClient] Before adding the client assertion / secret\r\n2026-05-04T23:15:04.8652685Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Building assertion from certificate with clientId: 0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f at endpoint: https://login.microsoftonline.com/33e01921-4d64-4f8c-a055-5bdaffd5e33d/oauth2/v2.0/token\r\n2026-05-04T23:15:04.8652685Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Proceeding with JWT token creation and adding client assertion.\r\n2026-05-04T23:15:04.8941921Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [TokenClient] After adding the client assertion / secret\r\n2026-05-04T23:15:04.9031301Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [Token Client] Fetching MsalTokenResponse .... \r\n2026-05-04T23:15:04.9031301Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Starting [Oauth2Client] Sending POST request \r\n2026-05-04T23:15:04.9089159Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Starting [HttpManager] ExecuteAsync\r\n2026-05-04T23:15:04.9089159Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:04Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [HttpManager] Sending request. Method: POST. Host: https://login.microsoftonline.com. Binding Certificate: False \r\n2026-05-04T23:15:05.1165455Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [HttpManager] Received response. Status code: OK. \r\n2026-05-04T23:15:05.1175605Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Finished [HttpManager] ExecuteAsync in 208 ms\r\n2026-05-04T23:15:05.1175605Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Finished [Oauth2Client] Sending POST request in 214 ms\r\n2026-05-04T23:15:05.1178607Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Starting [OAuth2Client] Deserializing response\r\n2026-05-04T23:15:05.1328798Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Finished [OAuth2Client] Deserializing response in 16 ms\r\n2026-05-04T23:15:05.1328798Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] ScopeSet was missing from the token response, so using developer provided scopes in the result. \r\n2026-05-04T23:15:05.1328798Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Finished TokenClient:SendTokenRequestAsync in 272 ms\r\n2026-05-04T23:15:05.1339050Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Checking client info returned from the server..\r\n2026-05-04T23:15:05.1339050Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Saving token response to cache..\r\n2026-05-04T23:15:05.1415599Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] \r\n[MsalTokenResponse]\r\nError: \r\nErrorDescription: \r\nScopes: https://msazurecloud.onmicrosoft.com/api.esrp.microsoft.com/.default\r\nExpiresIn: 86399\r\nRefreshIn: 43199\r\nAccessToken returned: True\r\nAccessToken Type: Bearer\r\nRefreshToken returned: False\r\nIdToken returned: False\r\nClientInfo returned: False\r\nFamilyId: \r\nWamAccountId exists: False\r\n2026-05-04T23:15:05.1431345Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [SaveTokenResponseAsync] ID Token not present in response. \r\n2026-05-04T23:15:05.1441525Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Cannot determine home account ID - or id token or no client info and no subject \r\n2026-05-04T23:15:05.1486277Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [SaveTokenResponseAsync] Entering token cache semaphore. Count Real semaphore: True. Count: 1.\r\n2026-05-04T23:15:05.1486277Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [SaveTokenResponseAsync] Entered token cache semaphore. \r\n2026-05-04T23:15:05.1486277Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [SaveTokenResponseAsync] Saving AT in cache and removing overlapping ATs...\r\n2026-05-04T23:15:05.1513641Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Looking for scopes for the authority in the cache which intersect with https://msazurecloud.onmicrosoft.com/api.esrp.microsoft.com/.default\r\n2026-05-04T23:15:05.1513641Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z] [Internal cache] Total number of cache partitions found while getting access tokens: 0\r\n2026-05-04T23:15:05.1513641Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Intersecting scope entries count - 0\r\n2026-05-04T23:15:05.1531664Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Not saving to ADAL legacy cache. \r\n2026-05-04T23:15:05.1531664Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] [SaveTokenResponseAsync] Released token cache semaphore. \r\n2026-05-04T23:15:05.1551850Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] \r\n\t=== Token Acquisition finished successfully:\r\n2026-05-04T23:15:05.1568269Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] AT expiration time: 5/5/2026 11:15:04 PM +00:00, scopes: https://msazurecloud.onmicrosoft.com/api.esrp.microsoft.com/.default. source: IdentityProvider\r\n2026-05-04T23:15:05.1572020Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] Fetched access token from host login.microsoftonline.com. \r\n2026-05-04T23:15:05.1572020Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] \r\n[LogMetricsFromAuthResult] Cache Refresh Reason: NoCachedAccessToken\r\n[LogMetricsFromAuthResult] DurationInCacheInMs: 0\r\n[LogMetricsFromAuthResult] DurationTotalInMs: 996\r\n[LogMetricsFromAuthResult] DurationInHttpInMs: 659\r\n2026-05-04T23:15:05.1572020Z:MSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:05Z - 6b0add69-3c9d-4a04-b850-8f5142de4f82] TokenEndpoint: ****\r\n2026-05-04T23:15:05.1722348Z:Use AAD token. CERT\r\n2026-05-04T23:15:05.1823894Z:New Token Acquisition Time: 00:00:01.0688357\r\n2026-05-04T23:15:05.2032510Z:Gateway Client: the client id that is sending a request is: b88db521-de8f-418f-8941-11bfb70b4669\r\n2026-05-04T23:15:06.0034336Z:Gateway Client: response send time from cloud gateway: 2026-05-04T23:15:05.8891289+00:00\r\n2026-05-04T23:15:06.0034336Z:Gateway Client: response receive time from client SendAsync: 2026-05-04T23:15:06.0034336+00:00\r\n2026-05-04T23:15:06.0034336Z:Gateway Client: response duration time between cloud gateway and client SendAsync: 00:00:00.1143047\r\n2026-05-04T23:15:06.0887715Z:Session request requestid: 4c3c0115-9de7-4dc0-831b-e944aee7ee67, and submission status is: Pass\r\n2026-05-04T23:15:06.1430928Z:Provision storage complete. Total shards: 100\r\n2026-05-04T23:15:06.1471413Z:Loading DigestSignErrorMappingCache mapping info\r\n2026-05-04T23:15:06.1540282Z:DigestSignErrorMappingCache from server, # of DigestSignOperationErrorPatterns object we get is :: \r\n2026-05-04T23:15:06.1766369Z:Consolidate DigestSignErrorMappingCache, # of DigestSignOperationErrorPatterns object we get is :: 34\r\n2026-05-04T23:15:06.1782937Z:Successfully retrieved policy: policy is {\"policy\":{\"id\":\"0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f-0\",\"workflowExecutionType\":3}}\r\n2026-05-04T23:15:06.1878979Z:Successfully get telemetry connection string: Endpo......\r\n2026-05-04T23:15:06.1899214Z:Warning: \r\n2026-05-04T23:15:06.1930766Z:IAuthInfo constructed: {\r\n \"authenticationType\": \"AAD_CERT\",\r\n \"clientId\": \"0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f\",\r\n \"tenantId\": \"33e01921-4d64-4f8c-a055-5bdaffd5e33d\",\r\n \"aadAuthorityBaseUri\": \"https://login.microsoftonline.com/\",\r\n \"authCert\": {\r\n \"storeLocation\": \"LocalMachine\",\r\n \"storeName\": \"My\",\r\n \"subjectName\": \"CN=0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f.microsoft.com\",\r\n \"sendX5c\": true,\r\n \"withAzureRegion\": false,\r\n \"getCertFromKeyVault\": false,\r\n \"keyVaultName\": null,\r\n \"keyVaultCertName\": null\r\n },\r\n \"requestSigningCert\": {\r\n \"storeLocation\": \"LocalMachine\",\r\n \"storeName\": \"My\",\r\n \"subjectName\": \"CN=0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f\",\r\n \"sendX5c\": false,\r\n \"withAzureRegion\": false,\r\n \"getCertFromKeyVault\": false,\r\n \"keyVaultName\": null,\r\n \"keyVaultCertName\": null\r\n },\r\n \"oAuthToken\": null,\r\n \"version\": \"1.0.0\",\r\n \"esrpClientId\": \"0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f\",\r\n \"federatedTokenData\": null,\r\n \"federatedTokenPath\": null\r\n}\r\n2026-05-04T23:15:06.1939637Z:IPolicyInfo constructed: {\r\n \"intent\": \"digestsign\",\r\n \"contentType\": \"Bin\",\r\n \"contentOrigin\": \"3rd Party\",\r\n \"productState\": null,\r\n \"audience\": \"External Broad\",\r\n \"version\": \"1.0.0\"\r\n}\r\n2026-05-04T23:15:06.1977670Z:IConfigInfo constructed: {\r\n \"esrpApiBaseUri\": \"https://api.esrp.microsoft.com/api/v2/\",\r\n \"esrpSessionTimeoutInSec\": 60,\r\n \"minThreadPoolThreads\": 16,\r\n \"maxDegreeOfParallelism\": 16,\r\n \"exponentialFirstFastRetry\": true,\r\n \"exponentialRetryCount\": 2,\r\n \"exponentialRetryDeltaBackOff\": \"00:00:05\",\r\n \"exponentialRetryMaxBackOff\": \"00:01:00\",\r\n \"exponentialRetryMinBackOff\": \"00:00:03\",\r\n \"appDataFolder\": \"C:\\\\Windows\\\\ServiceProfiles\\\\NetworkService\\\\AppData\\\\Local\",\r\n \"certificateCacheFolder\": null,\r\n \"version\": \"1.0.0\",\r\n \"exitOnFlaggedFile\": false,\r\n \"flaggedFileClientWaitTimeout\": \"1.00:00:00\",\r\n \"servicePointManagerDefaultConnectionLimit\": 16,\r\n \"isOnPremGateway\": false,\r\n \"diagnosticListeners\": null,\r\n \"securityProtocolType\": \"Tls12\",\r\n \"parallelOperationsInFileUploadDownload\": 300,\r\n \"maxTelemetryBuffer\": 200000,\r\n \"telemetryTimeoutInSec\": 0,\r\n \"resourceUri\": \"https://msazurecloud.onmicrosoft.com/api.esrp.microsoft.com\",\r\n \"cacheRootFolder\": null,\r\n \"cachedFileTTLInMin\": 7200\r\n}\r\n2026-05-04T23:15:06.4215877Z:Client Telemetry: Xpert agent is not running on the machine. Using events hub for processing client telemetry.\r\n2026-05-04T23:15:06.5931724Z:Key: TotalSignOperationDataCount, Value: 1\r\n2026-05-04T23:15:06.6065174Z:Start Time:5/4/2026 11:15:06 PM, Starting the sign workflow...\r\n2026-05-04T23:15:06.6156467Z:some input info: {\r\n \"contextData\": {\r\n \"build_buildnumber\": \"AzureDevOps_M272_20260409.11\",\r\n \"esrpClientVersion\": \"1.2.142+Branch.master.Sha.90404b43284ec55b3e2251d0e272f8932aa583e2\",\r\n \"userIpAddress\": \"10.0.0.7\",\r\n \"userAgent\": \"at-greenPBET5U\"\r\n },\r\n \"sourceDirectory\": null,\r\n \"sourceLocation\": \"c:\\\\Temp\\\\AzureTemp\\\\csosccuo.tph\\\\manifest.cat\",\r\n \"destinationDirectory\": null,\r\n \"destinationLocation\": \"c:\\\\Temp\\\\AzureTemp\\\\csosccuo.tph\\\\manifest.cat\",\r\n \"sizeInBytes\": 0,\r\n \"name\": \"manifest.cat\",\r\n \"isSuccess\": null,\r\n \"operationStartedAt\": \"0001-01-01T00:00:00+00:00\",\r\n \"operationEndedAt\": \"0001-01-01T00:00:00+00:00\",\r\n \"operationDurationMS\": 0,\r\n \"processName\": \"EsrpClient\",\r\n \"processId\": 11180,\r\n \"processVersion\": \"1.2.142+Branch.master.Sha.90404b43284ec55b3e2251d0e272f8932aa583e2\",\r\n \"customerCorrelationId\": null,\r\n \"esrpClientSessionGuid\": \"4b9403cc-08e1-4ecf-92ce-597eb5e4d7ad\",\r\n \"callerProgram\": \"EsrpClient\",\r\n \"indentity\": \"NT AUTHORITY\\\\NETWORK SERVICE\",\r\n \"clientId\": \"0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f\",\r\n \"exceptionData\": null,\r\n \"apiBaseUrl\": \"https://api.esrp.microsoft.com/api/v2/\",\r\n \"handlerWorkflow\": \"Sign\",\r\n \"submissionRequest\": {\r\n \"contextData\": {\r\n \"build_buildnumber\": \"AzureDevOps_M272_20260409.11\",\r\n \"esrpClientVersion\": \"1.2.142+Branch.master.Sha.90404b43284ec55b3e2251d0e272f8932aa583e2\",\r\n \"userIpAddress\": \"10.0.0.7\",\r\n \"userAgent\": \"at-greenPBET5U\"\r\n },\r\n \"groupId\": null,\r\n \"correlationVector\": \"65bb7478-e41a-4e82-9de2-6bfdd7f5e726\",\r\n \"driEmail\": null,\r\n \"version\": \"1.0.0\"\r\n },\r\n \"policyInfo\": {\r\n \"intent\": \"digestsign\",\r\n \"contentType\": \"Bin\",\r\n \"contentOrigin\": \"3rd Party\",\r\n \"productState\": null,\r\n \"audience\": \"External Broad\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"osVersion\": \"Microsoft Windows NT 10.0.26100.0\",\r\n \"executingMachineIPAddress\": \"10.0.0.7\"\r\n}\r\n2026-05-04T23:15:06.6619199Z:Executing SignWorkflowType is DigestSignStaticAzure\r\n2026-05-04T23:15:06.6779515Z:Source file \"c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\" hashed in 3 ms\r\n2026-05-04T23:15:06.7107120Z:Thread: 1 - Certificate file mutex \"WTICzCagrOtykwsRdCJh/9IAJwuSReX6xdQaJ0ar+iU=_CP-464321\" acquired (waited 0 ms).\r\nMSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:06Z] ConfidentialClientApplication 44123454 created\r\n2026-05-04T23:15:06.7211986Z:Gateway Client: Enter AuthenticationProvider, no calls to AAD yet, client id is 0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f, and resource url is https://msazurecloud.onmicrosoft.com/api.esrp.microsoft.com, tenant id is 33e01921-4d64-4f8c-a055-5bdaffd5e33d\r\n2026-05-04T23:15:06.7232188Z:Cached token found with name: api.esrp.microsoft.com_0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f_33e01921-4d64-4f8c-a055-5bdaffd5e33d\r\n2026-05-04T23:15:06.7232188Z:AAD auth caching is in use with this name: api.esrp.microsoft.com_0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f_33e01921-4d64-4f8c-a055-5bdaffd5e33d\r\n2026-05-04T23:15:06.7953545Z:Global cached token is valid from 5/4/2026 11:10:05 PM to 5/5/2026 11:15:05 PM (UTC). Total validity from current time is 86398.2059353 seconds\r\n2026-05-04T23:15:06.7953545Z:Validate and Renew Token if necessary finished: 00:00:00.0716287\r\nMSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:06Z] ConfidentialClientApplication 20852350 created\r\n2026-05-04T23:15:06.7953545Z:Gateway Client: Enter AuthenticationProvider, no calls to AAD yet, client id is 0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f, and resource url is https://msazurecloud.onmicrosoft.com/api.esrp.microsoft.com, tenant id is 33e01921-4d64-4f8c-a055-5bdaffd5e33d\r\n2026-05-04T23:15:06.7953545Z:Gateway Client: a new client and client id is created: f572c19e-6cb1-444d-ad3f-4bdc8db3de60\r\n2026-05-04T23:15:06.7953545Z:5/4/2026 11:15:06 PM +00:00:Digest Signing Factory Client type loaded is - [AzureGatewaySubmitter].\r\n2026-05-04T23:15:06.8021552Z:Existing Token Acquisition Time: 00:00:00.0003931\r\n2026-05-04T23:15:06.8676231Z:Gateway Client: the client id that is sending a request is: f572c19e-6cb1-444d-ad3f-4bdc8db3de60\r\n2026-05-04T23:15:07.0578958Z:Gateway Client: response send time from cloud gateway: 2026-05-04T23:15:07.0408725+00:00\r\n2026-05-04T23:15:07.0586582Z:Gateway Client: response receive time from client SendAsync: 2026-05-04T23:15:07.0586582+00:00\r\n2026-05-04T23:15:07.0586582Z:Gateway Client: response duration time between cloud gateway and client SendAsync: 00:00:00.0177857\r\n2026-05-04T23:15:07.0617291Z:Gateway Client: response time after converting from http response to object: 2026-05-04T23:15:07.0617291+00:00\r\n2026-05-04T23:15:07.5889293Z:Existing Token Acquisition Time: 00:00:00.0007041\r\n2026-05-04T23:15:07.5929534Z:Gateway Client: the client id that is sending a request is: f572c19e-6cb1-444d-ad3f-4bdc8db3de60\r\n2026-05-04T23:15:07.6155433Z:Client Telemetry: Events published in this batch: 4\r\n2026-05-04T23:15:07.6155433Z:Client Telemetry: Events received so far in this session: 4\r\n2026-05-04T23:15:07.6155433Z:Client Telemetry: Events published so far in this session: 4\r\n2026-05-04T23:15:07.8211539Z:Gateway Client: response send time from cloud gateway: 2026-05-04T23:15:07.7803958+00:00\r\n2026-05-04T23:15:07.8211539Z:Gateway Client: response receive time from client SendAsync: 2026-05-04T23:15:07.8211539+00:00\r\n2026-05-04T23:15:07.8220923Z:Gateway Client: response duration time between cloud gateway and client SendAsync: 00:00:00.0407581\r\n2026-05-04T23:15:07.8272167Z:Gateway Client: response time after converting from http response to object: 2026-05-04T23:15:07.8272167+00:00\r\n2026-05-04T23:15:07.8312545Z:Reading thumbprint from \"C:\\Windows\\ServiceProfiles\\NetworkService\\AppData\\Local\\EsrpClient_4b9403cc08e14ecf92ce597eb5e4d7ad\\Certificates\\CP-464321.p7b\" (9692 bytes)...\r\n2026-05-04T23:15:07.8568564Z:Thread: 1 - Wrote new certificate file to \"C:\\Windows\\ServiceProfiles\\NetworkService\\AppData\\Local\\EsrpClient_4b9403cc08e14ecf92ce597eb5e4d7ad\\Certificates\\CP-464321.p7b\".\r\n2026-05-04T23:15:07.8568564Z:Thread: 1 - Certificate file mutex \"WTICzCagrOtykwsRdCJh/9IAJwuSReX6xdQaJ0ar+iU=_CP-464321\" released (held for 1146 ms).\r\n2026-05-04T23:15:07.8572777Z:digest sign request expire time is: 5/4/2026 11:16:06 PM\r\n2026-05-04T23:15:10.7258207Z:Operation: c:\\AT\\sitesroot\\0\\bin\\Plugins\\ESRPClient\\Win10.x86\\signtool.exe sign /NPH /fd \"SHA256\" /f \"C:\\Windows\\ServiceProfiles\\NetworkService\\AppData\\Local\\EsrpClient_4b9403cc08e14ecf92ce597eb5e4d7ad\\Certificates\\CP-464321.p7b\" /sha1 \"464FA2A9D4A43EA5C3E53CE4562B501CB6EFA47F\" /du \"https://www.1eswiki.com/wiki/ADO_Manifest_Generator\" /d \"Packaging SSSC Codesign - DigestSign\" /tr \"http://aztss.trafficmanager.net/TSS/HttpTspServer\" /td sha256 /dlib \"c:\\AT\\sitesroot\\0\\bin\\Plugins\\ESRPClient\\Win10.x86\\EsrpClient.Sign.DigestSignLib.dll\" /dmdf \"C:\\Windows\\ServiceProfiles\\NetworkService\\AppData\\Local\\EsrpClient_4b9403cc08e14ecf92ce597eb5e4d7ad\\282FB36DD87D4AC498543C3F563E1BED.json\" \"c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\" completed in 2868 ms\r\nExit Code: 0\r\nStdOut:\r\nDone Adding Additional Store\r\n\r\nESRP Digest Signing\r\n\r\n2026-05-04T23:15:08.6580313Z:Digest Signer : SecurityProtocolType used from the metadata info is : Tls12\r\nMSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:08Z] ConfidentialClientApplication 654897 created\r\n2026-05-04T23:15:08.7866427Z:Cached token found with name: api.esrp.microsoft.com_0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f_33e01921-4d64-4f8c-a055-5bdaffd5e33d\r\n2026-05-04T23:15:08.7886575Z:AAD auth caching is in use with this name: api.esrp.microsoft.com_0d3b5b1a-8684-4f3a-b294-66c3b9aa8c8f_33e01921-4d64-4f8c-a055-5bdaffd5e33d\r\n2026-05-04T23:15:08.8971019Z:Global cached token is valid from 5/4/2026 11:10:05 PM to 5/5/2026 11:15:05 PM (UTC). Total validity from current time is 86396.1028981 seconds\r\n2026-05-04T23:15:08.8976877Z:Validate and Renew Token if necessary finished: 00:00:00.1082873\r\nMSAL logging: False MSAL 4.70.0.0 MSAL.Desktop 4.8 or later Windows Server 2025 Datacenter Azure Edition [2026-05-04 23:15:08Z] ConfidentialClientApplication 49044892 created\r\n2026-05-04T23:15:08.9571010Z:Existing Token Acquisition Time: 00:00:00.0022451\r\n2026-05-04T23:15:09.6383844Z:Gateway Submission Request Signing Time: 00:00:00.1325643\r\n2026-05-04T23:15:09.6383844Z:Gateway Submission Request Send Time: 00:00:00.5254451\r\n2026-05-04T23:15:09.6383844Z:Gateway Submission Overall Submission Time: 00:00:00.6787081\r\n2026-05-04T23:15:09.6383844Z:Operation ID: 80b38aad-6af1-4618-a8e3-1467504a6b0e\r\n2026-05-04T23:15:10.1406329Z:Gateway Status Delay Time: 00:00:00.5024675\r\n2026-05-04T23:15:10.1519560Z:Existing Token Acquisition Time: 00:00:00.0008006\r\n2026-05-04T23:15:10.3968602Z:Gateway Status Request Send Time: 00:00:00.2415723\r\n2026-05-04T23:15:10.3968602Z:Gateway Status Overall Time: 00:00:00.2440019\r\n2026-05-04T23:15:10.4067454Z:Gateway Submission Duration: 977\r\n2026-05-04T23:15:10.4067454Z:Gateway Submission Attempts: 1\r\n2026-05-04T23:15:10.4067454Z:Gateway GetStatus Duration: 256\r\n2026-05-04T23:15:10.4067454Z:Gateway GetStatus Attempts: 1\r\n2026-05-04T23:15:10.4067454Z:$$5a9f5111cf8f42a0a0edc419862b95dc##_ThrottleCount: 0\r\n2026-05-04T23:15:10.4067454Z:$$65265a48891640eb86e148d3c9a627fa##_ThrottledTimeInSec: 0\r\n2026-05-04T23:15:10.4067454Z:Service Call: 1873.5948 ms\r\nSuccessfully signed: c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\r\n\r\n\r\n\r\nStdErr:\r\n\r\n\r\n\r\n\r\n2026-05-04T23:15:10.9032515Z:Warning: Operation: c:\\AT\\sitesroot\\0\\bin\\Plugins\\ESRPClient\\Win10.x86\\signtool.exe verify /pa /tw \"c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\" failed\r\nExit Code: 1\r\nStdOut:\r\nFile: c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\r\nIndex Algorithm Timestamp \r\n========================================\r\n\r\nNumber of errors: 1\r\n\r\n\r\n\r\nStdErr:\r\nSignTool Error: A certificate chain processed, but terminated in a root\r\n\tcertificate which is not trusted by the trust provider.\r\n\r\n\r\n\r\n\r\n2026-05-04T23:15:10.9046652Z:Warning: Warning: Operation Error (1) - Operation: signtool.exe verify /pa /tw \"c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\" - Retrying in 500 ms...\r\n2026-05-04T23:15:11.0419632Z:Warning: Operation: c:\\AT\\sitesroot\\0\\bin\\Plugins\\ESRPClient\\Win10.x86\\signtool.exe verify /pa /tw \"c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\" failed\r\nExit Code: 1\r\nStdOut:\r\nFile: c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\r\nIndex Algorithm Timestamp \r\n========================================\r\n\r\nNumber of errors: 1\r\n\r\n\r\n\r\nStdErr:\r\nSignTool Error: A certificate chain processed, but terminated in a root\r\n\tcertificate which is not trusted by the trust provider.\r\n\r\n\r\n\r\n\r\n2026-05-04T23:15:11.0419632Z:Warning: Warning: Operation Error (2) - Operation: signtool.exe verify /pa /tw \"c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\" - Retrying in 500 ms...\r\n2026-05-04T23:15:11.1862092Z:Client Telemetry: Events published in this batch: 3\r\n2026-05-04T23:15:11.1862092Z:Client Telemetry: Events received so far in this session: 7\r\n2026-05-04T23:15:11.1862092Z:Client Telemetry: Events published so far in this session: 7\r\n2026-05-04T23:15:11.6483104Z:Warning: Operation: c:\\AT\\sitesroot\\0\\bin\\Plugins\\ESRPClient\\Win10.x86\\signtool.exe verify /pa /tw \"c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\" failed\r\nExit Code: 1\r\nStdOut:\r\nFile: c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\r\nIndex Algorithm Timestamp \r\n========================================\r\n\r\nNumber of errors: 1\r\n\r\n\r\n\r\nStdErr:\r\nSignTool Error: A certificate chain processed, but terminated in a root\r\n\tcertificate which is not trusted by the trust provider.\r\n\r\n\r\n\r\n\r\n2026-05-04T23:15:11.6823936Z:\r\n2026-05-04T23:15:11.6832786Z:Error: System.AggregateException: One or more errors occurred. ---> MS.Ess.EsrpClient.Sign.Exceptions.EsrpDigestSignExecuteProcessFailedException: Operation: c:\\AT\\sitesroot\\0\\bin\\Plugins\\ESRPClient\\Win10.x86\\signtool.exe verify /pa /tw \"c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\" failed\r\nExit Code: 1\r\nStdOut:\r\nFile: c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\r\nIndex Algorithm Timestamp \r\n========================================\r\n\r\nNumber of errors: 1\r\n\r\n\r\n\r\nStdErr:\r\nSignTool Error: A certificate chain processed, but terminated in a root\r\n\tcertificate which is not trusted by the trust provider.\r\n\r\n\r\n\r\n\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.<>c__DisplayClass27_0.<ExecuteDigestSignOperation>b__1()\r\n at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()\r\n at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.ExecuteDigestSignOperation(Input digestSignInput, Operation digestSignOperation, SignOperationData fileEntry, SignStatusResponse completionResponse, SignCommandDefinition param, Guid correlationId, String correlationVector, CancellationToken cancellationToken, String requestId, String tmpDestinationLocation)\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.DigestSignInternal(Input digestSignInput, SignCommandDefinition param, Guid& correlationId, String correlationVector, CancellationToken cancellationToken, String groupId, SignOperationData fileEntry, Int32& signedFileCount, Int32& certRefreshCount, ConcurrentBag`1 completionResponses, RetryPolicy`1 operationRetryPolicy, String dynamicCertificateFile, String dynamicCertificateThumbprint, String requestId)\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.<>c__DisplayClass23_3.<DigestSignAsync>b__6(SignOperationData fileEntry)\r\n --- End of inner exception stack trace ---\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.<DigestSignAsync>d__23.MoveNext()\r\n---> (Inner Exception #0) MS.Ess.EsrpClient.Sign.Exceptions.EsrpDigestSignExecuteProcessFailedException: Operation: c:\\AT\\sitesroot\\0\\bin\\Plugins\\ESRPClient\\Win10.x86\\signtool.exe verify /pa /tw \"c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\" failed\r\nExit Code: 1\r\nStdOut:\r\nFile: c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\r\nIndex Algorithm Timestamp \r\n========================================\r\n\r\nNumber of errors: 1\r\n\r\n\r\n\r\nStdErr:\r\nSignTool Error: A certificate chain processed, but terminated in a root\r\n\tcertificate which is not trusted by the trust provider.\r\n\r\n\r\n\r\n\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.<>c__DisplayClass27_0.<ExecuteDigestSignOperation>b__1()\r\n at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()\r\n at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.ExecuteDigestSignOperation(Input digestSignInput, Operation digestSignOperation, SignOperationData fileEntry, SignStatusResponse completionResponse, SignCommandDefinition param, Guid correlationId, String correlationVector, CancellationToken cancellationToken, String requestId, String tmpDestinationLocation)\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.DigestSignInternal(Input digestSignInput, SignCommandDefinition param, Guid& correlationId, String correlationVector, CancellationToken cancellationToken, String groupId, SignOperationData fileEntry, Int32& signedFileCount, Int32& certRefreshCount, ConcurrentBag`1 completionResponses, RetryPolicy`1 operationRetryPolicy, String dynamicCertificateFile, String dynamicCertificateThumbprint, String requestId)\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.<>c__DisplayClass23_3.<DigestSignAsync>b__6(SignOperationData fileEntry)<---\r\n\r\n2026-05-04T23:15:11.7229181Z:Client Telemetry: Events published in this batch: 1\r\n2026-05-04T23:15:11.7229181Z:Client Telemetry: Events received so far in this session: 9\r\n2026-05-04T23:15:11.7229181Z:Client Telemetry: Events published so far in this session: 8\r\n2026-05-04T23:15:11.7235836Z:Constructing EsrpClientResponse\r\n2026-05-04T23:15:11.7253630Z:EsrpClientResponse is constructed\r\n2026-05-04T23:15:11.7613109Z:OperationDurationMs: 5072\r\n2026-05-04T23:15:11.7613109Z:DynamicCertGenerationTimeMs: 0\r\n2026-05-04T23:15:11.7613109Z:TimeToGetStorageShradsMs: 0\r\n2026-05-04T23:15:11.7613109Z:TotalScanSubmissionTimeMs: 0\r\n2026-05-04T23:15:11.7613109Z:ThrottleCount: 0\r\n2026-05-04T23:15:11.7613109Z:ThrottledTimeInSec: 0\r\n2026-05-04T23:15:11.7613109Z:\r\n2026-05-04T23:15:11.7613109Z:0/1 files signed in 00:00:05.072 (0 files/s, total number of certs refreshed: 0)\r\n2026-05-04T23:15:11.7653566Z:result json is: {\r\n \"submissionResponses\": [\r\n {\r\n \"fileStatusDetail\": [\r\n {\r\n \"sourceHash\": \"aZTEiiDgAh5L06jMaLLDxhUHaMGf+iq10aGKek5678c=\",\r\n \"hashType\": \"sha256\",\r\n \"destinationHash\": null,\r\n \"certificateThumbprint\": null,\r\n \"destinationLocation\": \"c:\\\\Temp\\\\AzureTemp\\\\csosccuo.tph\\\\manifest.cat\",\r\n \"destinationFileSizeInBytes\": 0,\r\n \"sourceLocation\": \"c:\\\\Temp\\\\AzureTemp\\\\csosccuo.tph\\\\manifest.cat\"\r\n }\r\n ],\r\n \"operationId\": \"80b38aad-6af1-4618-a8e3-1467504a6b0e\",\r\n \"customerCorrelationId\": \"65bb7478-e41a-4e82-9de2-6bfdd7f5e726\",\r\n \"statusCode\": \"failCanRetry\",\r\n \"errorInfo\": {\r\n \"code\": \"3138\",\r\n \"details\": {\r\n \"operation\": \"c:\\\\AT\\\\sitesroot\\\\0\\\\bin\\\\Plugins\\\\ESRPClient\\\\Win10.x86\\\\signtool.exe verify /pa /tw \\\"c:\\\\Temp\\\\AzureTemp\\\\csosccuo.tph\\\\manifest.cat\\\"\",\r\n \"exitCode\": \"1\",\r\n \"stdOut\": \"File: c:\\\\Temp\\\\AzureTemp\\\\csosccuo.tph\\\\manifest.cat\\r\\nIndex Algorithm Timestamp \\r\\n========================================\\r\\n\\r\\nNumber of errors: 1\\r\\n\\r\\n\\r\\n\",\r\n \"stdErr\": \"SignTool Error: A certificate chain processed, but terminated in a root\\r\\n\\tcertificate which is not trusted by the trust provider.\\r\\n\\r\\n\"\r\n },\r\n \"innerError\": null\r\n }\r\n }\r\n ],\r\n \"esrpClientSessionGuid\": \"4b9403cc-08e1-4ecf-92ce-597eb5e4d7ad\",\r\n \"version\": \"1.0.0\"\r\n}\r\n2026-05-04T23:15:11.8258646Z:Warning: \r\n\r\n2026-05-04T23:15:11.8258646Z:esrp-client-finalTime: 8878.0092\r\n2026-05-04T23:15:11.8258646Z:Final return code is: 1\r\n2026-05-04T23:15:11.8258646Z:ClientTelemetryDispose started, this is not affecting Exe reliability, only lost telemetry if error happens ***********************\r\n2026-05-04T23:15:11.8438781Z:Client Telemetry: Flushing telemetry buffer with timeout 0 ms\r\n2026-05-04T23:15:11.8459028Z:Client Telemetry: Flushing telemetry buffer completed within timeout (true/false): False\r\n2026-05-04T23:15:11.8459028Z:Client Telemetry: Disposing telemetry buffer and event hub client\r\n2026-05-04T23:15:11.9632991Z:Warning: event lost number: 3\r\n2026-05-04T23:15:11.9632991Z:total event processed number: 8\r\n2026-05-04T23:15:11.9632991Z:total event received number: 11\r\n2026-05-04T23:15:11.9632991Z:##EsrpClientTelemetry.TotalEventsProcessed##: 8\r\n2026-05-04T23:15:11.9632991Z:##EsrpClientTelemetry.TotalEventsReceived##: 11\r\n2026-05-04T23:15:11.9632991Z:##EsrpClientTelemetry.DisposeTimeMilliseconds##: 137\r\n2026-05-04T23:15:11.9632991Z:ClientTelemetryDispose ended ***********************\r\n","StdErr":"2026-05-04T23:15:11.6832786Z:Error: System.AggregateException: One or more errors occurred. ---> MS.Ess.EsrpClient.Sign.Exceptions.EsrpDigestSignExecuteProcessFailedException: Operation: c:\\AT\\sitesroot\\0\\bin\\Plugins\\ESRPClient\\Win10.x86\\signtool.exe verify /pa /tw \"c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\" failed\r\nExit Code: 1\r\nStdOut:\r\nFile: c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\r\nIndex Algorithm Timestamp \r\n========================================\r\n\r\nNumber of errors: 1\r\n\r\n\r\n\r\nStdErr:\r\nSignTool Error: A certificate chain processed, but terminated in a root\r\n\tcertificate which is not trusted by the trust provider.\r\n\r\n\r\n\r\n\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.<>c__DisplayClass27_0.<ExecuteDigestSignOperation>b__1()\r\n at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()\r\n at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.ExecuteDigestSignOperation(Input digestSignInput, Operation digestSignOperation, SignOperationData fileEntry, SignStatusResponse completionResponse, SignCommandDefinition param, Guid correlationId, String correlationVector, CancellationToken cancellationToken, String requestId, String tmpDestinationLocation)\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.DigestSignInternal(Input digestSignInput, SignCommandDefinition param, Guid& correlationId, String correlationVector, CancellationToken cancellationToken, String groupId, SignOperationData fileEntry, Int32& signedFileCount, Int32& certRefreshCount, ConcurrentBag`1 completionResponses, RetryPolicy`1 operationRetryPolicy, String dynamicCertificateFile, String dynamicCertificateThumbprint, String requestId)\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.<>c__DisplayClass23_3.<DigestSignAsync>b__6(SignOperationData fileEntry)\r\n --- End of inner exception stack trace ---\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.<DigestSignAsync>d__23.MoveNext()\r\n---> (Inner Exception #0) MS.Ess.EsrpClient.Sign.Exceptions.EsrpDigestSignExecuteProcessFailedException: Operation: c:\\AT\\sitesroot\\0\\bin\\Plugins\\ESRPClient\\Win10.x86\\signtool.exe verify /pa /tw \"c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\" failed\r\nExit Code: 1\r\nStdOut:\r\nFile: c:\\Temp\\AzureTemp\\csosccuo.tph\\manifest.cat\r\nIndex Algorithm Timestamp \r\n========================================\r\n\r\nNumber of errors: 1\r\n\r\n\r\n\r\nStdErr:\r\nSignTool Error: A certificate chain processed, but terminated in a root\r\n\tcertificate which is not trusted by the trust provider.\r\n\r\n\r\n\r\n\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.<>c__DisplayClass27_0.<ExecuteDigestSignOperation>b__1()\r\n at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()\r\n at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.ExecuteDigestSignOperation(Input digestSignInput, Operation digestSignOperation, SignOperationData fileEntry, SignStatusResponse completionResponse, SignCommandDefinition param, Guid correlationId, String correlationVector, CancellationToken cancellationToken, String requestId, String tmpDestinationLocation)\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.DigestSignInternal(Input digestSignInput, SignCommandDefinition param, Guid& correlationId, String correlationVector, CancellationToken cancellationToken, String groupId, SignOperationData fileEntry, Int32& signedFileCount, Int32& certRefreshCount, ConcurrentBag`1 completionResponses, RetryPolicy`1 operationRetryPolicy, String dynamicCertificateFile, String dynamicCertificateThumbprint, String requestId)\r\n at MS.Ess.EsrpClient.Sign.SignHandlers.SignJobHandler.<>c__DisplayClass23_3.<DigestSignAsync>b__6(SignOperationData fileEntry)<---\r\n\r\n","ExitCode":1,"RunningTime":"00:00:09.7822869"}