Getting Applications from Azure
You can get a list of existing applications for the specified Microsoft 365 organization from Azure Active Directory.
Request
GET https://<hostname>:4443/v6/Organizations/{organizationId}/Applications |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameter must be specified in the URL of the request:
Parameter | Type | Description |
---|---|---|
organizationId | string | Specifies the identification number of the Microsoft 365 organization. For more information on how to get this parameter, see Getting Organizations. |
The following optional parameters can be specified in the URL of the request:
Parameter | Type | Description |
---|---|---|
displayName | string | Specifies a name of Azure AD application. |
tag | string | Specifies a tag. |
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
The response body contains the following properties:
Property | Type | Description |
---|---|---|
results | Contains the Results object. | |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Property | Type | Description |
---|---|---|
applicationId | string | Specifies an identification number of the application in Microsoft Azure. |
displayName | string | Specifies the Azure AD application name. |
tags | string[] | Specifies tags for the application (if any). |
Example
The example shows how to get a list of existing Azure AD applications for the Microsoft organization with the ID 7a53143a-b7c8-4d5a-a569-7dcbca8ab71b.
Request: GET https://abc.tech.local:4443/v6/Organizations/7a53143a-b7c8-4d5a-a569-7dcbca8ab71b/Applications
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "offset": 0, "limit": 30, "results": [ { "applicationId": "e749397b-93d2-4750-9ec5-c9d351fbf50f", "displayName": "APP_1", "tags": [] }, { "applicationId": "eb88dd59-3121-483d-8af5-1d31bcea6d01", "displayName": "APP_2", "tags": [] }, { "applicationId": "d7b0fb29-c817-4eee-80eb-4340aa5eff9e", "displayName": "APP_3", "tags": [] } ], "_links": {"self": {"href": "v6/Organizations/7a53143a-b7c8-4d5a-a569-7dcbca8ab71b/Applications?offset=0&limit=30"}} } |