Get-AzureADMSIdentityProvider
此 cmdlet 用于检索目录中配置的标识提供者。
语法
GetQuery (默认值)
Get-AzureADMSIdentityProvider
[<CommonParameters>]
GetById
Get-AzureADMSIdentityProvider
-Id <String>
[<CommonParameters>]
说明
此 cmdlet 用于检索已在目录中配置的标识提供者。 这些标识提供者可用于允许用户注册或登录受 Azure AD B2C 保护的应用程序。
在 Azure AD 租户中配置标识提供者还可以启用未来的 B2B 来宾方案。 例如,组织在 Office 365 中具有需要与 Gmail 用户共享的资源。 Gmail 将使用其 Google 帐户凭据来验证和访问文档。
当前的标识提供者集可以是 Microsoft、Google、Facebook、Amazon 或 LinkedIn。
示例
示例 1
PS C:\> Get-AzureADMSIdentityProvider
此示例检索所有已配置的标识提供者及其属性的列表。
示例 2
PS C:\> Get-AzureADMSIdentityProvider -Id LinkedIn-OAUTH
此示例检索指定的标识提供者的属性。
参数
-Id
身份提供程序的唯一标识符。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
GetById
| Position: | Named |
| 必需: | True |
| 来自管道的值: | True |
| 来自管道的值(按属性名称): | True |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。
输入
String
输出
Object
备注
请参阅 Get-AzureADMSIdentityProvider 到 Microsoft Graph PowerShell 的迁移指南。