Azure-docs: Import function via Powershell Az Module or Rest API

Created on 16 May 2019  Â·  7Comments  Â·  Source: MicrosoftDocs/azure-docs

Is there any way to perform this steps using PowerShell or the Azure REST API, instead of the User Interface? Been trying to do this so I can integrate that import into an Azure DevOps Pipeline. Unfortunately I've yet not succeeded to configure this properly, either way.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 api-managemensvc assigned-to-author product-question triaged

All 7 comments

@lusocoding Thanks for the Comment. We are actively investigating and will get back to you soon.

@lusocoding At this moment there is no single API call or PowerShell command that will import a Function App as an API in API Management. We're planning to improve this experience in future.

For now you can use the browser developer tools (F12) to track the ARM calls that are issued as part of the import process - including calls to Azure Functions and API Management.

Thanks for the quick reply @mikebudzynski. Will try to do exactly that then.

please-close

do we have a way to import function app in apim via PowerShell now ?

@nuno-barreiro were you able to leverage the API calls to import the function as API?

Hi @jpl2nd ... I started but I was never able to finish that and in the meantime the project went on another direction too, so no need for that anymore.

Was this page helpful?
0 / 5 - 0 ratings