# @azure/arm-managedapplications

> A generated SDK for ApplicationClient.

Latest version **3.0.0** (published 2023-09-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @azure/arm-managedapplications
pnpm add @azure/arm-managedapplications
yarn add @azure/arm-managedapplications
bun add @azure/arm-managedapplications
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2023-09-22 |
| First published | 2018-11-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=14.0.0 |
| Dependencies | 7 |
| Unpacked size | 1.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2302 |
| Author | Microsoft Corporation |
| Maintainers | amarzavery, vladbarosan, veronicagg, azure-sdk |
| Keywords | node, azure, typescript, browser, isomorphic |

## Links

- npm: https://www.npmjs.com/package/@azure/arm-managedapplications
- Repository: https://github.com/Azure/azure-sdk-for-js
- Homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/managedapplications/arm-managedapplications
- Issues: https://github.com/Azure/azure-sdk-for-js/issues
- npm.io page: https://npm.io/package/@azure/arm-managedapplications

## Dependencies (7)

- [tslib](https://npm.io/package/tslib.md) ^2.2.0
- [@azure/core-lro](https://npm.io/package/@azure/core-lro.md) ^2.5.4
- [@azure/core-auth](https://npm.io/package/@azure/core-auth.md) ^1.3.0
- [@azure/core-client](https://npm.io/package/@azure/core-client.md) ^1.7.0
- [@azure/core-paging](https://npm.io/package/@azure/core-paging.md) ^1.2.0
- [@azure/abort-controller](https://npm.io/package/@azure/abort-controller.md) ^1.0.0
- [@azure/core-rest-pipeline](https://npm.io/package/@azure/core-rest-pipeline.md) ^1.12.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2023-09-22
- 3.0.0-alpha.20260310.1 (dev) — 2026-03-11
- 3.0.0-alpha.20260309.1 — 2026-03-10
- 3.0.0-alpha.20260306.1 — 2026-03-07
- 3.0.0-alpha.20260305.1 — 2026-03-06
- 3.0.0-alpha.20260304.1 — 2026-03-05
- 3.0.0-alpha.20260303.1 — 2026-03-04
- 3.0.0-alpha.20260302.1 — 2026-03-03
- 3.0.0-alpha.20260227.1 — 2026-02-28
- 3.0.0-alpha.20260226.1 — 2026-02-27
- 3.0.0-alpha.20260225.1 — 2026-02-26
- 3.0.0-alpha.20260223.1 — 2026-02-24
- 3.0.0-alpha.20260220.1 — 2026-02-21
- 3.0.0-alpha.20260219.1 — 2026-02-20
- 3.0.0-alpha.20260218.1 — 2026-02-19
- … 453 more at https://npm.io/package/@azure/arm-managedapplications/versions

## README

# Azure Application client library for JavaScript

This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Application client.

ARM applications

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/managedapplications/arm-managedapplications) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-managedapplications) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-managedapplications) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started

### Currently supported environments

- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
- Latest versions of Safari, Chrome, Edge and Firefox.

See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Prerequisites

- An [Azure subscription][azure_sub].

### Install the `@azure/arm-managedapplications` package

Install the Azure Application client library for JavaScript with `npm`:

```bash
npm install @azure/arm-managedapplications
```

### Create and authenticate a `ApplicationClient`

To create a client object to access the Azure Application API, you will need the `endpoint` of your Azure Application resource and a `credential`. The Azure Application client can use Azure Active Directory credentials to authenticate.
You can find the endpoint for your Azure Application resource in the [Azure Portal][azure_portal].

You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).

To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:

```bash
npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure Application** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.

For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

```javascript
const { ApplicationClient } = require("@azure/arm-managedapplications");
const { DefaultAzureCredential } = require("@azure/identity");
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new ApplicationClient(new DefaultAzureCredential(), subscriptionId);

// For client-side applications running in the browser, use this code instead:
// const credential = new InteractiveBrowserCredential({
//   tenantId: "<YOUR_TENANT_ID>",
//   clientId: "<YOUR_CLIENT_ID>"
// });
// const client = new ApplicationClient(credential, subscriptionId);
```


### JavaScript Bundle
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

## Key concepts

### ApplicationClient

`ApplicationClient` is the primary interface for developers using the Azure Application client library. Explore the methods on this client object to understand the different features of the Azure Application service that you can access.

## Troubleshooting

### Logging

Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:

```javascript
const { setLogLevel } = require("@azure/logger");
setLogLevel("info");
```

For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).

## Next steps

Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.

## Contributing

If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.

## Related projects

- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmanagedapplications%2Farm-managedapplications%2FREADME.png)

[azure_cli]: https://docs.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
[azure_portal]: https://portal.azure.com
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential

---
_Source: https://npm.io/package/@azure/arm-managedapplications · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
