Connect to Azure Functions from AL code

Important

This content is archived and is not being updated. For the latest documentation, go to What's new and planned for Dynamics 365 Business Central. For the latest release plans, go to Dynamics 365 and Microsoft Power Platform release plans.

Enabled for Public preview General availability
Users, automatically - Oct 1, 2022

Business value

Developers can connect to Azure Functions from AL. This allows for easy integration with functionality that exists in Azure Functions. One scenario is to move code from a .NET interop component into a function and then call that from AL.

Feature details

Using a new system module, developers can now connect to Azure Functions from AL.

By using the new module, AL developers can do the following:

  • Authenticate to the function.
  • Issue a GET request, specifying a dictionary of query parameters for the request, and get the response from the function.
  • Issue a POST request, specifying the body of the request message and its content type, and get the response from the function.

See also

Overview of the System Application (docs)