Power Platform Build Tools for Azure DevOps | LIB_EndpointAuthNotExist error
Image Source: Shutterstock.com
Power DevOps
Jun 16, 2023 1:55 PM

Power Platform Build Tools for Azure DevOps | LIB_EndpointAuthNotExist error

by HubSite 365 about Rajeev Pentyala

Senior Software Engineer at Microsoft Power CAT Team

Citizen DeveloperPower DevOpsLearning Selection

We have a “Power Platform Set Connection Variables” task of Power Platform Build Tools added to our Azure DevOps Pipeline. Other day, pipeline failed with error

The issue occurs when using Power Platform Build Tools for Azure DevOps. The pipeline failed with the "LIB_EndpointAuthNotExist" error. The problem arises because the task "Power Platform Set Connection Variables" requires a parameter called 'PowerPlatformSPN'. This parameter is a 'Service Connection' that points to an App Registration. The pipeline must be adjusted to include this information to resolve the error.


Understanding Power Platform Build Tools in Azure DevOps

The Microsoft Power Platform Build Tools are used to automate common build and deployment tasks when working with Power Apps, Power Automate, and Dataverse. These tools are integrated with the Azure DevOps environment, enabling smoother and consistent deployment processes.

Features include the ability to:

  • Extract solution files
  • Import and export solutions
  • Manage environment variables
  • Configure service connections
  • Deploy apps and flows

In summary, the Power Platform Build Tools provide a streamlined way to manage and deploy solutions within Azure DevOps, supporting a more efficient and reliable application development experience.

Read the full article Power Platform Build Tools for Azure DevOps | LIB_EndpointAuthNotExist error

Learn about Power Platform Build Tools for Azure DevOps | LIB_EndpointAuthNotExist error

Power Platform Build Tools for Azure DevOps is a set of tools to enable automation for Power Platform components in Azure DevOps. It provides the ability to define and manage connections, resources, and authentication between Power Platform components and Azure DevOps. The Power Platform Set Connection Variables task of Power Platform Build Tools allows users to define and manage connection variables for the Power Platform components. Recently, the pipeline failed with the error “LIB_EndpointAuthNotExist”. This is because it requires a ‘PowerPlatformSPN’ parameter which is a ‘Service Connection’ that points to the App Registration in Azure Active Directory. To fix this error, users must create a Service Connection in Azure DevOps that points to the App Registration in Azure Active Directory. This will enable the Power Platform Set Connection Variables task to properly authenticate and manage the connection variables between the Power Platform components and Azure DevOps.

More links on about Power Platform Build Tools for Azure DevOps | LIB_EndpointAuthNotExist error

Debugging Power Platform Build Tools for Azure DevOps
This article describes the common errors associated with the Power Platform Build Tools for Azure DevOps, and how to fix them.
Power Platform Build Tools (2.0.25)
Jun 1, 2020 — Extension for Azure DevOps - Automate common build and deployment tasks related to Power Platform.
Azure DevOps for Dataverse using Power Platform Build ...
May 5, 2021 — In this article, we explore Azure DevOps for Dataverse. You will see how it can be used to set up CI/CD Pipelines for your Power Apps by ...
Power Platform Build Tools for Azure DevOps
1 day ago — Reason & Fix: 'PowerPlatformSetConnectionVariables' task expects a 'PowerPlatformSPN' parameter which is a 'Service Connection' , which points ...
Bug] Fails to install Power Platform Build Tools ("A task is ...
Aug 14, 2022 — The pipeline references a task called 'microsoft-IsvExpTools.PowerPlatform-BuildTools.tool-installer.PowerPlatformToolInstaller'. This usually ...

Keywords

Power Platform, Azure DevOps, LIB_EndpointAuthNotExist, Service Connection, App Registration, PowerPlatformSPN