Partager via


Profiles - Create Profile

Crée un profil de principal de service.

Crée un profil qui appartient à l’appelant du principal de service.

Limites

Peut uniquement être appelé par un principal de service.

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

Corps de la demande

Nom Type Description
displayName

string

Nom du profil du principal de service

Réponses

Nom Type Description
200 OK

ServicePrincipalProfile

Ok

Exemples

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

Définitions

Nom Description
CreateOrUpdateProfileRequest

Un profil principal service Power BI créer ou mettre à jour une demande

ServicePrincipalProfile

Profil principal service Power BI. Uniquement pertinent pour la solution multilocataire Power BI Embedded.

CreateOrUpdateProfileRequest

Un profil principal service Power BI créer ou mettre à jour une demande

Nom Type Description
displayName

string

Nom du profil du principal de service

ServicePrincipalProfile

Profil principal service Power BI. Uniquement pertinent pour la solution multilocataire Power BI Embedded.

Nom Type Description
displayName

string

Nom du profil du principal de service

id

string

ID de profil du principal de service