Azure Functions

Azure Functions is an event driven, compute-on-demand experience that extends the existing Azure application platform with capabilities to implement code triggered by events occurring in other Azure services, SaaS products, and on-premises systems. With Azure Functions, your applications scale based on demand and you pay only for the resources you consume. Azure Functions provides an intuitive, browser-based user interface allowing you to create scheduled or triggered pieces of code implemented in a variety of programming languages.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Create Functions Dynamically

    Hi,

    I find myself in a situation where I create a lot of functions that look like

    public class GetTenants
    
    {
    readonly TenantHandler _handler;

    public GetTenants(TenantHandler handler) => _handler = handler;

    [FunctionName(nameof(GetTenants))]
    public Task<IActionResult> RunAsync(
    [HttpTrigger(AuthorizationLevel.Function, "get", Route = "tenants")]
    HttpRequest request) =>
    _handler.GetAsync(request);
    }

    or

    public class OnQueueMessage : AnOnQueueMessageFunction
    
    {
    public OnQueueMessage(IMessageReceiver receiver) : base(receiver, MetaDataConstants.QueueName) {}

    [FunctionName(nameof(OnQueueMessage))]
    public Task RunAsync([ServiceBusTrigger(MetaDataConstants.QueueName)]
    Message message,
    CancellationToken cancellationToken) =>
    HandleAsync(message, cancellationToken);
    }

    As you can see I have already eliminated boilerplate as much as possible. However, because of the need to use attributes to register and bind the functions, I can…

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Runtime  ·  Flag idea as inappropriate…  ·  Admin →
  2. More Python examples

    Still not clear on how to use some of the methods. Could we have more examples or scenarios?

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  3. Corelating logs between Azure functions activity and ADF

    How can i co-relate my ADF activity runs and Azure function activity.
    I've some custom logs in Azure functions and i would like to corelate this with ADF run logs

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  4. Authenticate Blob Trigger Binding with Service Principal rather than Connection String

    In implementing some security features leaning heavily on Azure [blob storage logging](https://docs.microsoft.com/en-us/azure/storage/common/storage-monitor-storage-account) for auditing purposes.

    Users should have their AAD attached to all blob operations, however It's not immediately clear how to get the same behaviour for Azure functions when authenticating with the Connection String via input bindings since it will not use a service principal.

    It would be nice to be able to use custom identities and have them show up in the audit logs for a more complete audit trail.

    https://github.com/Azure/Azure-Functions/issues/1654

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Bindings  ·  Flag idea as inappropriate…  ·  Admin →
  5. Processing Python Dataframes - how to write out to Blob Storage?

    I am trying to build a file processing function - ingests excel files, performs some column transformations using python data frames. subsequently I want to write the file to a Storage Container. So far I haven't been able to read from the docs on how to convert the python DataFrame into a Stream that is writable? How can we achieve that?

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  6. Forwarding the client certificates in Azure Functions Proxies.

    Our customer would like to have the features for forwarding the client certificates in Functions Proxies.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Feature  ·  Flag idea as inappropriate…  ·  Admin →
  7. Allow to set message property such as sessionId to Service Bus output bindings for node.js

    There is no option to set the sessionId in Service Bus output bindings for node.js environment.
    I suggest to add that

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Bindings  ·  Flag idea as inappropriate…  ·  Admin →
  8. Add a "Run" button to the portal

    There are 2 documented ways to "manually" run a funciton.

    HTTP triggered: https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-azure-function#test-the-function

    Non-HTTP triggered: https://docs.microsoft.com/en-us/azure/azure-functions/functions-manually-run-non-http

    Both approaches are quite clunky. Since running a function manually is obviously possible and documented, it seem like a glaring omission that a simple "Run" button isn't provided in the portal.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Portal  ·  Flag idea as inappropriate…  ·  Admin →
  9. Azure Function functionTimeout needs to be configurable per-environment via app settings, not only through host.json

    I need to configure my functionTimeout on an Azure Function per-environment. I have dev deployments that should just use a default timeout, and production deployments that can handle a long timeout (dedicated app service).

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  10. Project Version Display in Portal

    It would be helpful if the Portal displayed the currently deployed function DLL version for easy IT reference. We deploy our Functions through our IT team via the Zip Deploy process in all UAT and Production environments and it would be great if they could easily confirm that the currently deployed/running version.

    2 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Portal  ·  Flag idea as inappropriate…  ·  Admin →
  11. Do not execute Timer Trigger in Azure Functions Deployment Slots (other than production)

    Currently Timer Trigger still execute in Deployment Slots, which renders them useless for any Functions containing Timer Triggers, because you will then have two running instances.

    As I understood the slots, their intention is to make the deployment as seemless as possible. So if I have to stop the slot auto-manually (CI/CD) after the swap, I might stop a running function in the middle of something. If I dont, I will have effectively two running instances of the same Azure Functions, doing everything twice.

    So could it be possible to have Timer Triggers not be exectuted when the Function runs…

    2 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Feature  ·  Flag idea as inappropriate…  ·  Admin →
  12. Java 11

    Right now the Java Function App in both version ~2 and ~3 is limited to JDK 8. It would be great to have support for JDK 11.

    2 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  13. Allow regex or port ranges in CORS rules

    Not sure if this is Azure Functions specific, but it would be great to be able to specify a regex statement or a range of ports for a CORS rule for my function app.

    My specific use case is I am working on a Twitch.tv extension, and the "developer rig" they provide for hosting the frontend files when developing locally uses a new random port number every time the files are reloaded, and I can't change that behavior. I would love to be able to specify a CORS rule like " http://localhost:[50000-60000] " but it seems this isn't allowed. I…

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Portal  ·  Flag idea as inappropriate…  ·  Admin →
  14. Visual Studio always uses name of req in the function.json file

    Visual Studio always puts name : req in the function.json file. There appears to be no way to set this from code, and when publishing, it overwrites any manual changes you may have made. This name needs to be the different when using an additional parameter to your function method, like an auth token from Azure AD.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Bindings  ·  Flag idea as inappropriate…  ·  Admin →
  15. Visual Studio should warn that Functions developed in-portal will be overwritten

    As the title states: Visual Studio should warn that Functions developed in-portal will be overwritten.

    The design behaviour of Visual Studio deployments is to overwrite the whole app. This can be a problem for customers who have developed their Functions via the in-portal editor, and were not expecting them to be entirely overwritten.

    I would think that we could detect this scenario and throw a warning screen before deploying.

    2 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Feature  ·  Flag idea as inappropriate…  ·  Admin →
  16. Support F# scripts (.fsx) in v2 and v3

    F# script usage is about to become much more prevalent due to the improved "#r nuget" imports in F#5. Azure Functions v2 and v3 should support F# scripts so that we can avoid having to create a "function project" when a a simple .fsx would suffice.

    98 votes
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  17. Allow non-public constructor for Function DI

    A (non-static) Function's constructor that is used for dependency injection must currently be public.

    Sometimes a Function has dependencies that (even as interfaces) are internal to its own project. As parameters of a public constructor, they are forced to become public, even though that is not the correct visibility modifier for them.

    Non-public constructors (particularly internal ones) are the natural solution to this.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Bindings  ·  Flag idea as inappropriate…  ·  Admin →
  18. support http input binding

    support http input binding
    I found that input binding for HTTP did not exist.

    In my case, I needed to have a function request data via HTTP, and then write to Azure Table. (timer trigger)

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Bindings  ·  Flag idea as inappropriate…  ·  Admin →
  19. CPU Time/%/Memory should be available in metrics when running on an App Service Plan

    When getting alerts on high cpu ( or memory) for an app service plan, it is currently impossible to see what is consuming the cpu if both webapps and functions are running on the same App Service Plan

    1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Feature  ·  Flag idea as inappropriate…  ·  Admin →
  20. 1 vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
← Previous 1 3 4 5 10 11
  • Don't see your idea?

Azure Functions

Categories

Feedback and Knowledge Base