azure-pipelines-tasks: [BUG]: AzureFunctionApp@2 Fails to get deployment log for Flex Consumption Function App
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
AzureFunctionApp@2
Task version
2.255.0
Issue Description
We are using AzureFunctionApp@2 in a classic release pipeline on Azure DevOps. The release pipeline will start to fail due to an error:
2025-05-23T14:12:00.2185706Z ##[error]Error: Failed to deploy web package to Function App.
Failed to gte deployment logs.
Not Found (CODE: 404)
I’ve noticed that the deployment actually succeeds on the Function App so this appears to be just an issue with getting the status of the deployment. If I perform the GET request in a browser I am able to get the deployment status as well.
Task in Classic Release Pipeline:
(Hosted on Windows 2019 with VS2019)
steps:
- task: AzureFunctionApp@2
displayName: 'Azure Function App Deploy: REDACTED'
inputs:
connectedServiceNameARM: 'REDACTED'
appType: functionAppLinux
isFlexConsumption: true
appName: 'REDACTED'
package: '$(System.DefaultWorkingDirectory)/_REDACTED/function/build*.zip'
Function Details:
Plan Type: Flex Consumption
Operating System: Linux
Location: East US
Instance Memory: 2048 MB
Stack: .NET
.NET Version: dotnet8-isolated
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows 2019
Relevant log output
Error: Failed to deploy web package to Function App.
Failed to gte deployment logs.
Not Found (CODE: 404)
Full task logs with system.debug enabled
2025-05-23T14:11:55.8719883Z ##[debug]Evaluating condition for step: 'Azure Function App Deploy: REDACTED-funcapp'
2025-05-23T14:11:55.8720800Z ##[debug]Evaluating: succeeded()
2025-05-23T14:11:55.8721064Z ##[debug]Evaluating succeeded:
2025-05-23T14:11:55.8721521Z ##[debug]=> True
2025-05-23T14:11:55.8721800Z ##[debug]Result: True
2025-05-23T14:11:55.8722144Z ##[section]Starting: Azure Function App Deploy: REDACTED-funcapp
2025-05-23T14:11:55.8729306Z ==============================================================================
2025-05-23T14:11:55.8729453Z Task : Azure Functions Deploy
2025-05-23T14:11:55.8729541Z Description : Update a function app with .NET, Python, JavaScript, PowerShell, Java based web applications
2025-05-23T14:11:55.8729669Z Version : 2.255.0
2025-05-23T14:11:55.8729744Z Author : Microsoft Corporation
2025-05-23T14:11:55.8729826Z Help : https://aka.ms/azurefunctiontroubleshooting
2025-05-23T14:11:55.8729912Z ==============================================================================
2025-05-23T14:11:57.9430486Z ##[debug]Sku: FlexConsumption
2025-05-23T14:11:57.9484728Z ##[debug]Processed: ##vso[telemetry.publish area=TaskEndpointId;feature=AzureFunctionAppDeployment]{"endpointId":"REDACTED"}
2025-05-23T14:11:57.9498529Z ##[debug]package=D:\a\r1\a\_REDACTED\function\build*.zip
2025-05-23T14:11:57.9500987Z ##[debug]Finding files matching input: D:\a\r1\a\_REDACTED\function\build*.zip
2025-05-23T14:11:57.9501928Z ##[debug]Matching glob pattern: D:\a\r1\a\_REDACTED\function\build*.zip
2025-05-23T14:11:57.9502401Z ##[debug]Index of first wildcard: 52
2025-05-23T14:11:57.9502903Z ##[debug]find root dir: D:\a\r1\a\_REDACTED\function
2025-05-23T14:11:57.9503341Z ##[debug]findPath: 'D:\a\r1\a\_REDACTED\function'
2025-05-23T14:11:57.9503773Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false'
2025-05-23T14:11:57.9504205Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2025-05-23T14:11:57.9504624Z ##[debug]findOptions.followSymbolicLinks: 'true'
2025-05-23T14:11:57.9505032Z ##[debug]findOptions.skipMissingFiles: 'false'
2025-05-23T14:11:57.9505454Z ##[debug] D:\a\r1\a\_REDACTED\function (directory)
2025-05-23T14:11:57.9505896Z ##[debug] D:\a\r1\a\_REDACTED\function\build28942.zip (file)
2025-05-23T14:11:57.9506306Z ##[debug]2 results
2025-05-23T14:11:57.9506668Z ##[debug]patternRoot: ''
2025-05-23T14:11:57.9507721Z ##[debug]matchOptions.debug: 'undefined'
2025-05-23T14:11:57.9508122Z ##[debug]matchOptions.nobrace: 'undefined'
2025-05-23T14:11:57.9508522Z ##[debug]matchOptions.noglobstar: 'undefined'
2025-05-23T14:11:57.9508921Z ##[debug]matchOptions.dot: 'undefined'
2025-05-23T14:11:57.9509301Z ##[debug]matchOptions.noext: 'undefined'
2025-05-23T14:11:57.9510725Z ##[debug]matchOptions.nocase: 'true'
2025-05-23T14:11:57.9511213Z ##[debug]matchOptions.nonull: 'undefined'
2025-05-23T14:11:57.9511770Z ##[debug]matchOptions.matchBase: 'true'
2025-05-23T14:11:57.9512174Z ##[debug]matchOptions.nocomment: 'undefined'
2025-05-23T14:11:57.9512567Z ##[debug]matchOptions.nonegate: 'undefined'
2025-05-23T14:11:57.9512979Z ##[debug]matchOptions.flipNegate: 'undefined'
2025-05-23T14:11:57.9513399Z ##[debug]pattern: 'D:\a\r1\a\_REDACTED\function\build*.zip'
2025-05-23T14:11:57.9513811Z ##[debug]expanding braces
2025-05-23T14:11:57.9514218Z ##[debug]pattern: 'D:/a/r1/a/_REDACTED/function/build*.zip'
2025-05-23T14:11:57.9515400Z ##[debug]applying include pattern against original list
2025-05-23T14:11:57.9515793Z ##[debug]1 matches
2025-05-23T14:11:57.9516174Z ##[debug]1 final results
2025-05-23T14:11:57.9516561Z ##[debug]runtimeStack=undefined
2025-05-23T14:11:57.9516947Z ##[debug]deploymentMethod=auto
2025-05-23T14:11:57.9517343Z ##[debug]Deployment started for linux app service
2025-05-23T14:11:57.9517728Z ##[debug]release.releaseId=4907
2025-05-23T14:11:57.9518128Z ##[debug]system.defaultworkingdirectory=D:\a\r1\a
2025-05-23T14:11:57.9518565Z ##[debug]release.artifacts._REDACTED.definitionId=141
2025-05-23T14:11:57.9519003Z ##[debug]Artifact alias of package is: _REDACTED
2025-05-23T14:11:57.9519461Z ##[debug]set Azure_App_Service_Deploy_PackageArtifactAlias=_REDACTED
2025-05-23T14:11:57.9520263Z ##[debug]Processed: ##vso[task.setvariable variable=Azure_App_Service_Deploy_PackageArtifactAlias;isOutput=false;issecret=false;]_REDACTED
2025-05-23T14:11:57.9520749Z ##[debug]Predeployment Step Started
2025-05-23T14:11:57.9521144Z ##[debug]MSAL - getMSALToken called. force=undefined
2025-05-23T14:11:57.9521622Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Info - acquireTokenByClientCredential called
2025-05-23T14:11:57.9526125Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - initializeRequestScopes called
2025-05-23T14:11:57.9526720Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [b76f72f4-89e4-4f9f-91e7-8de1d5e3b4bb] : @azure/msal-node@2.11.1 : Verbose - buildOauthClientConfiguration called
2025-05-23T14:11:57.9527281Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [b76f72f4-89e4-4f9f-91e7-8de1d5e3b4bb] : @azure/msal-node@2.11.1 : Verbose - createAuthority called
2025-05-23T14:11:57.9527818Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityResolveEndpointsAsync
2025-05-23T14:11:57.9528332Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Retrieving all cache keys
2025-05-23T14:11:57.9528814Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:11:57.9529503Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: authority-metadata-***-login.windows.net
2025-05-23T14:11:57.9530004Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:11:57.9530526Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityUpdateCloudDiscoveryMetadata
2025-05-23T14:11:57.9531159Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Attempting to get cloud discovery metadata from authority configuration
2025-05-23T14:11:57.9531680Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Known Authorities:
2025-05-23T14:11:57.9532702Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Authority Metadata: N/A
2025-05-23T14:11:57.9533244Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Canonical Authority: https://login.microsoftonline.com/REDACTED/
2025-05-23T14:11:57.9533854Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values.
2025-05-23T14:11:57.9534522Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Found cloud discovery metadata from hardcoded values.
2025-05-23T14:11:57.9535060Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityUpdateCloudDiscoveryMetadata
2025-05-23T14:11:57.9535596Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityUpdateEndpointMetadata
2025-05-23T14:11:57.9536135Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Attempting to get endpoint metadata from authority configuration
2025-05-23T14:11:57.9536718Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
2025-05-23T14:11:57.9537337Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityUpdateEndpointMetadata
2025-05-23T14:11:57.9537999Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: authority-metadata-***-login.windows.net
2025-05-23T14:11:57.9538514Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:11:57.9539015Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Setting cache key value store
2025-05-23T14:11:57.9539524Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityResolveEndpointsAsync
2025-05-23T14:11:57.9540104Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Replacing tenant domain name REDACTED with id {tenantid}
2025-05-23T14:11:57.9540762Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [b76f72f4-89e4-4f9f-91e7-8de1d5e3b4bb] : @azure/msal-node@2.11.1 : Info - Building oauth client configuration with the following authority: https://login.microsoftonline.com/REDACTED/oauth2/v2.0/token.
2025-05-23T14:11:57.9541444Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [b76f72f4-89e4-4f9f-91e7-8de1d5e3b4bb] : @azure/msal-node@2.11.1 : Verbose - Client credential client created
2025-05-23T14:11:57.9542211Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting in-memory cache
2025-05-23T14:11:57.9542716Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:11:57.9543320Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: -login.windows.net-accesstoken-***-REDACTED-https://management.azure.com//.default--
2025-05-23T14:11:57.9543884Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:11:57.9544402Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata called with source: config
2025-05-23T14:11:57.9544938Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata called with source: hardcoded_values
2025-05-23T14:11:57.9545510Z ##[debug][Fri, 23 May 2025 14:11:57 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata: found cloud discovery metadata in hardcoded_values, returning aliases
2025-05-23T14:11:57.9546363Z ##[debug]MSAL - retrieved token - isFromCache?: true
2025-05-23T14:11:57.9546765Z ##[debug]CLIENT_RESETSTREAMONRETRY=undefined
2025-05-23T14:11:57.9547320Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED-rg/providers/Microsoft.Web/sites/REDACTED-funcapp/config/publishingcredentials/list?api-version=2016-08-01
2025-05-23T14:11:58.3671166Z ##[debug]Correlation ID from ARM api call response : 7f595b5c-056d-45a6-8a03-8df319d100a3
2025-05-23T14:11:58.3677631Z ##[debug]MSAL - getMSALToken called. force=undefined
2025-05-23T14:11:58.3678446Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Info - acquireTokenByClientCredential called
2025-05-23T14:11:58.3679142Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - initializeRequestScopes called
2025-05-23T14:11:58.3679864Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [53c4c7d5-a16f-4813-a0ee-27420c3bfe91] : @azure/msal-node@2.11.1 : Verbose - buildOauthClientConfiguration called
2025-05-23T14:11:58.3680524Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [53c4c7d5-a16f-4813-a0ee-27420c3bfe91] : @azure/msal-node@2.11.1 : Verbose - createAuthority called
2025-05-23T14:11:58.3681181Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityResolveEndpointsAsync
2025-05-23T14:11:58.3681815Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Retrieving all cache keys
2025-05-23T14:11:58.3682410Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:11:58.3683201Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: authority-metadata-***-login.windows.net
2025-05-23T14:11:58.3683957Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:11:58.3684569Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityUpdateCloudDiscoveryMetadata
2025-05-23T14:11:58.3685208Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Attempting to get cloud discovery metadata from authority configuration
2025-05-23T14:11:58.3685825Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Known Authorities:
2025-05-23T14:11:58.3686412Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Authority Metadata: N/A
2025-05-23T14:11:58.3687039Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Canonical Authority: https://login.microsoftonline.com/REDACTED/
2025-05-23T14:11:58.3687747Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values.
2025-05-23T14:11:58.3688419Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Found cloud discovery metadata from hardcoded values.
2025-05-23T14:11:58.3689052Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityUpdateCloudDiscoveryMetadata
2025-05-23T14:11:58.3689679Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityUpdateEndpointMetadata
2025-05-23T14:11:58.3690306Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Attempting to get endpoint metadata from authority configuration
2025-05-23T14:11:58.3690987Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
2025-05-23T14:11:58.3692571Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityUpdateEndpointMetadata
2025-05-23T14:11:58.3693273Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: authority-metadata-***-login.windows.net
2025-05-23T14:11:58.3693892Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:11:58.3694608Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Setting cache key value store
2025-05-23T14:11:58.3695219Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityResolveEndpointsAsync
2025-05-23T14:11:58.3695857Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Replacing tenant domain name REDACTED with id {tenantid}
2025-05-23T14:11:58.3696608Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [53c4c7d5-a16f-4813-a0ee-27420c3bfe91] : @azure/msal-node@2.11.1 : Info - Building oauth client configuration with the following authority: https://login.microsoftonline.com/REDACTED/oauth2/v2.0/token.
2025-05-23T14:11:58.3697361Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [53c4c7d5-a16f-4813-a0ee-27420c3bfe91] : @azure/msal-node@2.11.1 : Verbose - Client credential client created
2025-05-23T14:11:58.3697982Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting in-memory cache
2025-05-23T14:11:58.3698567Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:11:58.3699260Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: -login.windows.net-accesstoken-***-REDACTED-https://management.azure.com//.default--
2025-05-23T14:11:58.3699964Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:11:58.3700608Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata called with source: config
2025-05-23T14:11:58.3706264Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata called with source: hardcoded_values
2025-05-23T14:11:58.3707551Z ##[debug][Fri, 23 May 2025 14:11:58 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata: found cloud discovery metadata in hardcoded_values, returning aliases
2025-05-23T14:11:58.3708219Z ##[debug]MSAL - retrieved token - isFromCache?: true
2025-05-23T14:11:58.3708633Z ##[debug]CLIENT_RESETSTREAMONRETRY=undefined
2025-05-23T14:11:58.3709204Z ##[debug][GET]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED-rg/providers/Microsoft.Web/sites/REDACTED-funcapp/basicPublishingCredentialsPolicies/scm?api-version=2022-03-01
2025-05-23T14:11:58.4690602Z ##[debug]Correlation ID from ARM api call response : 39a6c649-137e-4b67-ab8a-9aee643b7e07
2025-05-23T14:11:58.4693211Z ##[debug]Site Publishing Policy check: {"id":"/subscriptions/REDACTED/resourceGroups/REDACTED-rg/providers/Microsoft.Web/sites/REDACTED-funcapp/basicPublishingCredentialsPolicies/scm","name":"scm","type":"Microsoft.Web/sites/basicPublishingCredentialsPolicies","location":"East US","tags":{"application":"","environment":"","hidden-link: /app-insights-resource-id":"/subscriptions/REDACTED/resourceGroups/REDACTED-rg/providers/microsoft.insights/components/REDACTED-ai","hidden-link: /app-insights-instrumentation-key":"REDACTED","hidden-link: /app-insights-conn-string":"InstrumentationKey=REDACTED;IngestionEndpoint=https://eastus-8.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/;ApplicationId=REDACTED"},"properties":{"allow":true}}
2025-05-23T14:11:58.4695932Z ##[debug]Web App does allow SCM access
2025-05-23T14:11:58.4696942Z ##[debug]set AZURE_APP_SERVICE_KUDU_production_PASSWORD=********
2025-05-23T14:11:58.4703702Z ##[debug]Processed: ##vso[task.setvariable variable=AZURE_APP_SERVICE_KUDU_production_PASSWORD;isOutput=false;issecret=true;]***
2025-05-23T14:11:58.4704720Z ##[debug]Using Basic authentication method for Kudu service.
2025-05-23T14:11:58.4765420Z ##[debug]Processed: ##vso[telemetry.publish area=TaskDeploymentMethod;feature=AzureFunctionAppDeployment]{"authMethod":"Basic"}
2025-05-23T14:11:58.4766132Z ##[debug]Deployment Step Started
2025-05-23T14:11:58.4811925Z ##[debug]Processed: ##vso[telemetry.publish area=TaskDeploymentMethod;feature=AzureFunctionAppDeployment]{"deploymentMethod":" Deployment for Flex Consumption"}
2025-05-23T14:11:58.4812459Z The Deployment Type option does not apply for Flex Consumption.
2025-05-23T14:11:58.4812878Z ##[debug]This is zip package
2025-05-23T14:11:58.4813271Z ##[debug]WebConfigParameters is undefined
2025-05-23T14:11:58.4813675Z ##[debug]File Tranformation not enabled
2025-05-23T14:11:58.4814137Z ##[debug]Initiated deployment via kudu service for functionapp package :
2025-05-23T14:11:58.4814788Z ##[debug]CLIENT_RESETSTREAMONRETRY=undefined
2025-05-23T14:11:58.4816672Z ##[debug][POST]https://$REDACTED-funcapp:***@REDACTED-funcapp.scm.azurewebsites.net/api/publish?remoteBuild=false&deployer=VSTS_FUNCTIONS_V2
2025-05-23T14:11:59.2761870Z ##[debug]loaded affinity cookie ["ARRAffinity=7887f7e55f67bbdaf7efc68b53622835aa3c0472b0eb6dabafce648b7777f1c8;Path=/;HttpOnly;Secure;Domain=REDACTED-funcapp.scm.azurewebsites.net","ARRAffinitySameSite=7887f7e55f67bbdaf7efc68b53622835aa3c0472b0eb6dabafce648b7777f1c8;Path=/;HttpOnly;SameSite=None;Secure;Domain=REDACTED-funcapp.scm.azurewebsites.net"]
2025-05-23T14:11:59.2763660Z ##[debug]One Deploy response: {"statusCode":202,"statusMessage":"Accepted","headers":{"content-type":"application/json; charset=utf-8","date":"Fri, 23 May 2025 14:11:58 GMT","server":"Kestrel","location":"https://REDACTED-funcapp.scm.azurewebsites.net/api/deployments/f22fcca0-b634-4e64-a597-ec5c0f8c6418","set-cookie":["ARRAffinity=7887f7e55f67bbdaf7efc68b53622835aa3c0472b0eb6dabafce648b7777f1c8;Path=/;HttpOnly;Secure;Domain=REDACTED-funcapp.scm.azurewebsites.net","ARRAffinitySameSite=7887f7e55f67bbdaf7efc68b53622835aa3c0472b0eb6dabafce648b7777f1c8;Path=/;HttpOnly;SameSite=None;Secure;Domain=REDACTED-funcapp.scm.azurewebsites.net"],"transfer-encoding":"chunked","request-context":"appId=","x-ms-correlation-id":"c64800ad-d0af-4b91-97dd-784c83c09774"},"body":"f22fcca0-b634-4e64-a597-ec5c0f8c6418"}
2025-05-23T14:11:59.2764870Z ##[debug]Polling for deployment ID: f22fcca0-b634-4e64-a597-ec5c0f8c6418
2025-05-23T14:11:59.2765675Z ##[debug]setting affinity cookie ["ARRAffinity=7887f7e55f67bbdaf7efc68b53622835aa3c0472b0eb6dabafce648b7777f1c8;Path=/;HttpOnly;Secure;Domain=REDACTED-funcapp.scm.azurewebsites.net","ARRAffinitySameSite=7887f7e55f67bbdaf7efc68b53622835aa3c0472b0eb6dabafce648b7777f1c8;Path=/;HttpOnly;SameSite=None;Secure;Domain=REDACTED-funcapp.scm.azurewebsites.net"]
2025-05-23T14:11:59.2766497Z ##[debug]CLIENT_RESETSTREAMONRETRY=undefined
2025-05-23T14:11:59.2768774Z ##[debug][GET]https://$REDACTED-funcapp:***@REDACTED-funcapp.scm.azurewebsites.net/api/deployments/f22fcca0-b634-4e64-a597-ec5c0f8c6418
2025-05-23T14:12:00.2157455Z ##[debug]Could not parse response: {}
2025-05-23T14:12:00.2158372Z ##[debug]Response: undefined
2025-05-23T14:12:00.2159205Z ##[debug]getDeploymentDetails. Data: {"statusCode":404,"statusMessage":"Not Found","headers":{"content-type":"text/plain; charset=utf-8","date":"Fri, 23 May 2025 14:11:59 GMT","server":"Kestrel","transfer-encoding":"chunked","request-context":"appId=","x-ms-correlation-id":"23066832-7c62-45fa-afd3-ce0ad326affb"},"body":"Deployment f22fcca0-b634-4e64-a597-ec5c0f8c6418 not found."}
2025-05-23T14:12:00.2160997Z ##[debug]Deployment Failed with Error: Error: Failed to deploy web package to Function App.
Failed to gte deployment logs.
Not Found (CODE: 404)
2025-05-23T14:12:00.2161916Z ##[debug]task result: Failed
2025-05-23T14:12:00.2185706Z ##[error]Error: Failed to deploy web package to Function App.
Failed to gte deployment logs.
Not Found (CODE: 404)
2025-05-23T14:12:00.2192670Z ##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;correlationId=f2c03c9f-33c8-4bbd-a5de-1072849bb62c;]Error: Failed to deploy web package to Function App.
Failed to gte deployment logs.
Not Found (CODE: 404)
2025-05-23T14:12:00.2194056Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: Failed to deploy web package to Function App.
Failed to gte deployment logs.
Not Found (CODE: 404)
2025-05-23T14:12:00.2194602Z ##[debug]MSAL - getMSALToken called. force=undefined
2025-05-23T14:12:00.2195098Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Info - acquireTokenByClientCredential called
2025-05-23T14:12:00.2195611Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - initializeRequestScopes called
2025-05-23T14:12:00.2196149Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [18918d10-501a-4d6c-8c58-50b7fe996855] : @azure/msal-node@2.11.1 : Verbose - buildOauthClientConfiguration called
2025-05-23T14:12:00.2196725Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [18918d10-501a-4d6c-8c58-50b7fe996855] : @azure/msal-node@2.11.1 : Verbose - createAuthority called
2025-05-23T14:12:00.2197269Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityResolveEndpointsAsync
2025-05-23T14:12:00.2197787Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Retrieving all cache keys
2025-05-23T14:12:00.2203391Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:00.2204219Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: authority-metadata-***-login.windows.net
2025-05-23T14:12:00.2204745Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:00.2205287Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityUpdateCloudDiscoveryMetadata
2025-05-23T14:12:00.2205845Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Attempting to get cloud discovery metadata from authority configuration
2025-05-23T14:12:00.2206372Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Known Authorities:
2025-05-23T14:12:00.2206860Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Authority Metadata: N/A
2025-05-23T14:12:00.2207410Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Canonical Authority: https://login.microsoftonline.com/REDACTED/
2025-05-23T14:12:00.2208135Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values.
2025-05-23T14:12:00.2208721Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Found cloud discovery metadata from hardcoded values.
2025-05-23T14:12:00.2209258Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityUpdateCloudDiscoveryMetadata
2025-05-23T14:12:00.2209796Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityUpdateEndpointMetadata
2025-05-23T14:12:00.2210993Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Attempting to get endpoint metadata from authority configuration
2025-05-23T14:12:00.2211575Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
2025-05-23T14:12:00.2212146Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityUpdateEndpointMetadata
2025-05-23T14:12:00.2212868Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: authority-metadata-***-login.windows.net
2025-05-23T14:12:00.2213390Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:00.2213885Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Setting cache key value store
2025-05-23T14:12:00.2214404Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityResolveEndpointsAsync
2025-05-23T14:12:00.2214962Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Replacing tenant domain name REDACTED with id {tenantid}
2025-05-23T14:12:00.2215660Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [18918d10-501a-4d6c-8c58-50b7fe996855] : @azure/msal-node@2.11.1 : Info - Building oauth client configuration with the following authority: https://login.microsoftonline.com/REDACTED/oauth2/v2.0/token.
2025-05-23T14:12:00.2216321Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [18918d10-501a-4d6c-8c58-50b7fe996855] : @azure/msal-node@2.11.1 : Verbose - Client credential client created
2025-05-23T14:12:00.2216841Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting in-memory cache
2025-05-23T14:12:00.2217338Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:00.2217961Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: -login.windows.net-accesstoken-***-REDACTED-https://management.azure.com//.default--
2025-05-23T14:12:00.2218524Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:00.2219044Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata called with source: config
2025-05-23T14:12:00.2219584Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata called with source: hardcoded_values
2025-05-23T14:12:00.2220159Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata: found cloud discovery metadata in hardcoded_values, returning aliases
2025-05-23T14:12:00.2220668Z ##[debug]MSAL - retrieved token - isFromCache?: true
2025-05-23T14:12:00.2221120Z ##[debug]CLIENT_RESETSTREAMONRETRY=undefined
2025-05-23T14:12:00.2221684Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED-rg/providers/Microsoft.Web/sites/REDACTED-funcapp/config/appsettings/list?api-version=2016-08-01
2025-05-23T14:12:00.6747198Z ##[debug]Correlation ID from ARM api call response : a9825ebf-3faa-49dd-ad93-6313c12f439a
2025-05-23T14:12:00.6756086Z ##[debug]MSAL - getMSALToken called. force=undefined
2025-05-23T14:12:00.6756926Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Info - acquireTokenByClientCredential called
2025-05-23T14:12:00.6757640Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - initializeRequestScopes called
2025-05-23T14:12:00.6758337Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [d0f56424-0d83-4741-80d2-59e8abf35b33] : @azure/msal-node@2.11.1 : Verbose - buildOauthClientConfiguration called
2025-05-23T14:12:00.6759810Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [d0f56424-0d83-4741-80d2-59e8abf35b33] : @azure/msal-node@2.11.1 : Verbose - createAuthority called
2025-05-23T14:12:00.6760547Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityResolveEndpointsAsync
2025-05-23T14:12:00.6761224Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Retrieving all cache keys
2025-05-23T14:12:00.6761963Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:00.6762799Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: authority-metadata-***-login.windows.net
2025-05-23T14:12:00.6763432Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:00.6764063Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityUpdateCloudDiscoveryMetadata
2025-05-23T14:12:00.6764717Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Attempting to get cloud discovery metadata from authority configuration
2025-05-23T14:12:00.6765348Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Known Authorities:
2025-05-23T14:12:00.6765954Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Authority Metadata: N/A
2025-05-23T14:12:00.6766605Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Canonical Authority: https://login.microsoftonline.com/REDACTED/
2025-05-23T14:12:00.6767420Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values.
2025-05-23T14:12:00.6768110Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Found cloud discovery metadata from hardcoded values.
2025-05-23T14:12:00.6768750Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityUpdateCloudDiscoveryMetadata
2025-05-23T14:12:00.6769390Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityUpdateEndpointMetadata
2025-05-23T14:12:00.6770038Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Attempting to get endpoint metadata from authority configuration
2025-05-23T14:12:00.6770727Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
2025-05-23T14:12:00.6771411Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityUpdateEndpointMetadata
2025-05-23T14:12:00.6772176Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: authority-metadata-***-login.windows.net
2025-05-23T14:12:00.6777152Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:00.6777887Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Setting cache key value store
2025-05-23T14:12:00.6778528Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityResolveEndpointsAsync
2025-05-23T14:12:00.6779203Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Replacing tenant domain name REDACTED with id {tenantid}
2025-05-23T14:12:00.6779999Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [d0f56424-0d83-4741-80d2-59e8abf35b33] : @azure/msal-node@2.11.1 : Info - Building oauth client configuration with the following authority: https://login.microsoftonline.com/REDACTED/oauth2/v2.0/token.
2025-05-23T14:12:00.6781415Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [d0f56424-0d83-4741-80d2-59e8abf35b33] : @azure/msal-node@2.11.1 : Verbose - Client credential client created
2025-05-23T14:12:00.6782060Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting in-memory cache
2025-05-23T14:12:00.6782771Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:00.6783558Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: -login.windows.net-accesstoken-***-REDACTED-https://management.azure.com//.default--
2025-05-23T14:12:00.6784375Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:00.6790315Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata called with source: config
2025-05-23T14:12:00.6791305Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata called with source: hardcoded_values
2025-05-23T14:12:00.6792004Z ##[debug][Fri, 23 May 2025 14:12:00 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata: found cloud discovery metadata in hardcoded_values, returning aliases
2025-05-23T14:12:00.6792650Z ##[debug]MSAL - retrieved token - isFromCache?: true
2025-05-23T14:12:00.6793151Z ##[debug]CLIENT_RESETSTREAMONRETRY=undefined
2025-05-23T14:12:00.6793712Z ##[debug][GET]https://management.azure.com/subscriptions/REDACTED/providers/microsoft.insights/components?$filter=InstrumentationKey eq 'REDACTED'&api-version=2015-05-01
2025-05-23T14:12:01.0044526Z ##[debug]Correlation ID from ARM api call response : c93064bd-2f6f-43a8-9559-20bec7292388
2025-05-23T14:12:01.0048120Z ##[debug]Release.ReleaseUri=vstfs:///ReleaseManagement/Release/4907
2025-05-23T14:12:01.0050040Z ##[debug]Build.BuildUri=vstfs:///Build/Build/28942
2025-05-23T14:12:01.0051298Z ##[debug]Release.DefinitionName=Gateway-ProductDataFeed-CD
2025-05-23T14:12:01.0051923Z ##[debug]Release.ReleaseName=Release-21
2025-05-23T14:12:01.0052415Z ##[debug]Build.BuildUri=vstfs:///Build/Build/28942
2025-05-23T14:12:01.0053033Z ##[debug]Release.ReleaseWebUrl=https://dev.azure.com/REDACTED/ae42d9ae-3f3b-4433-8ec1-e73b3370d85a/_release?releaseId=4907&_a=release-summary
2025-05-23T14:12:01.0053619Z ##[debug]System.TeamFoundationCollectionUri=https://dev.azure.com/REDACTED/
2025-05-23T14:12:01.0234930Z ##[debug]System.TeamProjectId=ae42d9ae-3f3b-4433-8ec1-e73b3370d85a
2025-05-23T14:12:01.0236113Z ##[debug]build.buildId=28942
2025-05-23T14:12:01.0257971Z ##[debug]Build.BuildNumber=20250523.1
2025-05-23T14:12:01.0273594Z ##[debug]Build.Repository.Name=ProductDataFeed
2025-05-23T14:12:01.0274561Z ##[debug]Build.Repository.Provider=TfsGit
2025-05-23T14:12:01.0275122Z ##[debug]Build.SourceBranch=refs/heads/main
2025-05-23T14:12:01.0275534Z ##[debug]Release.ReleaseId=4907
2025-05-23T14:12:01.0276040Z ##[debug]Release.ReleaseDescription=Triggered by REDACTED 20250523.1.
2025-05-23T14:12:01.0276557Z ##[debug]Release.DefinitionName=Gateway-ProductDataFeed-CD
2025-05-23T14:12:01.0277053Z ##[debug]Release.EnvironmentName=Stage Environment
2025-05-23T14:12:01.0277761Z ##[debug]Release.RequestedForId=c430699d-793c-62fa-ad91-6171bd382ad7
2025-05-23T14:12:01.0278266Z ##[debug]MSAL - getMSALToken called. force=undefined
2025-05-23T14:12:01.0278815Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Info - acquireTokenByClientCredential called
2025-05-23T14:12:01.0279397Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - initializeRequestScopes called
2025-05-23T14:12:01.0280239Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [51c68cda-d477-4cb3-99c7-424b5fc1a919] : @azure/msal-node@2.11.1 : Verbose - buildOauthClientConfiguration called
2025-05-23T14:12:01.0280862Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [51c68cda-d477-4cb3-99c7-424b5fc1a919] : @azure/msal-node@2.11.1 : Verbose - createAuthority called
2025-05-23T14:12:01.0282042Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityResolveEndpointsAsync
2025-05-23T14:12:01.0282901Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Retrieving all cache keys
2025-05-23T14:12:01.0283510Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:01.0284295Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: authority-metadata-***-login.windows.net
2025-05-23T14:12:01.0284893Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:01.0285492Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityUpdateCloudDiscoveryMetadata
2025-05-23T14:12:01.0286166Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Attempting to get cloud discovery metadata from authority configuration
2025-05-23T14:12:01.0286755Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Known Authorities:
2025-05-23T14:12:01.0287309Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Authority Metadata: N/A
2025-05-23T14:12:01.0287910Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Canonical Authority: https://login.microsoftonline.com/REDACTED/
2025-05-23T14:12:01.0288599Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values.
2025-05-23T14:12:01.0289242Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Found cloud discovery metadata from hardcoded values.
2025-05-23T14:12:01.0289839Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityUpdateCloudDiscoveryMetadata
2025-05-23T14:12:01.0290439Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityUpdateEndpointMetadata
2025-05-23T14:12:01.0291034Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Attempting to get endpoint metadata from authority configuration
2025-05-23T14:12:01.0291667Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
2025-05-23T14:12:01.0293282Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityUpdateEndpointMetadata
2025-05-23T14:12:01.0294101Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: authority-metadata-***-login.windows.net
2025-05-23T14:12:01.0294689Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:01.0295423Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Setting cache key value store
2025-05-23T14:12:01.0295996Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityResolveEndpointsAsync
2025-05-23T14:12:01.0296608Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Replacing tenant domain name REDACTED with id {tenantid}
2025-05-23T14:12:01.0297493Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [51c68cda-d477-4cb3-99c7-424b5fc1a919] : @azure/msal-node@2.11.1 : Info - Building oauth client configuration with the following authority: https://login.microsoftonline.com/REDACTED/oauth2/v2.0/token.
2025-05-23T14:12:01.0302712Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [51c68cda-d477-4cb3-99c7-424b5fc1a919] : @azure/msal-node@2.11.1 : Verbose - Client credential client created
2025-05-23T14:12:01.0304113Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting in-memory cache
2025-05-23T14:12:01.0304679Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:01.0305421Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: -login.windows.net-accesstoken-***-REDACTED-https://management.azure.com//.default--
2025-05-23T14:12:01.0306047Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:01.0306632Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata called with source: config
2025-05-23T14:12:01.0307243Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata called with source: hardcoded_values
2025-05-23T14:12:01.0308220Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata: found cloud discovery metadata in hardcoded_values, returning aliases
2025-05-23T14:12:01.0308882Z ##[debug]MSAL - retrieved token - isFromCache?: true
2025-05-23T14:12:01.0309365Z ##[debug]CLIENT_RESETSTREAMONRETRY=undefined
2025-05-23T14:12:01.0309974Z ##[debug][PUT]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED-rg/providers/microsoft.insights/components/REDACTED-ai/Annotations?api-version=2015-05-01
2025-05-23T14:12:01.2414562Z ##[debug]Correlation ID from ARM api call response : 1f3d9f0d-170d-4f8e-af86-8924646b0849
2025-05-23T14:12:01.2416956Z ##[debug]addReleaseAnnotation. Data : {"statusCode":200,"statusMessage":"OK","headers":{"cache-control":"no-cache","pragma":"no-cache","content-length":"833","content-type":"application/json; charset=utf-8","expires":"-1","request-context":"appId=cid-v1:0dd6a9c3-b728-41ca-aa78-7e1962e22331","access-control-expose-headers":"Request-Context","strict-transport-security":"max-age=31536000; includeSubDomains","x-content-type-options":"nosniff","x-powered-by":"ASP.NET","x-ms-operation-identifier":"appId=***,tenantId=REDACTED,objectId=7669a249-45fe-4728-b2bc-ded57f95d87b/eastus/776bb1b9-96e1-4b0e-8cd1-4adc2f7249c4","x-ms-ratelimit-remaining-subscription-writes":"199","x-ms-ratelimit-remaining-subscription-global-writes":"2999","x-ms-request-id":"1f3d9f0d-170d-4f8e-af86-8924646b0849","x-ms-correlation-request-id":"1f3d9f0d-170d-4f8e-af86-8924646b0849","x-ms-routing-request-id":"EASTUS:20250523T141201Z:1f3d9f0d-170d-4f8e-af86-8924646b0849","x-cache":"CONFIG_NOCACHE","x-msedge-ref":"Ref A: 0FF6CFB0C4014821B713A241A9D2C705 Ref B: BL2AA2011002029 Ref C: 2025-05-23T14:12:01Z","date":"Fri, 23 May 2025 14:12:01 GMT"},"body":{"AnnotationName":"Gateway-ProductDataFeed-CD - Release-21","Id":"e5e80a04-fcec-4a12-b2d4-f97ebcd92671","Category":"Deployment","Properties":"{\"Label\":\"Error\",\"Deployment Uri\":\"https://dev.azure.com/REDACTED/ae42d9ae-3f3b-4433-8ec1-e73b3370d85a/_release?releaseId=4907&_a=release-summary\",\"BuildNumber\":\"20250523.1\",\"BuildRepositoryName\":\"ProductDataFeed\",\"BuildRepositoryProvider\":\"TfsGit\",\"SourceBranch\":\"refs/heads/main\",\"ReleaseId\":\"4907\",\"ReleaseDescription\":\"Triggered by REDACTED 20250523.1.\",\"ReleaseDefinitionName\":\"Gateway-ProductDataFeed-CD\",\"ReleaseEnvironmentName\":\"Stage Environment\",\"ReleaseRequestedFor\":\"c430699d-793c-62fa-ad91-6171bd382ad7\"}","EventTime":"2025-05-23T14:12:01.004+00:00","RelatedAnnotation":null}}
2025-05-23T14:12:01.2419082Z Successfully added release annotation to the Application Insight : REDACTED-ai
2025-05-23T14:12:01.2422299Z ##[debug]MSAL - getMSALToken called. force=undefined
2025-05-23T14:12:01.2422983Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Info - acquireTokenByClientCredential called
2025-05-23T14:12:01.2423814Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - initializeRequestScopes called
2025-05-23T14:12:01.2424504Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [94a568b9-06fb-4e1f-a3d1-81f1a0496168] : @azure/msal-node@2.11.1 : Verbose - buildOauthClientConfiguration called
2025-05-23T14:12:01.2425194Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [94a568b9-06fb-4e1f-a3d1-81f1a0496168] : @azure/msal-node@2.11.1 : Verbose - createAuthority called
2025-05-23T14:12:01.2425888Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityResolveEndpointsAsync
2025-05-23T14:12:01.2426519Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Retrieving all cache keys
2025-05-23T14:12:01.2427117Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:01.2427831Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: authority-metadata-***-login.windows.net
2025-05-23T14:12:01.2428460Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:01.2429083Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityUpdateCloudDiscoveryMetadata
2025-05-23T14:12:01.2429734Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Attempting to get cloud discovery metadata from authority configuration
2025-05-23T14:12:01.2430366Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Known Authorities:
2025-05-23T14:12:01.2430954Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Authority Metadata: N/A
2025-05-23T14:12:01.2431699Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Canonical Authority: https://login.microsoftonline.com/REDACTED/
2025-05-23T14:12:01.2432412Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values.
2025-05-23T14:12:01.2433101Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Found cloud discovery metadata from hardcoded values.
2025-05-23T14:12:01.2433745Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityUpdateCloudDiscoveryMetadata
2025-05-23T14:12:01.2434389Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Executing function authorityUpdateEndpointMetadata
2025-05-23T14:12:01.2435027Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Attempting to get endpoint metadata from authority configuration
2025-05-23T14:12:01.2435704Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values.
2025-05-23T14:12:01.2436409Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityUpdateEndpointMetadata
2025-05-23T14:12:01.2437087Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: authority-metadata-***-login.windows.net
2025-05-23T14:12:01.2437703Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:01.2438387Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Setting cache key value store
2025-05-23T14:12:01.2439008Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Returning result from authorityResolveEndpointsAsync
2025-05-23T14:12:01.2439663Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Verbose - Replacing tenant domain name REDACTED with id {tenantid}
2025-05-23T14:12:01.2440477Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [94a568b9-06fb-4e1f-a3d1-81f1a0496168] : @azure/msal-node@2.11.1 : Info - Building oauth client configuration with the following authority: https://login.microsoftonline.com/REDACTED/oauth2/v2.0/token.
2025-05-23T14:12:01.2441232Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [94a568b9-06fb-4e1f-a3d1-81f1a0496168] : @azure/msal-node@2.11.1 : Verbose - Client credential client created
2025-05-23T14:12:01.2441866Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting in-memory cache
2025-05-23T14:12:01.2442461Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:01.2443161Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Item key: -login.windows.net-accesstoken-***-REDACTED-https://management.azure.com//.default--
2025-05-23T14:12:01.2443858Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-node@2.11.1 : Trace - Getting cache key-value store
2025-05-23T14:12:01.2444546Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata called with source: config
2025-05-23T14:12:01.2445193Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata called with source: hardcoded_values
2025-05-23T14:12:01.2445866Z ##[debug][Fri, 23 May 2025 14:12:01 GMT] : [] : @azure/msal-common@14.13.1 : Trace - getAliasesFromMetadata: found cloud discovery metadata in hardcoded_values, returning aliases
2025-05-23T14:12:01.2446475Z ##[debug]MSAL - retrieved token - isFromCache?: true
2025-05-23T14:12:01.2446990Z ##[debug]CLIENT_RESETSTREAMONRETRY=undefined
2025-05-23T14:12:01.2447639Z ##[debug][POST]https://management.azure.com/subscriptions/REDACTED/resourceGroups/REDACTED-rg/providers/Microsoft.Web/sites/REDACTED-funcapp/publishxml?api-version=2016-08-01
2025-05-23T14:12:01.8989083Z ##[debug]Could not parse response: {}
2025-05-23T14:12:01.8989898Z ##[debug]Response: undefined
2025-05-23T14:12:01.8990616Z ##[debug]Correlation ID from ARM api call response : 55361f73-014a-44de-be34-fe129e76847f
2025-05-23T14:12:01.9063116Z App Service Application URL: http://REDACTED-funcapp.azurewebsites.net
2025-05-23T14:12:01.9064007Z ##[debug]set AppServiceApplicationUrl=http://REDACTED-funcapp.azurewebsites.net
2025-05-23T14:12:01.9065869Z ##[debug]Processed: ##vso[task.setvariable variable=AppServiceApplicationUrl;isOutput=false;issecret=false;]http://REDACTED-funcapp.azurewebsites.net
2025-05-23T14:12:01.9082986Z ##[debug]Deployment failed
2025-05-23T14:12:01.9254033Z ##[section]Finishing: Azure Function App Deploy: REDACTED-funcapp
Repro steps
steps:
- task: AzureFunctionApp@2
displayName: 'Azure Function App Deploy: REDACTED'
inputs:
connectedServiceNameARM: 'REDACTED'
appType: functionAppLinux
isFlexConsumption: true
appName: 'REDACTED'
package: '$(System.DefaultWorkingDirectory)/_REDACTED/function/build*.zip'
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 18
- Comments: 15 (4 by maintainers)
Hello all. We have identified the cause of this issue on the platform side and we are rolling out a fix. This issue should avoid the condition where the deployment succeeds but the call to the logs fails with a 404 error. Thank you for providing reports and logs for this issue. I’ll update this thread when the rollout succeeds.
Thanks @smolleman , I tried it today and it is not failing anymore. Thanks @FinVamp1 for the update!
Hi @FinVamp1 It has been two weeks, is the change rolled out now?
Hello all, thanks for contributing this to the thread. We think we have an idea of what might be going on and will work on a fix. If anyone has a DevOps log with Verbose logging enabled Verbose Logs they want to share with me via email finbarr @ microsoft dot com then it may help identify the best fix for this.