通过


B2C IDP 配置(预览版)

B2C IDP 配置连接器将帮助系统管理员管理 b2c 租户中的应用程序、服务特权和用户流。

此连接器在以下产品和区域中可用:

Service Class 区域
逻辑应用程序 标准 除以下各项外的所有 逻辑应用区域
     - Azure Government区域
     - Azure中国区域
     - 美国国防部(DoD)
联系人
名称 Microsoft
URL https://powerapps.microsoft.com/en-us/support/
Email portalfloop@microsoft.com
连接器元数据
发布者 Microsoft
网站 https://powerapps.microsoft.com/en-us/portals/
隐私策略 https://privacy.microsoft.com/en-US/privacystatement
类别 销售和 CRM

连接器将用于在 B2C 租户中创建/获取应用程序流和用户流。

先决条件

这仅用于内部用途。

已知问题和限制

应用程序和服务主体 API 将不起作用,因为尚未将权限添加到 Microsoft Entra ID 应用程序中。

正在创建连接

连接器支持以下身份验证类型:

默认 用于创建连接的参数。 所有区域 不可共享

违约

适用:所有区域

用于创建连接的参数。

这是不可共享的连接。 如果 Power App 与另一个用户共享,系统会提示其他用户显式创建新连接。

限制

名称 调用 续订期
每个连接的 API 调用数 100 60 秒

操作

列出 b2cuserflows

列出 b2c 租户中的 b2c userflows。

列出 userflows

列出 b2c 租户中的用户流。

列出委托的权限授予

在租户中列出委派的许可授予。

列出服务启动

列出服务原则。

创建委托的权限授予

创建委派的权限授予。

创建应用程序

在 B2C 租户中创建新的应用程序。

创建新的 b2c userflows

在 b2c 租户中创建新的 b2c userflow。

创建新的 userflow

在 b2c 租户中创建新的 userflow。

创建服务原则

为应用程序创建新的服务原则。

关于我

更新应用程序

更新 B2C 租户中的现有应用程序。

获取应用程序

在 b2c 租户中获取应用程序。

列出 b2cuserflows

列出 b2c 租户中的 b2c userflows。

返回

列出 userflows

列出 b2c 租户中的用户流。

返回

列出委托的权限授予

在租户中列出委派的许可授予。

返回

列出服务启动

列出服务原则。

返回

创建委托的权限授予

创建委派的权限授予。

参数

名称 密钥 必需 类型 说明
ClientId
clientId string

客户端 ID。

ConsentType
consentType string

许可类型。

PrincipalId
principalId string

主体 ID。

资源ID
resourceId string

资源 ID (MS Graph SP ID)。

Scope
scope string

权限范围。

返回

创建应用程序

在 B2C 租户中创建新的应用程序。

参数

名称 密钥 必需 类型 说明
显示名称
displayName byte

应用程序的显示名称。

回退公共客户端
isFallbackPublicClient boolean

回退公共客户端。

redirectUris
redirectUris array of string

重定向此应用程序的 URI。

启用令牌保险
enableIdTokenIssuance boolean

启用令牌保险。

启用访问令牌保险
enableAccessTokenIssuance boolean

启用访问令牌保险。

返回

创建新的 b2c userflows

在 b2c 租户中创建新的 b2c userflow。

参数

名称 密钥 必需 类型 说明
id
id string

UserFlow 名称。

UserFlowType
userFlowType string

UserFlow 类型。

UserFlowType 版本
userFlowTypeVersion integer

UserFlowType 版本。

颁发者实体用户流
isIssuerEntityUserFlow boolean

颁发者实体用户流。

返回

Body
UserFlow

创建新的 userflow

在 b2c 租户中创建新的 userflow。

参数

名称 密钥 必需 类型 说明
id
id string

UserFlow 名称。

UserFlowType
userFlowType string

UserFlow 类型。

UserFlowType 版本
userFlowTypeVersion integer

UserFlowType 版本。

返回

Body
UserFlow

创建服务原则

为应用程序创建新的服务原则。

参数

名称 密钥 必需 类型 说明
帐户已启用
accountEnabled boolean

帐户已启用。

AppId
appId string

应用程序 ID。

需要应用角色分配
appRoleAssignmentRequired boolean

需要应用角色分配。

replyUrls
replyUrls array of string

此应用程序的回复 URI。

返回

关于我

更新应用程序

更新 B2C 租户中的现有应用程序。

参数

名称 密钥 必需 类型 说明
应用程序 ID (非 appid)
id True string

要更新的应用程序(而不是 appid)的 ID。

获取应用程序

在 b2c 租户中获取应用程序。

返回

定义

应用程序

名称 路径 类型 说明
id
id string

id

deletedDateTime
deletedDateTime string

deletedDateTime

应用程序ID
appId string

应用程序ID

applicationTemplateId
applicationTemplateId string

applicationTemplateId

创建日期时间
createdDateTime string

创建日期时间

displayName
displayName string

displayName

组成员身份声明
groupMembershipClaims string

组成员身份声明

identifierUris
identifierUris array of string

identifierUris

isDeviceOnlyAuthSupported
isDeviceOnlyAuthSupported boolean

isDeviceOnlyAuthSupported

isFallbackPublicClient
isFallbackPublicClient boolean

isFallbackPublicClient

optionalClaims
optionalClaims string

optionalClaims

publisherDomain
publisherDomain string

publisherDomain

signInAudience
signInAudience string

signInAudience

标记
tags array of

标记

tokenEncryptionKeyId
tokenEncryptionKeyId string

tokenEncryptionKeyId

redirectUris
spa.redirectUris array of

redirectUris

addIns
addIns array of

addIns

acceptMappedClaims
api.acceptMappedClaims boolean

acceptMappedClaims

knownClientApplications
api.knownClientApplications array of

knownClientApplications

requestedAccessTokenVersion
api.requestedAccessTokenVersion integer

requestedAccessTokenVersion

oauth2PermissionScopes
api.oauth2PermissionScopes array of object

oauth2PermissionScopes

adminConsentDescription
api.oauth2PermissionScopes.adminConsentDescription string

adminConsentDescription

adminConsentDisplayName
api.oauth2PermissionScopes.adminConsentDisplayName string

adminConsentDisplayName

id
api.oauth2PermissionScopes.id string

id

isEnabled
api.oauth2PermissionScopes.isEnabled boolean

isEnabled

类型
api.oauth2PermissionScopes.type string

类型

userConsentDescription
api.oauth2PermissionScopes.userConsentDescription string

userConsentDescription

userConsentDisplayName
api.oauth2PermissionScopes.userConsentDisplayName string

userConsentDisplayName

value
api.oauth2PermissionScopes.value string

value

preAuthorizedApplications
api.preAuthorizedApplications array of

preAuthorizedApplications

appRoles
appRoles array of

appRoles

logoUrl
info.logoUrl string

logoUrl

marketingUrl
info.marketingUrl string

marketingUrl

privacyStatementUrl
info.privacyStatementUrl string

privacyStatementUrl

支持 URL
info.supportUrl string

支持 URL

服务条款网址
info.termsOfServiceUrl string

服务条款网址

keyCredentials
keyCredentials array of

keyCredentials

countriesBlockedForMinors
parentalControlSettings.countriesBlockedForMinors array of

countriesBlockedForMinors

legalAgeGroupRule
parentalControlSettings.legalAgeGroupRule string

legalAgeGroupRule

passwordCredentials
passwordCredentials array of

passwordCredentials

redirectUris
publicClient.redirectUris array of string

redirectUris

requiredResourceAccess
requiredResourceAccess array of object

requiredResourceAccess

resourceAppId
requiredResourceAccess.resourceAppId string

resourceAppId

resourceAccess
requiredResourceAccess.resourceAccess array of object

resourceAccess

id
requiredResourceAccess.resourceAccess.id string

id

类型
requiredResourceAccess.resourceAccess.type string

类型

homePageUrl
web.homePageUrl string

homePageUrl

logoutUrl
web.logoutUrl string

logoutUrl

redirectUris
web.redirectUris array of string

redirectUris

enableAccessTokenIssuance
web.implicitGrantSettings.enableAccessTokenIssuance boolean

