Get ipApplicationSegment
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Read the properties and relationships of an ipApplicationSegment object.
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.
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | Application.Read.All | Application.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | Application.Read.All | Application.ReadWrite.All, Application.ReadWrite.OwnedBy |
Important
In delegated scenarios with work or school accounts, the signed-in user must be assigned a supported Microsoft Entra role or a custom role with a supported role permission. Application Administrator and Global Secure Access Administrator are the least privileged roles supported for this operation. Cloud Application Administrator can't manage app proxy settings.
HTTP request
GET /applications/{applicationObjectId}/onPremisesPublishing/segmentsConfiguration/microsoft.graph.ipSegmentConfiguration/applicationSegments/{applicationSegment-id}
Optional query parameters
This method supports the $expand
OData query parameter to help customize the response. For general information, see OData query parameters.
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Request body
Don't supply a request body for this method.
Response
If successful, this method returns a 200 OK
response code and an ipApplicationSegment object in the response body.
Examples
Example 1: Retrieve the basic ipApplicationSegments object
Request
The following example shows a request.
GET https://graph.microsoft.com/beta/applications/dcc40202-6223-488b-8e64-28aa1a803d6c/onPremisesPublishing/segmentsConfiguration/microsoft.graph.IpSegmentConfiguration/ApplicationSegments/df8cb1a6-4bbf-4da3-8f85-fe2fc439ab80
Response
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"destinationHost": "test-check-ch.contoso.com",
"destinationType": "fqdn",
"port": 0,
"ports": [
"20-20"
],
"protocol": "tcp",
"id": "df8cb1a6-4bbf-****-8f85-fe2fc***ab80"
}
Example 2: Retrieve ipApplicationSegments and expand the application object
Request
GET https://graph.microsoft.com/beta/applications/dcc40202-6223-488b-8e64-28aa1a803d6c/onPremisesPublishing/segmentsConfiguration/microsoft.graph.IpSegmentConfiguration/ApplicationSegments/df8cb1a6-4bbf-4da3-8f85-fe2fc439ab80?$expand=application
Response
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"destinationHost": "test.porto",
"destinationType": "fqdn",
"port": 0,
"ports": [
"20-20"
],
"protocol": "udp",
"id": "ed19c1bb-a4db-4d05-b8b3-3d79f8dbb666",
"application": {
"id": "618d636e-4978-****-8c0b-459ac982c391",
"appId": "15961fc8-797f-****-ab6e-04ff1e2d03ad",
"identifierUris": [
"api://15961fc8-797f-4278-ab6e-04ff1e2d03ad"
],
"signInAudience": "AzureADMyOrg",
"tags": [
"IsAccessibleViaZTNAClient",
"HideApp",
"PrivateAccessNonWebApplication"
],
"onPremisesPublishing": {
"externalUrl": "api://15961fc8-797f-****-ab6e-04ff1e2d03ad/",
"internalUrl": "api://15961fc8-797f-****-ab6e-04ff1e2d03ad/",
"alternateUrl": null,
"externalAuthenticationType": "passthru",
"isTranslateHostHeaderEnabled": false,
"isTranslateLinksInBodyEnabled": false,
"isOnPremPublishingEnabled": true,
"isHttpOnlyCookieEnabled": false,
"isSecureCookieEnabled": false,
"isPersistentCookieEnabled": false,
"isBackendCertificateValidationEnabled": false,
"applicationServerTimeout": "Default",
"useAlternateUrlForTranslationAndRedirect": false,
"applicationType": "NonWebApp",
"isStateSessionEnabled": false,
"isAccessibleViaZTNAClient": true,
"isDnsResolutionEnabled": false,
"verifiedCustomDomainCertificatesMetadata": null,
"verifiedCustomDomainKeyCredential": null,
"verifiedCustomDomainPasswordCredential": null,
"singleSignOnSettings": null,
"segmentsConfiguration": null,
"onPremisesApplicationSegments": []
}
}
}