Edit

Share via


Get-AzureADApplicationServiceEndpoint

Retrieve the service endpoint of an application

Syntax

Default (Default)

Get-AzureADApplicationServiceEndpoint
    -ObjectId <String>
    [-All <Boolean>]
    [-Top <Int32>]
    [<CommonParameters>]

Description

This cmdlet retrieves the service endpoint(s) of an application. The service endpoint entity contains service discovery information. The serviceEndpoints property of the Application entitie is of type ServiceEndpoint. Other services can use the information stored in the ServiceEndpoint entity to find this service and its addressable endpoints.

Examples

Example 1

PS C:\WINDOWS\system32> Get-AzureADApplicationServiceEndpoint -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

Retrieves the Service EndPoint of the application that is specified through the Object ID parameter

Parameters

-All

Return all service endpoints

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-ObjectId

Specifies the object ID of the application for which the service endpoint is retrieved

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-Top

specifies the maximum number of results that are returned. the default is 100.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

Outputs

Object

Notes

See the migration guide for Get-AzureADApplicationServiceEndpoint to the Microsoft Graph PowerShell.