Python Web App demo using Microsoft Intelligent Security Graph
マイクロソフトのpythonサンプルを試行した時の情報です。
結果としては、AzureでのAPI権限が付与できず、中断しました。
前提条件
PythonとMicrosoftアカウントが必要です。
ソースの入手
git clone https://github.com/microsoftgraph/python-security-rest-sample.git
Python仮想環境
Minicondaを使用したPython仮想環境での実行が推奨されています。
下記URLからインストールし、仮想環境を作成します。コマンドは、condaプロンプトを起動して入力します。
https://docs.conda.io/en/latest/miniconda.html
conda create -n rest-sample
conda activate rest-sample
Azureでアプリケーション登録
Azureでアプリケーションを登録し、APIが呼び出せるように準備するのですが、個人用のMicrosoftアカウントでは、このサンプルに必要な権限が付与できないようでした。

