1
votes

When the release is being triggered on AzureDevops, it fails on 'App Service Deployment' stage with this Error: ExpiredServicePrincipal

1
Any update this issue?Joy Wang-MSFT
@Victor Pyatak Not get your latest information, is Joy's workaround helpful for you? If it is helpful, please mark it as answer, just click the option like this.Hugh Lin

1 Answers

1
votes

The error may be caused by your service principal secret was expired, the service principal is used in your service connection in DevOps org.

Navigate to the Azure Active Directory in the Azure portal, make sure you select the correct AAD tenant which the service principal belongs to, in the App registrations -> search for the client id of the service principal(you can find it in the service connection) -> find the AD App related to the service principal -> Certificates & secrets -> New client secret, then copy it and update the Service Principal Key in your service connection -> verify connection.

enter image description here