Profiles - Create Profile
建立新的服務主體設定檔。
建立屬於服務主體呼叫端的新設定檔。
局限性
只能由服務主體呼叫。 單一服務主體可以擁有的設定檔數目上限為 100,000。
POST https://api.powerbi.com/v1.0/myorg/profiles
要求本文
| 名稱 | 類型 | Description |
|---|---|---|
| displayName |
string |
服務主體設定檔名稱 |
回應
| 名稱 | 類型 | Description |
|---|---|---|
| 200 OK |
OK |
範例
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"
}
定義
| 名稱 | Description |
|---|---|
|
Create |
Power BI 服務主體設定檔建立或更新要求 |
|
Service |
Power BI 服務主體設定檔。 僅與 Power BI Embedded 多租用戶解決方案相關。 |
CreateOrUpdateProfileRequest
Power BI 服務主體設定檔建立或更新要求
| 名稱 | 類型 | Description |
|---|---|---|
| displayName |
string |
服務主體設定檔名稱 |
ServicePrincipalProfile
Power BI 服務主體設定檔。 僅與 Power BI Embedded 多租用戶解決方案相關。
| 名稱 | 類型 | Description |
|---|---|---|
| displayName |
string |
服務主體設定檔名稱 |
| id |
string (uuid) |
服務主體設定檔識別碼 |