Trying to follow the tutorial at https://docs.microsoft.com/en-us/azure/azure-functions/functions-powerapps-scenario. I am able to create and test the Azure Function, however, when I try to "Export to PowerApps + Flow" I receive the following error message and cannot continue.
Failed PowerApps Custom API creation. Error Details: Either 'OpenApiDefinition' or 'AppDefinitionUrl' must be specified, and only one should be specified
Swagger definition attached:
Solved! Go to Solution.
The error message says that you should specify either OpenApiDefinition or AppDefinitionURL for your Swagger file.
Please check this documentation for a reference, this tutorial will introduce you how to create an OpenAPI definition for a function. Please take it for a reference:
I have followed the tutorial to create the function at https://docs.microsoft.com/en-us/azure/azure-functions/functions-openapi-definition. That tutorial works and I included the OpenAPI definition that was created in my original post, however, the "Tutorial to Call a function from PowerApps" https://docs.microsoft.com/en-us/azure/azure-functions/functions-powerapps-scenario does not work.
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand