Profiles - Create Profile

创建新的服务主体配置文件。

创建属于服务主体调用方的新配置文件。

局限性

只能由服务主体调用。 单个服务主体可以拥有的最大配置文件数为 100,000。

POST https://api.powerbi.com/v1.0/myorg/profiles

请求正文

名称 类型 说明
displayName

string

服务主体配置文件名称

响应

名称 类型 说明
200 OK

ServicePrincipalProfile

好的

示例

Create a service principal profile

示例请求

POST https://api.powerbi.com/v1.0/myorg/profiles
{
  "displayName": "My new profile"
}

示例响应

{
  "id": "b2ded813-54b7-43f4-b072-ed4c1f9d5824",
  "displayName": "My new profile"
}

定义

名称 说明
CreateOrUpdateProfileRequest

Power BI 服务主体配置文件创建或更新请求

ServicePrincipalProfile

Power BI 服务主体配置文件。 仅适用于 Power BI Embedded 多租户解决方案

CreateOrUpdateProfileRequest

Power BI 服务主体配置文件创建或更新请求

名称 类型 说明
displayName

string

服务主体配置文件名称

ServicePrincipalProfile

Power BI 服务主体配置文件。 仅适用于 Power BI Embedded 多租户解决方案

名称 类型 说明
displayName

string

服务主体配置文件名称

id

string (uuid)

服务主体配置文件 ID