Enable Authentication with Microsoft Entra ID (Azure AD) for Azure Functions
You can secure the PoolParty for SharePoint Azure functions with the built-in App Service authentication by Microsoft.
For a high-level overview of the App Service authentication and its benefits, refer to this page in the Microsoft documentation.
For a step-by-step guide on how to enable authentication with Microsoft Entra ID (formerly Azure Active Directory), refer to this page in the Microsoft documentation. In step 4, select Pick an existing app registration in this directory and then select the app registration hosting the execution of Azure functions that you want to secure.