_posts/2018-09-14-functions-appservice-auth.html [279:313]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

[PowerShell]
[powershell]
### ADAL.NET をロード ###
$adal = "C:\ADAL\Microsoft.IdentityModel.Clients.ActiveDirectory.dll"
[System.Reflection.Assembly]::LoadFrom($adal)

### Azure AD テナントの設定 ###
# Azure AD テナントのディレクトリ ID
$adId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

# トークン発行元
$authority = "https://login.microsoftonline.com/$adId"

### Function App で作成した AD アプリ ###
# クライアント ID
$resourceApplicationId = "11f15836-8e45-4fb9-b9f8-b66611b21f8b"

### クライアント用に作成した AD アプリ ###
# アプリケーション ID
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - _posts/2018-09-14-functions-appservice-auth.html [487:521]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

[PowerShell]
[powershell]
### ADAL.NET をロード ###
$adal = "C:\ADAL\Microsoft.IdentityModel.Clients.ActiveDirectory.dll"
[System.Reflection.Assembly]::LoadFrom($adal)

### Azure AD テナントの設定 ###
# Azure AD テナントのディレクトリ ID
$adId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

# トークン発行元
$authority = "https://login.microsoftonline.com/$adId"

### Function App で作成した AD アプリ ###
# クライアント ID
$resourceApplicationId = "11f15836-8e45-4fb9-b9f8-b66611b21f8b"

### クライアント用に作成した AD アプリ ###
# アプリケーション ID
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -