Recently I asked about Moving a Visual Studio solution and projects, then establishing it with a different remote. Using the answer, I got I've copied my project into a new local repo and established the remote in Azure DevOps Services. However, now I'm trying to get the Azure build pipeline to work, but Azure Pipeline doesn't recognize azure-pipelines.yml file in the repo. I tried importing the pipeline, but that action wants a build pipeline JSON file, which the YAML file isn't.
How do I get Azure Pipelines to recognize the YAML file as build pipeline file?