Get-AzureADMSIdentityProvider

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

Syntax

Get-AzureADMSIdentityProvider []
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.

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

Inputs

String

Outputs

Object

Notes

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