Edit

Share via


Get-AzureADMSIdentityProvider

This cmdlet is used to retrieve the configured identity providers in the directory.

Syntax

GetQuery (Default)

Get-AzureADMSIdentityProvider
    [<CommonParameters>]

GetById

Get-AzureADMSIdentityProvider
    -Id <String>
    [<CommonParameters>]

Description

This cmdlet is used to retrieve the identity providers that have been configured in the directory. These identity providers can be used to allow users to sign up for or sign into applications secured by Azure AD B2C.

Configuring an identity provider in your Azure AD tenant also enables future B2B guest scenarios. For example, an organization has resources in Office 365 that needs to be shared with a Gmail user. The Gmail user will use their Google account credentials to authenticate and access the documents.

The current set of identity providers can be Microsoft, Google, Facebook, Amazon, or LinkedIn.

Examples

Example 1

PS C:\> Get-AzureADMSIdentityProvider

This example retrieves the list of all configured identity providers and their properties.

Example 2

PS C:\> Get-AzureADMSIdentityProvider -Id LinkedIn-OAUTH

This example retrieves the properties for the identity provider specified.

Parameters

-Id

The unique identifier for an identity provider.

Parameter properties

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

Parameter sets

GetById
Position:Named
Mandatory:True
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

Outputs

Object

Notes

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