Editar

Partilhar via


Get-AzADAppFederatedCredential

Get federatedIdentityCredentials by Id from applications.

Syntax

Get-AzADAppFederatedCredential
   -ApplicationObjectId <String>
   [-Expand <String[]>]
   [-Select <String[]>]
   [-Count]
   [-Filter <String>]
   [-Orderby <String[]>]
   [-Search <String>]
   [-First <UInt64>]
   [-Skip <UInt64>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzADAppFederatedCredential
   -ApplicationObjectId <String>
   -FederatedCredentialId <String>
   [-Expand <String[]>]
   [-Select <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzADAppFederatedCredential
   -FederatedCredentialId <String>
   -ApplicationObject <MicrosoftGraphApplication>
   [-Expand <String[]>]
   [-Select <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzADAppFederatedCredential
   -ApplicationObject <MicrosoftGraphApplication>
   [-Expand <String[]>]
   [-Select <String[]>]
   [-Count]
   [-Filter <String>]
   [-Orderby <String[]>]
   [-Search <String>]
   [-First <UInt64>]
   [-Skip <UInt64>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Get federatedIdentityCredentials by Id from applications.

Examples

Example 1: List federated identity credentials for application

Get-AzADApplication -ObjectId $app | Get-AzADAppFederatedCredential

List federated identity credentials for application

Example 2: Get federated identity credential by id

Get-AzADAppFederatedCredential -ApplicationObjectId $appObjectId -FederatedCredentialId $credentialId

Get federated identity credential by id

Parameters

-ApplicationObject

application object

Type:MicrosoftGraphApplication
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ApplicationObjectId

key: id of application

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Count

Include count of items

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Expand

Expand related entities

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FederatedCredentialId

key: id of federatedIdentityCredential

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Filter

Filter items by property values, for more detail about filter query please see: https://learn.microsoft.com/en-us/graph/filter-query-parameter

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-First

Gets only the first 'n' objects.

Type:UInt64
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Orderby

Order items by property values

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Search items by search phrases

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Select

Select properties to be returned

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Skip

Ignores the first 'n' objects and then gets the remaining objects.

Type:UInt64
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IMicrosoftGraphFederatedIdentityCredential