0
0

Azure Portal / Graph Explorer

Posted at

概要

(日記)Azure Portalの情報をGraphで参照
総目次

前提

  • 対象となるAzure EntraIDに、グローバル管理者権限を持つアカウント
    AzurePortal > ユーザ > 割り当てられたロール で確認。

環境

Graph Explorer

Graph Explorer
→ はじめに → 自分のプロファイル → Run Query : 自身の情報が表示される
※上記以外の要求はAuthorization_RequestDeniedが返ってくる

権限付与

Azure Portal → アプリケーション → Graph Explorer
→ 付与されたアクセス許可の表示 → ~に管理者の同意を与えます
→ 再ログイン

Graph Explorer → 組織内のすべてのユーザー → Run query: ユーザ情報

Note: 応答の中にこんなメッセージが...

"@microsoft.graph.tips": "This request only returns a subset of the resource's properties. Your app will need to use $select to return non-default properties. To find out what other properties are available for this resource see https://learn.microsoft.com/graph/api/resources/user",

クエリの例

情報を限定する・デフォルトで取れない情報を指定する

参照

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0