แชร์ผ่าน


Profiles - Create Profile

Creates a new service principal profile.

Creates a new profile that belongs to service principal caller.

Limitations

Can only be called by a service principal. The maximum number of profiles a single service principal can have, is 100,000.

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

Request Body

Name Type Description
displayName

string

The service principal profile name

Responses

Name Type Description
200 OK

ServicePrincipalProfile

OK

Examples

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

Definitions

Name Description
CreateOrUpdateProfileRequest

A Power BI service principal profile create or update request

ServicePrincipalProfile

A Power BI service principal profile. Only relevant for Power BI Embedded multi-tenancy solution.

CreateOrUpdateProfileRequest

A Power BI service principal profile create or update request

Name Type Description
displayName

string

The service principal profile name

ServicePrincipalProfile

A Power BI service principal profile. Only relevant for Power BI Embedded multi-tenancy solution.

Name Type Description
displayName

string

The service principal profile name

id

string

The service principal profile ID