Unable to add "Java Datadog APM" extension in azure portal for function.

Yana Lysenkova 20 Reputation points
2023-05-11T13:23:29.12+00:00

Go to Function App in Azure portal and click on function. Choose "Extensions" from the left panel. Add "Java Datadog APM" extension.

The following error occurs: {"error":{"code":"BadRequest","message":""}}. Extension wasn't added.

Another extensions were added successfully but not this one.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,679 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 19,646 Reputation points Microsoft Employee
    2023-05-11T15:40:14.09+00:00

    @Yana Lysenkova Thank you for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    Based on the shared information, I have understood that you are using windows based function app and while trying to add the extension Java Datadog APM from the portal and it is getting failed.

    Could you please help us with F12 browser/HAR traces or portal session ID (using keyboard key Ctrl+Alt+D) and copy the session ID from the right corner pf your browser to check and assist you further.

    Alternatively, you can try adding the same extension from the kudu console by following the below steps:

    1. Navigate to site extensions gallery of your function app using the URL https://<functionappName>.scm.azurewebsites.net/SiteExtensions/#gallery
    2. Enter the extension name in the search and click on Search button.

    enter image description here 3. Click on + to install the extension in the function app.

    enter image description here 4. Installation of extension might take couple of minutes, once the installation is done restart the function app. 5. Post restart, navigate to kudu console (https://<functionappName>.scm.azurewebsites.net/DebugConsole) where you can the installed the extension under the site extensions folder as shown below.

    enter image description here

    and a respective Datadog.AzureAppServices.Java-Install.txt will get created under \home path which contains the installation status of extension.

    Feel free to reach back to me if you have any further questions on this.

    1 person found this answer helpful.