Profiles - Create Profile

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

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

限制

只能由服务主体调用。

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

请求正文

名称 类型 说明
displayName

string

服务主体配置文件名称

响应

名称 类型 说明
200 OK

ServicePrincipalProfile

确定

示例

Create a service principal profile

Sample Request

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

Sample Response

{
  "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

服务主体配置文件 ID