Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 3.88 KB

socialidentityprovider.md

File metadata and controls

74 lines (56 loc) · 3.88 KB
title description ms.localizationpriority doc_type ms.subservice author
socialIdentityProvider resource type
Represents social identity providers in a Microsoft Entra tenant and an Azure AD B2C tenant.
high
resourcePageType
entra-sign-in
namkedia

socialIdentityProvider resource type

Namespace: microsoft.graph

Represents social identity providers with External Identities for both Microsoft Entra tenant and an Azure AD B2C tenant.

Inherits from identityProviderBase.

For Microsoft Entra B2B scenarios in a Microsoft Entra tenant, the identity provider type can be Google or Facebook.

Configuring an identity provider in your Microsoft Entra tenant enables new Microsoft Entra B2B guest scenarios. For example, an organization has resources in Microsoft 365 that need to be shared with a Gmail user. The Gmail user will use their Google account credentials to authenticate and access the documents.

In an Azure AD B2C tenant, the identity provider type can be Microsoft, Google, Facebook, Amazon, LinkedIn, or Twitter. The following identity providers are in preview: Weibo, QQ, WeChat, and GitHub.

Configuring an identity provider in your Azure AD B2C tenant enables users to sign up and sign in using a social account supported provider in an application. For example, an application can use Azure AD B2C to allow users to sign up for the service using a Facebook account.

Methods

None.

For the list of API operations for managing social identity providers, see the identityProviderBase resource type.

Properties

Property Type Description
clientId String The identifier for the client application obtained when registering the application with the identity provider. Required.
clientSecret String The client secret for the application that is obtained when the application is registered with the identity provider. This is write-only. A read operation returns ****. Required.
displayName String The display name of the identity provider. Inherited from identityProviderBase.
id String The identifier of the identity provider. Inherited from identityProviderBase. Read-only.
identityProviderType String For a B2B scenario, possible values: Google, Facebook. For a B2C scenario, possible values: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo, QQ, WeChat. Required.

Where to get the client identifier and secret

Each identity provider has a process for creating an app registration. For example, users create an app registration with Facebook at developers.facebook.com. The resulting client identifier and client secret can be passed to create identityProvider. Then, each user object in the directory can be federated to any of the tenant's identity providers for authentication. This enables the user to sign in by entering credentials on the identity provider's sign-in page. The token from the identity provider is validated by Microsoft Entra ID before the tenant issues a token to the application.

JSON representation

The following JSON representation shows the resource type.

{
    "id": "String",
    "identityProviderType": "String",
    "displayName": "String",
    "clientId": "String",
    "clientSecret": "String"
}