azuredevopslabs icon indicating copy to clipboard operation
azuredevopslabs copied to clipboard

No template with an identifier of 'xamarinandroid' could be found error in azure devops YAML pipelines

Open faisalriazz opened this issue 10 months ago • 1 comments

I have unexpectedly begun encountering the following error while attempting to create a YAML based build pipeline using Azure DevOps.

No template with an identifier of 'xamarinandroid' could be found

Image

faisalriazz avatar Feb 19 '25 10:02 faisalriazz

Hello @faisalriazz. There's an issue with the UI Pipeline creation wizard. The product group has deployed the fix in many geographies now. Below is the status link. https://status.dev.azure.com/_event/595584409 Please use the Pipeline create API to create the pipeline, you should be able to edit it in the UI after creation is complete. This is the preferred approach. https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/pipelines/create?view=azure-devops-rest-7.1 If the REST API use is not possible at the moment, another option is to setup one using UI:

  • Disable the setting "Disable creation of classic build pipelines" on Organization/Project-level pipeline settings first.
  • Initiate pipeline creation wizard, when the pipeline creation UI prompts "Where is you code" select "Use the classic editor" on the bottom of the page.
  • Select the source repository, hit "Continue"
  • Choose YAML as the template. Choose a YAML definition (if any exists). If you don't have any, create an empty YAML file in the repository.
  • Save the pipeline.
  • You now have a new pipeline, if you click on "edit", you can continue editing your pipeline in the regular YAML experience.
  • You should follow with customers to ensure bringing this switch back to its original state after the hotfix is completed.

InformTechPro avatar Feb 20 '25 23:02 InformTechPro