I am trying to deploy a APP using Azure DEVOPS CI/CD Pipelines, however I am receiving the following error:
2022-01-19T19:55:37.5454688Z ##[error]Error: Failed to fetch App Service 'xxxxx' publishing credentials. Error: Could not fetch access token for Azure. Verify if the Service Principal used is valid and not expired. For more information refer https://aka.ms/azureappservicedeploytsg
I checked the Client Secret and they are expired. I asked to the admin create a new one, however still receiving the same error when deploying.
Anyone have an idea? Can be because we still have these two expired keys? Do I have to change something in appsettings? (I do not think so right?)