Skip to content

Latest commit

 

History

History
117 lines (89 loc) · 4.11 KB

File metadata and controls

117 lines (89 loc) · 4.11 KB
title Assign a connectorGroup to an application
description Use this API to assign a connectorGroup to an application
ms.localizationpriority medium
author dhruvinrshah
ms.subservice entra-applications
doc_type apiPageType
ms.date 04/04/2024

Assign a connectorGroup to an application

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Assign a connectorGroup to an application.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

HTTP request

PUT /applications/{id}/connectorGroup/$ref

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.
Content-type application/json. Required.

Request body

In the request body, supply a JSON representation of a connectorGroup object.

Response

If successful, this method returns 204 No Content response code.

Example

Request

The following example shows a request.

PUT https://graph.microsoft.com/beta/applications/{id}/connectorGroup/$ref
Content-type: application/json

{
  "@odata.id": "https://graph.microsoft.com/beta/onPremisesPublishingProfiles/applicationproxy/connectorGroups/{id}"
}

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

HTTP/1.1 204 No content