IdentityProvider.Read.All
Allows the app to read your organization’s identity (authentication) providers’ properties without a signed in user.
Permission Details
Read identity providers
Allows the app to read your organization’s identity (authentication) providers’ properties without a signed in user.
e321f0bb-e7f7-481e-bb28-e3b0b32d4bd0
Read identity providers
Allows the app to read your organization’s identity (authentication) providers’ properties on behalf of the user.
43781733-b5a7-4d1b-98f4-e8edff23e1a9
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
clientId |
StringNullable |
The client ID for the application. This is the client ID obtained when registering the application with the identity provider. Required. Not nullable. |
clientSecret |
StringNullable |
The client secret for the application. This is the client secret obtained when registering the application with the identity provider. This is write-only. A read operation will return . Required. Not nullable. |
id |
String |
The ID of the identity provider. |
name |
StringNullable |
The display name of the identity provider. Not nullable. |
type |
StringNullable |
The identity provider type is a required field. For B2B scenario: Google, Facebook. For B2C scenario: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo, QQ, WeChat, OpenIDConnect. Not nullable. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"id": "String",
"type": "String",
"name": "String",
"clientId": "String",
"clientSecret": "String"
}
Relationships
Relationships metadata is not available for this permission mapping.
View resource documentationGraph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Identity.IdentityProviders["{identityProviderBase-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let identityProviderBase = await client.api('/identity/identityProviders/Amazon-OAUTH')
.get();
Import-Module Microsoft.Graph.Identity.SignIns
Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.identity.identity_providers.by_identity_provider_base_id('identityProviderBase-id').get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for IdentityProvider.Read.All
Grant Admin Consent
Application permissions always require admin consent.