enableAccessTokenIssuance

enableIdTokenIssuance
web.implicitGrantSettings.enableIdTokenIssuance boolean

enableIdTokenIssuance

ApplicationCollection

名称 路径 类型 说明
value
value array of Application

ServicePrinciple

名称 路径 类型 说明
id
id string

id

deletedDateTime
deletedDateTime string

deletedDateTime

accountEnabled
accountEnabled boolean

accountEnabled

alternativeNames
alternativeNames array of

alternativeNames

应用说明
appDescription string

应用说明

appDisplayName
appDisplayName string

appDisplayName

应用程序ID
appId string

应用程序ID

applicationTemplateId
applicationTemplateId string

applicationTemplateId

appOwnerOrganizationId
appOwnerOrganizationId string

appOwnerOrganizationId

appRoleAssignmentRequired
appRoleAssignmentRequired boolean

appRoleAssignmentRequired

说明
description string

说明

displayName
displayName string

displayName

错误网址
errorUrl string

错误网址

主页
homepage string

主页

isAuthorizationServiceEnabled
isAuthorizationServiceEnabled boolean

isAuthorizationServiceEnabled

loginUrl
loginUrl string

loginUrl

logoutUrl
logoutUrl string

logoutUrl

笔记
notes string

笔记

notificationEmailAddresses
notificationEmailAddresses array of

notificationEmailAddresses

preferredSingleSignOnMode
preferredSingleSignOnMode string

preferredSingleSignOnMode

preferredTokenSigningKeyEndDateTime
preferredTokenSigningKeyEndDateTime string

preferredTokenSigningKeyEndDateTime

preferredTokenSigningKeyThumbprint
preferredTokenSigningKeyThumbprint string

preferredTokenSigningKeyThumbprint

出版商名称
publisherName string

出版商名称

replyUrls
replyUrls array of string

replyUrls

samlMetadataUrl
samlMetadataUrl string

samlMetadataUrl

samlSingleSignOnSettings
samlSingleSignOnSettings string

samlSingleSignOnSettings

servicePrincipalNames
servicePrincipalNames array of string

servicePrincipalNames

servicePrincipalType
servicePrincipalType string

servicePrincipalType

signInAudience
signInAudience string

signInAudience

标记
tags array of

标记

tokenEncryptionKeyId
tokenEncryptionKeyId string

tokenEncryptionKeyId

displayName
verifiedPublisher.displayName string

displayName

verifiedPublisherId
verifiedPublisher.verifiedPublisherId string

verifiedPublisherId

addedDateTime
verifiedPublisher.addedDateTime string

addedDateTime

addIns
addIns array of

addIns

resourceSpecificApplicationPermissions
api.resourceSpecificApplicationPermissions array of

resourceSpecificApplicationPermissions

appRoles
appRoles array of

appRoles

服务条款网址
info.termsOfServiceUrl string

服务条款网址

支持 URL
info.supportUrl string

支持 URL

privacyStatementUrl
info.privacyStatementUrl string

privacyStatementUrl

marketingUrl
info.marketingUrl string

marketingUrl

logoUrl
info.logoUrl string

logoUrl

keyCredentials
keyCredentials array of

keyCredentials

publishedPermissionScopes
publishedPermissionScopes array of

publishedPermissionScopes

passwordCredentials
passwordCredentials array of

passwordCredentials

ServicePrincipleCollection

名称 路径 类型 说明
value
value array of ServicePrinciple

PermissionGrant

名称 路径 类型 说明
clientId
clientId string

clientId

consentType
consentType string

consentType

id
id string

id

principalId (主体ID)
principalId string

principalId (主体ID)

资源ID
resourceId string

资源ID

作用域
scope string

作用域

PermissionGrantCollection

名称 路径 类型 说明
value
value array of PermissionGrant

UserFlow

名称 路径 类型 说明
id
id string

id

userFlowType
userFlowType string

userFlowType

userFlowTypeVersion
userFlowTypeVersion integer

userFlowTypeVersion

UserFlowCollection

名称 路径 类型 说明
value
value array of UserFlow