Share via


Admin - Users GetUserSubscriptionsAsAdmin

指定したユーザーのサブスクリプションの一覧を返します。 これはプレビュー API 呼び出しです。

アクセス許可

  • ユーザーは管理者権限 (Office 365グローバル管理者や Power BI サービス管理者など) を持っているか、サービス プリンシパルを使用して認証する必要があります。
  • 委任されたアクセス許可がサポートされています。

必要なスコープ

Tenant.Read.All または Tenant.ReadWrite.All

制限事項

1 時間あたり最大 200 要求。

GET https://api.powerbi.com/v1.0/myorg/admin/users/{userId}/subscriptions
GET https://api.powerbi.com/v1.0/myorg/admin/users/{userId}/subscriptions?continuationToken={continuationToken}

URI パラメーター

名前 / 必須 説明
userId
path True

string

ユーザーのグラフ ID またはユーザー プリンシパル名 (UPN)

continuationToken
query

string

結果セットの次のチャンクを取得するために必要なトークン

応答

名前 説明
200 OK

SubscriptionsByUserResponse

OK

Example

Sample Request

GET https://api.powerbi.com/v1.0/myorg/admin/users/f089354e-8366-4e18-aea3-4cb4a3a50b48/subscriptions

Sample Response

{
  "subscriptionEntities": [
    {
      "id": "9225d0bc-9f5e-4819-a637-799c0c4fh3f1",
      "title": "Team Scorecard-test",
      "artifactId": "0b50f0bf-b22b-4685-83b9-b6d17f7f4e46",
      "artifactDisplayName": "Customer Profitability Sample",
      "subArtifactDisplayName": "Team Scorecard",
      "artifactType": "Report",
      "isEnabled": false,
      "frequency": "Daily",
      "startDate": "8/10/2021 12:00:00 AM",
      "endDate": "8/10/2022 12:00:00 AM",
      "linkToContent": false,
      "previewImage": true,
      "attachmentFormat": "PNG",
      "users": []
    }
  ],
  "continuationUri": "https://api.powerbi.com/v1.0/myorg/admin/users/f089354e-8366-4e18-aea3-4cb4a3a50b48/subscriptions?continuationToken='LDEsMTAwMDAwLDA%3D'",
  "continuationToken": "LDEsMTAwMDAwLDA%3D"
}

定義

名前 説明
PrincipalType

プリンシパルの種類

ServicePrincipalProfile

Power BI サービス プリンシパル プロファイル。 マルチテナント ソリューションPower BI Embeddedにのみ関連します。

Subscription

Power BI アイテムのメール サブスクリプション (レポートやダッシュボードなど)

SubscriptionsByUserResponse

ユーザーの Power BI サブスクリプションの OData 応答ラッパー

SubscriptionUser

Power BI メール サブスクリプション ユーザー

PrincipalType

プリンシパルの種類

名前 説明
App

string

サービス プリンシパルの種類

Group

string

グループ プリンシパルの種類

None

string

プリンシパルの種類はありません。 組織全体レベルのアクセスに使用します。

User

string

ユーザー プリンシパルの種類

ServicePrincipalProfile

Power BI サービス プリンシパル プロファイル。 マルチテナント ソリューションPower BI Embeddedにのみ関連します。

名前 説明
displayName

string

サービス プリンシパル プロファイル名

id

string

サービス プリンシパル プロファイル ID

Subscription

Power BI アイテムのメール サブスクリプション (レポートやダッシュボードなど)

名前 説明
artifactDisplayName

string

サブスクライブされている Power BI アイテムの名前 (レポートやダッシュボードなど)

artifactId

string

サブスクライブされている Power BI アイテムの ID (レポートやダッシュボードなど)

artifactType

string

Power BI 項目の種類 (、、または DatasetなどReportDashboard)

attachmentFormat

string

メール サブスクリプションに添付されているレポートの形式

endDate

string

メール サブスクリプションの終了日時

frequency

string

メール サブスクリプションの頻度

id

string

サブスクリプション ID

isEnabled

boolean

メール サブスクリプションが有効になっているかどうか

linkToContent

boolean

サブスクリプション リンクがメール サブスクリプションに存在するかどうか

previewImage

boolean

レポートのスクリーンショットがメール サブスクリプションに存在するかどうか

startDate

string

メール サブスクリプションの開始日時

subArtifactDisplayName

string

サブスクライブされている Power BI アイテムのページ名 (レポートの場合)。

title

string

アプリの名前

users

SubscriptionUser[]

各メール サブスクライバーの詳細。 Get User Subscriptions As 管理 API 呼び出しを使用する場合、返される値は空の配列 (null) です。 このプロパティは、今後のリリースでペイロード応答から削除されます。 Power BI レポートまたはダッシュボードのサブスクリプション情報を取得するには、[レポート サブスクリプションを管理として取得] または [ダッシュボード サブスクリプションを 管理 API 呼び出しとして取得する] を使用します。

SubscriptionsByUserResponse

ユーザーの Power BI サブスクリプションの OData 応答ラッパー

名前 説明
continuationToken

string

結果セットの次のチャンクを取得するトークン

continuationUri

string

結果セット内の次のチャンクの URI

odata.context

string

subscriptionEntities

Subscription[]

ユーザーのサブスクリプション

SubscriptionUser

Power BI メール サブスクリプション ユーザー

名前 説明
displayName

string

プリンシパルの表示名

emailAddress

string

ユーザーの電子メール アドレス

graphId

string

Microsoft Graph のプリンシパルの識別子。 管理者 API でのみ使用できます。

identifier

string

プリンシパルの識別子

principalType

PrincipalType

プリンシパルの種類

profile

ServicePrincipalProfile

Power BI サービス プリンシパル プロファイル。 マルチテナント ソリューションPower BI Embeddedにのみ関連します。

userType

string

ユーザーの種類。