---
title: "PATCH /{tenantID}/applications/{applicationObjectId}"
method: PATCH
path: "/{tenantID}/applications/{applicationObjectId}"
tags: ["Application"]
---

# PATCH /{tenantID}/applications/{applicationObjectId}

`PATCH /{tenantID}/applications/{applicationObjectId}`

Update an existing application.

## Path parameters

- `applicationObjectId` string, required
- `tenantID` string, required

## Query parameters

- `api-version` string, required

## Request body

- ApplicationUpdateParameters — Request parameters for updating an existing application.
  - `appRoles` AppRole[] — The collection of application roles that an application may declare. These roles can be assigned to users, groups or service principals.
    - `id` string — Unique role identifier inside the appRoles collection.
    - `allowedMemberTypes` string[] — Specifies whether this app role definition can be assigned to users and groups by setting to 'User', or to other applications (that are accessing this application in daemon service scenarios) by setting to 'Application', or to both.
    - `description` string — Permission help text that appears in the admin app assignment and consent experiences.
    - `displayName` string — Display name for the permission that appears in the admin consent and app assignment experiences.
    - `isEnabled` boolean — When creating or updating a role definition, this must be set to true (which is the default). To delete a role, this must first be set to false. At that point, in a subsequent call, this role may be removed.
    - `value` string — Specifies the value of the roles claim that the application should expect in the authentication and access tokens.
  - `availableToOtherTenants` boolean — Whether the application is available to other tenants
  - `displayName` string — The display name of the application.
  - `homepage` string — The home page of the application.
  - `identifierUris` string[] — A collection of URIs for the application.
  - `replyUrls` string[] — A collection of reply URLs for the application.
  - `keyCredentials` KeyCredential[] — The list of KeyCredential objects.
    - `startDate` string, date-time — Start date.
    - `endDate` string, date-time — End date.
    - `value` string — Key value.
    - `keyId` string — Key ID.
    - `usage` string — Usage. Acceptable values are 'Verify' and 'Sign'.
    - `type` string — Type. Acceptable values are 'AsymmetricX509Cert' and 'Symmetric'.
    - `customKeyIdentifier` string — Custom Key Identifier
  - `passwordCredentials` PasswordCredential[] — The list of PasswordCredential objects.
    - `startDate` string, date-time — Start date.
    - `endDate` string, date-time — End date.
    - `keyId` string — Key ID.
    - `value` string — Key value.
    - `customKeyIdentifier` string, byte — Custom Key Identifier
  - `oauth2AllowImplicitFlow` boolean — Whether to allow implicit grant flow for OAuth2
  - `requiredResourceAccess` RequiredResourceAccess[] — Specifies resources that this application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources. This pre-configuration of required resource access drives the consent experience.
    - `resourceAccess` ResourceAccess[], required — The list of OAuth2.0 permission scopes and app roles that the application requires from the specified resource.
      - `id` string, required — The unique identifier for one of the OAuth2Permission or AppRole instances that the resource application exposes.
      - `type` string — Specifies whether the id property references an OAuth2Permission or an AppRole. Possible values are "scope" or "role".
    - `resourceAppId` string — The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.

## Response `204`

No Content

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.dev/azure/apis/graphrbacmanagementclient.md) · [All operations](https://skmtc.dev/azure/apis/graphrbacmanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/graphrbacmanagementclient/revisions/7ad94c1e7767/schema)
