# Azure App Service Plugin Error

**URL:** <https://community.jenkins.io/t/azure-app-service-plugin-error/18614>\
**Category:** Using Jenkins\
**Tags:** question\
**Created:** [August 26, 2024, 3:11pm UTC](https://community.jenkins.io/t/azure-app-service-plugin-error/18614 "2024-08-26T15:11:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shafeeque](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@shafeeque](https://community.jenkins.io/u/shafeeque)\
**Post date:** [August 26, 2024, 3:11pm UTC](https://community.jenkins.io/t/azure-app-service-plugin-error/18614/1 "2024-08-26T15:11:05Z")

</div>

## Jenkins setup: Jenkins: 2.473 OS: Linux - 4.14.173-106.229.amzn1.x86\_64 Java: 17.0.11 - [Amazon.com](http://Amazon.com) Inc. (OpenJDK 64-Bit Server VM)

ace-editor:1.1  
ansible:403.v8d0ca\_dcb\_b\_502  
ant:511.v0a\_a\_1a\_334f41b\_  
antisamy-markup-formatter:162.v0e6ec0fcfcf6  
apache-httpcomponents-client-4-api:4.5.14-208.v438351942757  
apache-httpcomponents-client-5-api:5.3.1-110.v77252fb\_d4da\_5  
asm-api:9.7-33.v4d23ef79fcc8  
authentication-tokens:1.119.v50285141b\_7e1  
aws-credentials:231.v08a\_59f17d742  
aws-java-sdk:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-api-gateway:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-autoscaling:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-cloudformation:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-cloudfront:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-codebuild:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-codedeploy:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-ec2:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-ecr:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-ecs:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-efs:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-elasticbeanstalk:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-elasticloadbalancingv2:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-iam:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-kinesis:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-lambda:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-logs:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-minimal:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-organizations:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-secretsmanager:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-sns:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-sqs:1.12.767-467.vb\_e93f0c614b\_6  
aws-java-sdk-ssm:1.12.767-467.vb\_e93f0c614b\_6  
azure-app-service:1.0.1  
azure-cli:0.9  
azure-commons:1.1.3  
azure-credentials:312.v0f3973cd1e59  
azure-sdk:174.va\_89c1df897d2  
blueocean-commons:1.27.14  
blueocean-rest:1.27.14  
bootstrap4-api:4.6.0-6  
bootstrap5-api:5.3.3-1  
bouncycastle-api:2.30.1.78.1-248.ve27176eb\_46cb\_  
branch-api:2.1178.v969d9eb\_c728e  
build-timeout:1.33  
caffeine-api:3.1.8-133.v17b\_1ff2e0599  
checks-api:2.2.0  
cloud-stats:336.v788e4055508b\_  
cloudbees-folder:6.942.vb\_43318a\_156b\_2  
command-launcher:115.vd8b\_301cc15d0  
commons-compress-api:1.26.1-2  
commons-httpclient3-api:3.1-3  
commons-lang3-api:3.16.0-82.ve2b\_07d659d95  
commons-text-api:1.12.0-129.v99a\_50df237f7  
config-file-provider:973.vb\_a\_80ecb\_9a\_4d0  
copyartifact:749.vfb\_dca\_a\_9b\_6549  
credentials:1371.vfee6b\_095f0a\_3  
credentials-binding:681.vf91669a\_32e45  
data-tables-api:2.1.4-1  
display-url-api:2.204.vf6fddd8a\_8b\_e9  
docker-commons:443.v921729d5611d  
docker-java-api:3.3.6-90.ve7c5c7535ddd  
docker-plugin:1.6.2  
docker-workflow:580.vc0c340686b\_54  
durable-task:568.v8fb\_5c57e8417  
echarts-api:5.5.1-1  
eddsa-api:0.3.0-4.v84c6f0f4969e  
email-ext:1814.v404722f34263  
envinject:2.919.v009a\_a\_1067cd0  
envinject-api:1.199.v3ce31253ed13  
file-operations:266.v9d4e1eb\_235b\_a\_  
font-awesome-api:6.6.0-1  
git:5.4.0  
git-client:5.0.0  
git-server:126.v0d945d8d2b\_39  
github:1.40.0  
github-api:1.321-475.vf7ef62885c83  
github-branch-source:1797.v86fdb\_4d57d43  
gradle:2.12.1  
gson-api:2.11.0-41.v019fcf6125dc  
handlebars:3.0.8  
instance-identity:185.v303dc7c645f9  
ionicons-api:74.v93d5eb\_813d5f  
jackson2-api:2.17.0-379.v02de8ec9f64c  
jakarta-activation-api:2.1.3-1  
jakarta-mail-api:2.1.3-1  
javadoc:280.v050b\_5c849f69  
javax-activation-api:1.2.0-7  
javax-mail-api:1.6.2-10  
jaxb:2.3.9-1  
jdk-tool:80.v8a\_dee33ed6f0  
jjwt-api:0.11.5-112.ve82dfb\_224b\_a\_d  
jobConfigHistory:1241.v07634fa\_18896  
joda-time-api:2.12.7-29.v5a\_b\_e3a\_82269a\_  
jquery-detached:1.2.1  
jquery3-api:3.7.1-2  
jsch:0.2.16-86.v42e010d9484b\_  
json-api:20240303-41.v94e11e6de726  
json-path-api:2.9.0-58.v62e3e85b\_a\_655  
junit:1296.vb\_f538b\_c88630  
ldap:725.v3cb\_b\_711b\_1a\_ef  
lockable-resources:1255.vf48745da\_35d0  
mailer:472.vf7c289a\_4b\_420  
mapdb-api:1.0.9-40.v58107308b\_7a\_7  
matrix-auth:3.2.2  
matrix-project:832.va\_66e270d2946  
maven-plugin:3.23  
mina-sshd-api-common:2.13.2-125.v200281b\_61d59  
mina-sshd-api-core:2.13.2-125.v200281b\_61d59  
momentjs:1.1.1  
multiselect-parameter:1.7  
nexus-artifact-uploader:2.14  
nodejs:1.6.2  
okhttp-api:4.11.0-179.vdc1e64343d52  
pam-auth:1.11  
pipeline-aws:1.45  
pipeline-build-step:540.vb\_e8849e1a\_b\_d8  
pipeline-github-lib:61.v629f2cc41d83  
pipeline-graph-analysis:216.vfd8b\_ece330ca\_  
pipeline-groovy-lib:730.ve57b\_34648c63  
pipeline-input-step:495.ve9c153f6067b\_  
pipeline-milestone-step:119.vdfdc43fc3b\_9a\_  
pipeline-model-api:2.2205.vc9522a\_9d5711  
pipeline-model-declarative-agent:1.1.1  
pipeline-model-definition:2.2205.vc9522a\_9d5711  
pipeline-model-extensions:2.2205.vc9522a\_9d5711  
pipeline-rest-api:2.34  
pipeline-stage-step:312.v8cd10304c27a\_  
pipeline-stage-tags-metadata:2.2205.vc9522a\_9d5711  
pipeline-stage-view:2.34  
pipeline-utility-steps:2.17.0  
plain-credentials:183.va\_de8f1dd5a\_2b\_  
plugin-util-api:4.1.0  
popper-api:1.16.1-3  
popper2-api:2.11.6-5  
publish-over:0.22  
publish-over-ssh:1.25  
resource-disposer:0.23  
scm-api:696.v778d637b\_a\_762  
script-security:1354.va\_70a\_fe478c7f  
snakeyaml-api:2.2-121.v5a\_68b\_9300b\_d4  
ssh-credentials:343.v884f71d78167  
ssh-slaves:2.973.v0fa\_8c0dea\_f9f  
sshd:3.330.vc866a\_8389b\_58  
structs:338.v848422169819  
subversion:1275.va\_7b\_014f3fc2c  
timestamper:1.27  
token-macro:400.v35420b\_922dcb\_  
trilead-api:2.147.vb\_73cc728a\_32e  
uno-choice:2.8.3  
variant:60.v7290fc0eb\_b\_cd  
windows-azure-storage:419.v4046cd70d2e3  
windows-slaves:1.8.1  
workflow-aggregator:600.vb\_57cdd26fdd7  
workflow-api:1336.vee415d95c521  
workflow-basic-steps:1058.vcb\_fc1e3a\_21a\_9  
workflow-cps:3943.v3519a\_3260660  
workflow-cps-global-lib:612.v55f2f80781ef  
workflow-durable-task-step:1371.vb\_7cec8f3b\_95e  
workflow-job:1436.vfa\_244484591f  
workflow-multibranch:795.ve0cb\_1f45ca\_9a\_  
workflow-scm-step:427.v4ca\_6512e7df1  
workflow-step-api:678.v3ee58b\_469476  
workflow-support:920.v59f71ce16f04  
ws-cleanup:0.46

One of my build pipeline was working fine until now and suddenly it started giving the below error on trying to deploy to Azure using Azure App Service plugin.

```auto
[INFO] --- spring-boot-maven-plugin:2.4.0:repackage (repackage) @ lenok-integration ---
[INFO] Replacing main artifact with repackaged archive
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.851 s
[INFO] Finished at: 2024-08-26T14:39:20Z
[INFO] Final Memory: 92M/317M
[INFO] ------------------------------------------------------------------------
[Pipeline] sh
+ mv target/lenok-integration.war target/ROOT.war
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (deploy)
[Pipeline] azureWebAppPublish
Starting Azure Web App Deployment
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 737c260f-1951-49cd-989b-e07b1b7530bc
java.lang.NoSuchMethodError: 'byte[] com.microsoft.azure.util.AzureBaseCredentials.serializeToTokenData()'
	at PluginClassLoader for azure-app-service//com.microsoft.jenkins.appservice.util.AzureUtils.getToken(AzureUtils.java:24)
	at PluginClassLoader for azure-app-service//com.microsoft.jenkins.appservice.util.AzureUtils.buildClient(AzureUtils.java:28)
	at PluginClassLoader for azure-app-service//com.microsoft.jenkins.appservice.WebAppDeploymentRecorder.perform(WebAppDeploymentRecorder.java:168)
	at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
	at PluginClassLoader for workflow-basic-steps//org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
	at PluginClassLoader for workflow-basic-steps//org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
	at PluginClassLoader for workflow-step-api//org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
Finished: FAILURE

```
