| title | List availableProviderTypes |
|---|---|
| description | Retrieve all supported identity providers in the directory. |
| ms.localizationpriority | medium |
| doc_type | apiPageType |
| author | namkedia |
| ms.subservice | entra-sign-in |
| ms.date | 04/04/2024 |
Namespace: microsoft.graph
Get all identity providers supported in a directory.
[!INCLUDE national-cloud-support]
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
[!INCLUDE permissions-table]
[!INCLUDE rbac-identity-provider-apis]
GET /identity/identityProviders/availableProviderTypes| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this function returns a 200 OK response code and a string collection in the response body. The string collection contains the names of the identity providers supported in the tenant.
The following example shows a request.
GET https://graph.microsoft.com/v1.0/identity/identityProviders/availableProviderTypes[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Collection(Edm.String)",
"value": [
"MicrosoftAccount",
"EmailOTP",
"Facebook",
"Google"
]
}The following example shows a request.
GET https://graph.microsoft.com/v1.0/identity/identityProviders/availableProviderTypes[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Collection(Edm.String)",
"value": [
"Microsoft",
"Google",
"Facebook",
"Amazon",
"LinkedIn",
"Weibo",
"QQ",
"WeChat",
"Twitter",
"GitHub",
"AppleManaged",
"OpenIdConnect"
]
}