SlideShare a Scribd company logo
1 of 33
Download to read offline
Windows Azure Active Directory
を利用したアプリケーション
Japan Windows Azure User Group
Kentaro Aoki
@kekekekenta
2013年4月27日
はじめに
• 正式リリースおめでとう!Azureポータルから管理可能に!
2
Windows Azureに関係するActive Directory
• Windows Server Active Directory
– 仮想マシン
• Windows ServerとActive Directoryが動作する仮想マシンインスタンス
– 仮想ネットワーク
• Active Directory サイトのネットワーク
• Windows Azure Active Directory (Windows Azure AD)
– ディレクトリ(New)←今回はこれ
• Webアプリケーション向けのIDプロバイダーを提供
– Access Control 名前空間
• Webアプリケーション向けのIDプロバイダーやWeb IDを統合して認証と承
認を一元化するサービス
3
では、WINDOWS AZURE AD。
4
Windows Azure AD(ディレクトリ)
• 特徴
– Windows Azure ADは、Microsoft社のSaaS製品で利用されている
• Office365、Microsoft Dynamics CRM Online、Windows Server Online Backup、
Windows Intune
– Windows ServerのActive Directoryとは異なる
• できること
– ユーザとグループの管理
– 認証と承認、シングル サインオン
– アプリケーションからディレクトリ情報の取得と操作
– オンプレミスのActive Directoryとディレクトリ同期、フェデレーション
• Windows Azure ADを利用したアプリケーション
– 固定組織(テナント)向けアプリケーション
– 不特定多数組織(マルチテナント)向けアプリケーション
5
Windows Azure AD構成
6
Windows Azure ADプレビューから変わったところ
• Windows Azure ポータル
– ディレクトリ(テナント)の作成ができるようになった。
– PowerShellを使わなくてもアプリ向け設定ができるようになった。
– Seller Dashboardを使わなくてもマルチテナントアプリを実現できるようになった。
– メタデータのURLを知らなくてもアプリ開発できるようになった。
• Windows Azure ADログイン画面
– フェデレーションが必要なユーザは自動でリダイレクト
• PowerShell向けモジュール(GA時期は少し違いますが)
– Windows Azure Active Directory Moduleという名前になった。
• Directory Syncツール(GA時期は少し違いますが)
– Windows Azure Active Directory Sync Toolという名前になった。
• WIF
– アップデートされた。
• あとは、URLが変わったとかクレームが変わったとかありますが、アプリ開発者向けに利用しや
すくなりました!
7
アプリケーション開発について
8
アプリから利用可能なWindows Azure ADの機能
• シングルサインオンを利用する
– Office365などWindows Azure ADを利用しているアプリケーション間でシングルサインオ
ンが可能になる。
• チュートリアル
– http://msdn.microsoft.com/en-us/library/windowsazure/055e1155-2d4d-4c85-b44e-
d406872ba595.aspx
• Graph APIを利用してディレクトリを利用する
– Windows Azure ADのディレクトリにアクセスして情報の取得や更新が可能になる。
• チュートリアル
– http://msdn.microsoft.com/en-us/library/windowsazure/dn151791.aspx
• その他サンプルコード
– http://code.msdn.microsoft.com/Write-Sample-App-for-79e55502
• マルチテナントアプリケーションとして利用する
– アプリ利用者の意思によって利用者のWindows Azure ADのディレクトリとアプリケー
ション間のアクセスが可能になる。
• チュートリアル
– http://msdn.microsoft.com/en-us/library/windowsazure/dn151789.aspx
9
Windows Azure ADアプリ開発で必要なツール
• Visual Studio 2012 Professional or Visual Studio 2012
Ultimate
– http://www.microsoft.com/visualstudio/eng/downloads
• Identity and Access Tools for Visual Studio 2012
– http://visualstudiogallery.msdn.microsoft.com/e21bf653-dfe1-
4d81-b3d3-795cb104066e
• ※.netで開発する場合
10
組織のアプリケーション(シングルサインオン)
11
シングルサインオン
• ①アプリにアクセス認証
が必要場合はWindows
Azure ADにリダイレク
ト
• ②Windows Azure ADで
認証成功の場合はトーク
ン取得
• ③トークンを使って再度
アプリにアクセス
12
シングルサインオン向け設定
• Windows Azureポータル
– アプリID/URI
• テナント内でユニークなアプリID/URIを設定
– アプリケーションのURLが一般的
– ディレクトリアクセス
• シングル サインオン
13
Graph API
• Windows Azure ADのテナントにアクセスして情報の取得や更新が可能に
なる
– アクセスできる情報
• ユーザ、グループ、連絡先、組織情報、役割
– 利用シナリオ
• テナント情報取得
• ユーザとグループリストの取得
• グループの変更
• ユーザパスワードの更新
• ユーザの有効/無効化
14
Graph API
15
• ①トークンを取得
– クライアントIDとパス
ワード(キー)を使用
して取得
• ②Graph APIにアクセス
– 取得したトークンを使
用してアクセス
Graph API向け設定
• キー
– 有効期限1年間もしくは2年間
– 作成されたキーは作成後、直ちにメモする。後から確認不可能。
– このキーはトークンを取得する際のパスワードとして利用
• ディレクトリアクセス
– シングル サインオン、ディレクトリ データの読み取り
– シングル サインオン、ディレクトリ データの読み取りと書き込み
16
Graph API利用アプリで必要な追加ツールなど
• WCF Data Services 5.3.0 RTM Tools
– http://www.microsoft.com/en-
us/download/details.aspx?id=35840
• 新規プロジェクトの下記参照を5.3.0.0に変更すること!
– Microsoft.Data.Edm, Microsoft.Data.Odata, Microsoft.Data.Service.Client,
System.Spatial
• Windows Azure AD Graph API Helper Library
– http://code.msdn.microsoft.com/Windows-Azure-AD-Graph-API-
a8c72e18
• ※.netで開発する場合
17
マルチテナント向けアプリケーション
18
マルチテナントアプリ向け設定
• Windows Azure ADポータル
– 外部アクセス
• オン
– アプリID/URI
• Windows Azure ADでユニークなアプリID/URI
– https://から始まるURI
– 登録したカスタムドメインもしくは標準のドメイン
» https://<tenantname>.onmicrosoft.com/<application name>
– ロゴ
• イメージのサイズは、215px x 215px
• 中央のイメージのサイズは、94px x 94px
• サポートファイルは、.bmp、.jpg、.png)
• ファイル サイズは 100 KB 未満
– ディレクトリアクセス
• シングル サインオン
• シングル サインオン、ディレクトリ データの読み取り
• シングル サインオン、ディレクトリ データの読み取りと書き込み
19
215px
94px
アプリとテナント間のアクセス許可確認を行うURL
20
Consentリクエスト
マルチテナントアプリ利用者向けアクセス確認画面
21
なのでAzureポータルとかはこんな感じ
22
フェデレーション
23
ログインイメージ
24
ログインイメージ
25
Windows Server Active Directory(参考)
• 今回紹介するWindows Azure ADとは異なりますが、Windows
Server Active DirectoryをWindows Azureに構築する際のガイドです。
ご参考にー。
– ガイドライン
• http://msdn.microsoft.com/library/windowsazure/jj156090.aspx
– Active Directory のインストール
• http://www.windowsazure.com/en-
us/manage/services/networking/active-directory-forest/
– Active Directory のレプリカ構成
• http://www.windowsazure.com/en-
us/manage/services/networking/replica-domain-controller/
• ※ディスクのキャッシュ設定とかDNS設定とか注意です。
26
WINDOWS AZURE ACTIVE DIRECTORY
MODULE FOR WINDOWS POWERSHELL
27
インストーラ名がWindows Azure ADに変わった!
28
Windows Azure Active Directoryアクセスのための準備
• OSの準備
– Windows 7, Windows 8, Windows Server 2008 R2, Windows Server 2012
• Microsoft .NET Frameworkのインストール
– Microsoft .NET Framework 3.51 機能
• PowerShellモジュールのインストール
– Microsoft Online Services Sign-In Assistant for IT Professionals RTW
• http://www.microsoft.com/en-us/download/details.aspx?id=28177
– Windows Azure Active Directory Module for Windows PowerShell
• 32bitのダウンロード先
– http://go.microsoft.com/fwlink/p/?linkid=236298
• 64bitのダウンロード先
– http://go.microsoft.com/fwlink/p/?linkid=236297
• インストール確認
– コマンドリスト表示
• Get-Command Msonline
• Get-Command MsonlineExtended
– コマンドヘルプ表示
• Get-Help Get-MsolRole
29
PowerShellでWindows Azure Active Directoryに接続
• PowerShellで接続例
– Import-Module msonline
– Import-Module msonlineextended
– Connect-MsolService -Credential (Get-Credential)
• PowerShellで情報取得
– テナント情報の取得
• Get-MsolCompanyInformation
– テナントIDの取得
• (Get-MsolCompanyInformation).ObjectId
– サービスプリンシパルの取得
• Get-MsolServicePrincipal
– 参考
• Windows Azure Active Directory Module for Windows PowerShell
– http://technet.microsoft.com/en-us/library/jj151815.aspx
30
その他
31
料金や制限について
• Windows Azure Access ControlとActive Directory は、現時点で
は無料!
– アクセス制御:無料
– Directory: 500,000 オブジェクトまで無料
• それ以上のオブジェクトがある場合はお問い合わせ
• ※Rights Management などの高度な機能は個別に課金
• ※既定の使用量クォータとして 150,000 オブジェクトの制限
– オブジェクトは、認証目的に使用されるユーザーエントリなど
– この既定のクォータを超えるオブジェクト数が必要な場合は、お問い
合わせ
32
今回の資料や今後のアップデートについて
• ブログ
– http://kentablog.cluscore.com
• Twitter
– @kekekekenta
• ありがとうございました!!!
33

More Related Content

What's hot

V1.1 CD03 Azure Active Directory B2C/B2B コラボレーションによる Customer Identity and Ac...
V1.1 CD03 Azure Active Directory B2C/B2B コラボレーションによる Customer Identity and Ac...V1.1 CD03 Azure Active Directory B2C/B2B コラボレーションによる Customer Identity and Ac...
V1.1 CD03 Azure Active Directory B2C/B2B コラボレーションによる Customer Identity and Ac...junichi anno
 
ID連携における仮名
ID連携における仮名ID連携における仮名
ID連携における仮名Naohiro Fujie
 
Office365のIdentity管理
Office365のIdentity管理Office365のIdentity管理
Office365のIdentity管理Naohiro Fujie
 
.NETラボ勉強会資料 Azure AD Identity Protection を知る
.NETラボ勉強会資料 Azure AD Identity Protection を知る.NETラボ勉強会資料 Azure AD Identity Protection を知る
.NETラボ勉強会資料 Azure AD Identity Protection を知るShinya Yamaguchi
 
Microsoft Azure のセキュリティ
Microsoft Azure のセキュリティMicrosoft Azure のセキュリティ
Microsoft Azure のセキュリティjunichi anno
 
Dynamic Access Control 解説編
Dynamic Access Control 解説編Dynamic Access Control 解説編
Dynamic Access Control 解説編junichi anno
 
ハイブリッド時代のID基盤構成の基礎
ハイブリッド時代のID基盤構成の基礎ハイブリッド時代のID基盤構成の基礎
ハイブリッド時代のID基盤構成の基礎Naohiro Fujie
 
Azure AD によるリソースの保護 how to protect and govern resources under the Azure AD
Azure AD によるリソースの保護 how to protect and govern resources under the Azure ADAzure AD によるリソースの保護 how to protect and govern resources under the Azure AD
Azure AD によるリソースの保護 how to protect and govern resources under the Azure ADjunichi anno
 
Active directoryと認証・認可
Active directoryと認証・認可Active directoryと認証・認可
Active directoryと認証・認可Hiroki Kamata
 
ADFS クレームルール言語 Deep Dive
ADFS クレームルール言語 Deep DiveADFS クレームルール言語 Deep Dive
ADFS クレームルール言語 Deep DiveSuguru Kunii
 
Active Directory 最新情報 2012.8.31 暫定版
Active Directory 最新情報 2012.8.31 暫定版Active Directory 最新情報 2012.8.31 暫定版
Active Directory 最新情報 2012.8.31 暫定版junichi anno
 
Azure ADとIdentity管理
Azure ADとIdentity管理Azure ADとIdentity管理
Azure ADとIdentity管理Naohiro Fujie
 
VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018
VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018
VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018Shinichiro Kosugi
 
勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版
勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版
勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版junichi anno
 
Cloud で Active Directory を活用するには
Cloud で Active Directory を活用するにはCloud で Active Directory を活用するには
Cloud で Active Directory を活用するにはjunichi anno
 
[SC04] あなたのサービスを "ID" で守る! Azure Active Directory の条件付きアクセスの基礎と実装
[SC04] あなたのサービスを "ID" で守る! Azure Active Directory の条件付きアクセスの基礎と実装[SC04] あなたのサービスを "ID" で守る! Azure Active Directory の条件付きアクセスの基礎と実装
[SC04] あなたのサービスを "ID" で守る! Azure Active Directory の条件付きアクセスの基礎と実装de:code 2017
 
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...Kazuki Takai
 

What's hot (20)

V1.1 CD03 Azure Active Directory B2C/B2B コラボレーションによる Customer Identity and Ac...
V1.1 CD03 Azure Active Directory B2C/B2B コラボレーションによる Customer Identity and Ac...V1.1 CD03 Azure Active Directory B2C/B2B コラボレーションによる Customer Identity and Ac...
V1.1 CD03 Azure Active Directory B2C/B2B コラボレーションによる Customer Identity and Ac...
 
ID連携における仮名
ID連携における仮名ID連携における仮名
ID連携における仮名
 
Office365のIdentity管理
Office365のIdentity管理Office365のIdentity管理
Office365のIdentity管理
 
.NETラボ勉強会資料 Azure AD Identity Protection を知る
.NETラボ勉強会資料 Azure AD Identity Protection を知る.NETラボ勉強会資料 Azure AD Identity Protection を知る
.NETラボ勉強会資料 Azure AD Identity Protection を知る
 
Microsoft Azure のセキュリティ
Microsoft Azure のセキュリティMicrosoft Azure のセキュリティ
Microsoft Azure のセキュリティ
 
Dynamic Access Control 解説編
Dynamic Access Control 解説編Dynamic Access Control 解説編
Dynamic Access Control 解説編
 
ハイブリッド時代のID基盤構成の基礎
ハイブリッド時代のID基盤構成の基礎ハイブリッド時代のID基盤構成の基礎
ハイブリッド時代のID基盤構成の基礎
 
Azure AD によるリソースの保護 how to protect and govern resources under the Azure AD
Azure AD によるリソースの保護 how to protect and govern resources under the Azure ADAzure AD によるリソースの保護 how to protect and govern resources under the Azure AD
Azure AD によるリソースの保護 how to protect and govern resources under the Azure AD
 
Active directoryと認証・認可
Active directoryと認証・認可Active directoryと認証・認可
Active directoryと認証・認可
 
ADFS クレームルール言語 Deep Dive
ADFS クレームルール言語 Deep DiveADFS クレームルール言語 Deep Dive
ADFS クレームルール言語 Deep Dive
 
Active Directory 最新情報 2012.8.31 暫定版
Active Directory 最新情報 2012.8.31 暫定版Active Directory 最新情報 2012.8.31 暫定版
Active Directory 最新情報 2012.8.31 暫定版
 
Azure ADとIdentity管理
Azure ADとIdentity管理Azure ADとIdentity管理
Azure ADとIdentity管理
 
ADFS の vNext
ADFS の vNext ADFS の vNext
ADFS の vNext
 
Azure Active Directory 最新活用シナリオアップデート
Azure Active Directory 最新活用シナリオアップデートAzure Active Directory 最新活用シナリオアップデート
Azure Active Directory 最新活用シナリオアップデート
 
VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018
VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018
VPN・証明書はもう不要? Azure ADによるデバイス認証 at Tech Summit 2018
 
勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版
勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版
勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版
 
Cloud で Active Directory を活用するには
Cloud で Active Directory を活用するにはCloud で Active Directory を活用するには
Cloud で Active Directory を活用するには
 
[SC04] あなたのサービスを "ID" で守る! Azure Active Directory の条件付きアクセスの基礎と実装
[SC04] あなたのサービスを "ID" で守る! Azure Active Directory の条件付きアクセスの基礎と実装[SC04] あなたのサービスを "ID" で守る! Azure Active Directory の条件付きアクセスの基礎と実装
[SC04] あなたのサービスを "ID" で守る! Azure Active Directory の条件付きアクセスの基礎と実装
 
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
 
FIDO in Windows10
FIDO in Windows10FIDO in Windows10
FIDO in Windows10
 

Viewers also liked

Windows Azure loves OSS
Windows Azure loves OSSWindows Azure loves OSS
Windows Azure loves OSSKazumi Hirose
 
Introduction to windows azure storage
Introduction to windows azure storage Introduction to windows azure storage
Introduction to windows azure storage Takekazu Omi
 
Windows Azure Bootcamp メディアサービス編
Windows Azure Bootcamp メディアサービス編Windows Azure Bootcamp メディアサービス編
Windows Azure Bootcamp メディアサービス編normalian
 
AWS Black Belt Techシリーズ AWS Directory Service
AWS Black Belt Techシリーズ AWS Directory ServiceAWS Black Belt Techシリーズ AWS Directory Service
AWS Black Belt Techシリーズ AWS Directory ServiceAmazon Web Services Japan
 
これからAzureを始める人へ(LT)
これからAzureを始める人へ(LT)これからAzureを始める人へ(LT)
これからAzureを始める人へ(LT)kekekekenta
 
Microsoft Azure の概要と最近のアップデート(2016年6月25日)
Microsoft Azure の概要と最近のアップデート(2016年6月25日)Microsoft Azure の概要と最近のアップデート(2016年6月25日)
Microsoft Azure の概要と最近のアップデート(2016年6月25日)kekekekenta
 
Build 2014 Azure インフラエンジニア向けアップデート
Build 2014 Azure インフラエンジニア向けアップデートBuild 2014 Azure インフラエンジニア向けアップデート
Build 2014 Azure インフラエンジニア向けアップデートkekekekenta
 
アプリケーション開発と分析のための Log Analytics
アプリケーション開発と分析のための Log Analytics アプリケーション開発と分析のための Log Analytics
アプリケーション開発と分析のための Log Analytics kekekekenta
 
S93 Microsoft Azure サービスの管理
S93 Microsoft Azure サービスの管理S93 Microsoft Azure サービスの管理
S93 Microsoft Azure サービスの管理Microsoft Azure Japan
 
Microsoft Office 365 for Enterprise トライアルガイド
Microsoft Office 365 for Enterprise トライアルガイドMicrosoft Office 365 for Enterprise トライアルガイド
Microsoft Office 365 for Enterprise トライアルガイドkumo2010
 
SORACOM と Azure で IoT
SORACOM と Azure で IoTSORACOM と Azure で IoT
SORACOM と Azure で IoTkekekekenta
 
Microsoft Azure 概要
Microsoft Azure 概要Microsoft Azure 概要
Microsoft Azure 概要Yuki Igarashi
 
Azureの管理権限について
Azureの管理権限について Azureの管理権限について
Azureの管理権限について junichi anno
 
.NET Coreとツール類の今
.NET Coreとツール類の今.NET Coreとツール類の今
.NET Coreとツール類の今Yuki Igarashi
 
Microsoft Azure 概要 (2015 年 4 月版)
Microsoft Azure 概要 (2015 年 4 月版)Microsoft Azure 概要 (2015 年 4 月版)
Microsoft Azure 概要 (2015 年 4 月版)Osamu Monoe
 
[ビッグデータオールスターズ] クラウドサービス最新情報 機械学習/AIでこんなことまでできるんです! (Microsoft編)
[ビッグデータオールスターズ] クラウドサービス最新情報 機械学習/AIでこんなことまでできるんです! (Microsoft編)[ビッグデータオールスターズ] クラウドサービス最新情報 機械学習/AIでこんなことまでできるんです! (Microsoft編)
[ビッグデータオールスターズ] クラウドサービス最新情報 機械学習/AIでこんなことまでできるんです! (Microsoft編)Naoki (Neo) SATO
 
[Azure Council Experts (ACE) 第21回定例会] Microsoft Azureアップデート情報 (2016/12/09-201...
[Azure Council Experts (ACE) 第21回定例会] Microsoft Azureアップデート情報 (2016/12/09-201...[Azure Council Experts (ACE) 第21回定例会] Microsoft Azureアップデート情報 (2016/12/09-201...
[Azure Council Experts (ACE) 第21回定例会] Microsoft Azureアップデート情報 (2016/12/09-201...Naoki (Neo) SATO
 
Microsoft Azureの機械学習サービス (Azure Machine Learning/Microsoft Cognitive Services)
Microsoft Azureの機械学習サービス (Azure Machine Learning/Microsoft Cognitive Services)Microsoft Azureの機械学習サービス (Azure Machine Learning/Microsoft Cognitive Services)
Microsoft Azureの機械学習サービス (Azure Machine Learning/Microsoft Cognitive Services)Naoki (Neo) SATO
 
Azure ADにみるエンタープライズ領域におけるフェデレーションとIDaaSの活用
Azure ADにみるエンタープライズ領域におけるフェデレーションとIDaaSの活用Azure ADにみるエンタープライズ領域におけるフェデレーションとIDaaSの活用
Azure ADにみるエンタープライズ領域におけるフェデレーションとIDaaSの活用Naohiro Fujie
 

Viewers also liked (20)

Azure bootcamp20130427
Azure bootcamp20130427Azure bootcamp20130427
Azure bootcamp20130427
 
Windows Azure loves OSS
Windows Azure loves OSSWindows Azure loves OSS
Windows Azure loves OSS
 
Introduction to windows azure storage
Introduction to windows azure storage Introduction to windows azure storage
Introduction to windows azure storage
 
Windows Azure Bootcamp メディアサービス編
Windows Azure Bootcamp メディアサービス編Windows Azure Bootcamp メディアサービス編
Windows Azure Bootcamp メディアサービス編
 
AWS Black Belt Techシリーズ AWS Directory Service
AWS Black Belt Techシリーズ AWS Directory ServiceAWS Black Belt Techシリーズ AWS Directory Service
AWS Black Belt Techシリーズ AWS Directory Service
 
これからAzureを始める人へ(LT)
これからAzureを始める人へ(LT)これからAzureを始める人へ(LT)
これからAzureを始める人へ(LT)
 
Microsoft Azure の概要と最近のアップデート(2016年6月25日)
Microsoft Azure の概要と最近のアップデート(2016年6月25日)Microsoft Azure の概要と最近のアップデート(2016年6月25日)
Microsoft Azure の概要と最近のアップデート(2016年6月25日)
 
Build 2014 Azure インフラエンジニア向けアップデート
Build 2014 Azure インフラエンジニア向けアップデートBuild 2014 Azure インフラエンジニア向けアップデート
Build 2014 Azure インフラエンジニア向けアップデート
 
アプリケーション開発と分析のための Log Analytics
アプリケーション開発と分析のための Log Analytics アプリケーション開発と分析のための Log Analytics
アプリケーション開発と分析のための Log Analytics
 
S93 Microsoft Azure サービスの管理
S93 Microsoft Azure サービスの管理S93 Microsoft Azure サービスの管理
S93 Microsoft Azure サービスの管理
 
Microsoft Office 365 for Enterprise トライアルガイド
Microsoft Office 365 for Enterprise トライアルガイドMicrosoft Office 365 for Enterprise トライアルガイド
Microsoft Office 365 for Enterprise トライアルガイド
 
SORACOM と Azure で IoT
SORACOM と Azure で IoTSORACOM と Azure で IoT
SORACOM と Azure で IoT
 
Microsoft Azure 概要
Microsoft Azure 概要Microsoft Azure 概要
Microsoft Azure 概要
 
Azureの管理権限について
Azureの管理権限について Azureの管理権限について
Azureの管理権限について
 
.NET Coreとツール類の今
.NET Coreとツール類の今.NET Coreとツール類の今
.NET Coreとツール類の今
 
Microsoft Azure 概要 (2015 年 4 月版)
Microsoft Azure 概要 (2015 年 4 月版)Microsoft Azure 概要 (2015 年 4 月版)
Microsoft Azure 概要 (2015 年 4 月版)
 
[ビッグデータオールスターズ] クラウドサービス最新情報 機械学習/AIでこんなことまでできるんです! (Microsoft編)
[ビッグデータオールスターズ] クラウドサービス最新情報 機械学習/AIでこんなことまでできるんです! (Microsoft編)[ビッグデータオールスターズ] クラウドサービス最新情報 機械学習/AIでこんなことまでできるんです! (Microsoft編)
[ビッグデータオールスターズ] クラウドサービス最新情報 機械学習/AIでこんなことまでできるんです! (Microsoft編)
 
[Azure Council Experts (ACE) 第21回定例会] Microsoft Azureアップデート情報 (2016/12/09-201...
[Azure Council Experts (ACE) 第21回定例会] Microsoft Azureアップデート情報 (2016/12/09-201...[Azure Council Experts (ACE) 第21回定例会] Microsoft Azureアップデート情報 (2016/12/09-201...
[Azure Council Experts (ACE) 第21回定例会] Microsoft Azureアップデート情報 (2016/12/09-201...
 
Microsoft Azureの機械学習サービス (Azure Machine Learning/Microsoft Cognitive Services)
Microsoft Azureの機械学習サービス (Azure Machine Learning/Microsoft Cognitive Services)Microsoft Azureの機械学習サービス (Azure Machine Learning/Microsoft Cognitive Services)
Microsoft Azureの機械学習サービス (Azure Machine Learning/Microsoft Cognitive Services)
 
Azure ADにみるエンタープライズ領域におけるフェデレーションとIDaaSの活用
Azure ADにみるエンタープライズ領域におけるフェデレーションとIDaaSの活用Azure ADにみるエンタープライズ領域におけるフェデレーションとIDaaSの活用
Azure ADにみるエンタープライズ領域におけるフェデレーションとIDaaSの活用
 

Similar to Windows Azure Active Directory for your cloud applications

Web サーバー管理者のための Azure App Service 再入門
Web サーバー管理者のための Azure App Service 再入門Web サーバー管理者のための Azure App Service 再入門
Web サーバー管理者のための Azure App Service 再入門Osamu Monoe
 
20170902 kixs azure&azure stack
20170902 kixs azure&azure stack20170902 kixs azure&azure stack
20170902 kixs azure&azure stackOsamu Takazoe
 
Apps for office オンプレミスとクラウド
Apps for office オンプレミスとクラウドApps for office オンプレミスとクラウド
Apps for office オンプレミスとクラウドHirotada Watanabe
 
G tech2016 デジタルトランスフォーメーションを牽引するAzure+OSSのスキル習得ポイント
G tech2016 デジタルトランスフォーメーションを牽引するAzure+OSSのスキル習得ポイントG tech2016 デジタルトランスフォーメーションを牽引するAzure+OSSのスキル習得ポイント
G tech2016 デジタルトランスフォーメーションを牽引するAzure+OSSのスキル習得ポイントTrainocate Japan, Ltd.
 
Azure AD の新しいデバイス管理パターンを理解しよう
Azure AD の新しいデバイス管理パターンを理解しようAzure AD の新しいデバイス管理パターンを理解しよう
Azure AD の新しいデバイス管理パターンを理解しようYusuke Kodama
 
AAD authentication for azure app v0.1.20.0317
AAD authentication for azure app v0.1.20.0317AAD authentication for azure app v0.1.20.0317
AAD authentication for azure app v0.1.20.0317Ayumu Inaba
 
20190514 Smart Store - Azure servlerless architecture
20190514 Smart Store - Azure servlerless architecture20190514 Smart Store - Azure servlerless architecture
20190514 Smart Store - Azure servlerless architectureIssei Hiraoka
 
Smart Store サーバーレスアーキテクチャ編
Smart Store サーバーレスアーキテクチャ編Smart Store サーバーレスアーキテクチャ編
Smart Store サーバーレスアーキテクチャ編Microsoft Azure Japan
 
Windows Azure Active Directory Multi-Factor Authentication Preview for Phone ...
Windows Azure Active Directory Multi-Factor Authentication Preview for Phone ...Windows Azure Active Directory Multi-Factor Authentication Preview for Phone ...
Windows Azure Active Directory Multi-Factor Authentication Preview for Phone ...kekekekenta
 
Azure Monitor Logで実現するモダンな管理手法
Azure Monitor Logで実現するモダンな管理手法Azure Monitor Logで実現するモダンな管理手法
Azure Monitor Logで実現するモダンな管理手法Takeshi Fukuhara
 
Microsoft Azure build & ignight update summary
Microsoft Azure build & ignight update summary Microsoft Azure build & ignight update summary
Microsoft Azure build & ignight update summary Hirano Kazunori
 
SAP on Azure Cloud Workshop Material Japanese 20190221
SAP on Azure Cloud Workshop Material Japanese 20190221SAP on Azure Cloud Workshop Material Japanese 20190221
SAP on Azure Cloud Workshop Material Japanese 20190221Hitoshi Ikemoto
 
Azure Active Directory 利用開始への第一歩
Azure Active Directory 利用開始への第一歩Azure Active Directory 利用開始への第一歩
Azure Active Directory 利用開始への第一歩Yusuke Kodama
 
App Service の DevOps と Visual Studio Team Services 最新アップデート
App Service の DevOps と Visual Studio Team Services 最新アップデートApp Service の DevOps と Visual Studio Team Services 最新アップデート
App Service の DevOps と Visual Studio Team Services 最新アップデートMicrosoft Azure Japan
 
MicrosoftのOSSへの取り組み
MicrosoftのOSSへの取り組みMicrosoftのOSSへの取り組み
MicrosoftのOSSへの取り組みShinichiro Arai
 
INF-012_デスクトップ仮想化の実践 ~powered by Windows Server 2016 & Azure~
INF-012_デスクトップ仮想化の実践 ~powered by Windows Server 2016 & Azure~INF-012_デスクトップ仮想化の実践 ~powered by Windows Server 2016 & Azure~
INF-012_デスクトップ仮想化の実践 ~powered by Windows Server 2016 & Azure~decode2016
 
Smart store servlerless-20191030-40min
Smart store servlerless-20191030-40minSmart store servlerless-20191030-40min
Smart store servlerless-20191030-40minMicrosoft Azure Japan
 
SQL Beginners Day #1 - SQL Server および Azure SQL のインストールと管理
SQL Beginners Day #1 - SQL Server および Azure SQL のインストールと管理SQL Beginners Day #1 - SQL Server および Azure SQL のインストールと管理
SQL Beginners Day #1 - SQL Server および Azure SQL のインストールと管理Oshitari_kochi
 
ハイブリッドクラウドとして進化するWindows azureのご紹介 day1ハイライト
ハイブリッドクラウドとして進化するWindows azureのご紹介 day1ハイライトハイブリッドクラウドとして進化するWindows azureのご紹介 day1ハイライト
ハイブリッドクラウドとして進化するWindows azureのご紹介 day1ハイライトGoAzure
 
Microsoft Azure Overview - Japanses version
Microsoft Azure Overview - Japanses versionMicrosoft Azure Overview - Japanses version
Microsoft Azure Overview - Japanses versionTakeshi Fukuhara
 

Similar to Windows Azure Active Directory for your cloud applications (20)

Web サーバー管理者のための Azure App Service 再入門
Web サーバー管理者のための Azure App Service 再入門Web サーバー管理者のための Azure App Service 再入門
Web サーバー管理者のための Azure App Service 再入門
 
20170902 kixs azure&azure stack
20170902 kixs azure&azure stack20170902 kixs azure&azure stack
20170902 kixs azure&azure stack
 
Apps for office オンプレミスとクラウド
Apps for office オンプレミスとクラウドApps for office オンプレミスとクラウド
Apps for office オンプレミスとクラウド
 
G tech2016 デジタルトランスフォーメーションを牽引するAzure+OSSのスキル習得ポイント
G tech2016 デジタルトランスフォーメーションを牽引するAzure+OSSのスキル習得ポイントG tech2016 デジタルトランスフォーメーションを牽引するAzure+OSSのスキル習得ポイント
G tech2016 デジタルトランスフォーメーションを牽引するAzure+OSSのスキル習得ポイント
 
Azure AD の新しいデバイス管理パターンを理解しよう
Azure AD の新しいデバイス管理パターンを理解しようAzure AD の新しいデバイス管理パターンを理解しよう
Azure AD の新しいデバイス管理パターンを理解しよう
 
AAD authentication for azure app v0.1.20.0317
AAD authentication for azure app v0.1.20.0317AAD authentication for azure app v0.1.20.0317
AAD authentication for azure app v0.1.20.0317
 
20190514 Smart Store - Azure servlerless architecture
20190514 Smart Store - Azure servlerless architecture20190514 Smart Store - Azure servlerless architecture
20190514 Smart Store - Azure servlerless architecture
 
Smart Store サーバーレスアーキテクチャ編
Smart Store サーバーレスアーキテクチャ編Smart Store サーバーレスアーキテクチャ編
Smart Store サーバーレスアーキテクチャ編
 
Windows Azure Active Directory Multi-Factor Authentication Preview for Phone ...
Windows Azure Active Directory Multi-Factor Authentication Preview for Phone ...Windows Azure Active Directory Multi-Factor Authentication Preview for Phone ...
Windows Azure Active Directory Multi-Factor Authentication Preview for Phone ...
 
Azure Monitor Logで実現するモダンな管理手法
Azure Monitor Logで実現するモダンな管理手法Azure Monitor Logで実現するモダンな管理手法
Azure Monitor Logで実現するモダンな管理手法
 
Microsoft Azure build & ignight update summary
Microsoft Azure build & ignight update summary Microsoft Azure build & ignight update summary
Microsoft Azure build & ignight update summary
 
SAP on Azure Cloud Workshop Material Japanese 20190221
SAP on Azure Cloud Workshop Material Japanese 20190221SAP on Azure Cloud Workshop Material Japanese 20190221
SAP on Azure Cloud Workshop Material Japanese 20190221
 
Azure Active Directory 利用開始への第一歩
Azure Active Directory 利用開始への第一歩Azure Active Directory 利用開始への第一歩
Azure Active Directory 利用開始への第一歩
 
App Service の DevOps と Visual Studio Team Services 最新アップデート
App Service の DevOps と Visual Studio Team Services 最新アップデートApp Service の DevOps と Visual Studio Team Services 最新アップデート
App Service の DevOps と Visual Studio Team Services 最新アップデート
 
MicrosoftのOSSへの取り組み
MicrosoftのOSSへの取り組みMicrosoftのOSSへの取り組み
MicrosoftのOSSへの取り組み
 
INF-012_デスクトップ仮想化の実践 ~powered by Windows Server 2016 & Azure~
INF-012_デスクトップ仮想化の実践 ~powered by Windows Server 2016 & Azure~INF-012_デスクトップ仮想化の実践 ~powered by Windows Server 2016 & Azure~
INF-012_デスクトップ仮想化の実践 ~powered by Windows Server 2016 & Azure~
 
Smart store servlerless-20191030-40min
Smart store servlerless-20191030-40minSmart store servlerless-20191030-40min
Smart store servlerless-20191030-40min
 
SQL Beginners Day #1 - SQL Server および Azure SQL のインストールと管理
SQL Beginners Day #1 - SQL Server および Azure SQL のインストールと管理SQL Beginners Day #1 - SQL Server および Azure SQL のインストールと管理
SQL Beginners Day #1 - SQL Server および Azure SQL のインストールと管理
 
ハイブリッドクラウドとして進化するWindows azureのご紹介 day1ハイライト
ハイブリッドクラウドとして進化するWindows azureのご紹介 day1ハイライトハイブリッドクラウドとして進化するWindows azureのご紹介 day1ハイライト
ハイブリッドクラウドとして進化するWindows azureのご紹介 day1ハイライト
 
Microsoft Azure Overview - Japanses version
Microsoft Azure Overview - Japanses versionMicrosoft Azure Overview - Japanses version
Microsoft Azure Overview - Japanses version
 

Windows Azure Active Directory for your cloud applications

  • 1. Windows Azure Active Directory を利用したアプリケーション Japan Windows Azure User Group Kentaro Aoki @kekekekenta 2013年4月27日
  • 3. Windows Azureに関係するActive Directory • Windows Server Active Directory – 仮想マシン • Windows ServerとActive Directoryが動作する仮想マシンインスタンス – 仮想ネットワーク • Active Directory サイトのネットワーク • Windows Azure Active Directory (Windows Azure AD) – ディレクトリ(New)←今回はこれ • Webアプリケーション向けのIDプロバイダーを提供 – Access Control 名前空間 • Webアプリケーション向けのIDプロバイダーやWeb IDを統合して認証と承 認を一元化するサービス 3
  • 5. Windows Azure AD(ディレクトリ) • 特徴 – Windows Azure ADは、Microsoft社のSaaS製品で利用されている • Office365、Microsoft Dynamics CRM Online、Windows Server Online Backup、 Windows Intune – Windows ServerのActive Directoryとは異なる • できること – ユーザとグループの管理 – 認証と承認、シングル サインオン – アプリケーションからディレクトリ情報の取得と操作 – オンプレミスのActive Directoryとディレクトリ同期、フェデレーション • Windows Azure ADを利用したアプリケーション – 固定組織(テナント)向けアプリケーション – 不特定多数組織(マルチテナント)向けアプリケーション 5
  • 7. Windows Azure ADプレビューから変わったところ • Windows Azure ポータル – ディレクトリ(テナント)の作成ができるようになった。 – PowerShellを使わなくてもアプリ向け設定ができるようになった。 – Seller Dashboardを使わなくてもマルチテナントアプリを実現できるようになった。 – メタデータのURLを知らなくてもアプリ開発できるようになった。 • Windows Azure ADログイン画面 – フェデレーションが必要なユーザは自動でリダイレクト • PowerShell向けモジュール(GA時期は少し違いますが) – Windows Azure Active Directory Moduleという名前になった。 • Directory Syncツール(GA時期は少し違いますが) – Windows Azure Active Directory Sync Toolという名前になった。 • WIF – アップデートされた。 • あとは、URLが変わったとかクレームが変わったとかありますが、アプリ開発者向けに利用しや すくなりました! 7
  • 9. アプリから利用可能なWindows Azure ADの機能 • シングルサインオンを利用する – Office365などWindows Azure ADを利用しているアプリケーション間でシングルサインオ ンが可能になる。 • チュートリアル – http://msdn.microsoft.com/en-us/library/windowsazure/055e1155-2d4d-4c85-b44e- d406872ba595.aspx • Graph APIを利用してディレクトリを利用する – Windows Azure ADのディレクトリにアクセスして情報の取得や更新が可能になる。 • チュートリアル – http://msdn.microsoft.com/en-us/library/windowsazure/dn151791.aspx • その他サンプルコード – http://code.msdn.microsoft.com/Write-Sample-App-for-79e55502 • マルチテナントアプリケーションとして利用する – アプリ利用者の意思によって利用者のWindows Azure ADのディレクトリとアプリケー ション間のアクセスが可能になる。 • チュートリアル – http://msdn.microsoft.com/en-us/library/windowsazure/dn151789.aspx 9
  • 10. Windows Azure ADアプリ開発で必要なツール • Visual Studio 2012 Professional or Visual Studio 2012 Ultimate – http://www.microsoft.com/visualstudio/eng/downloads • Identity and Access Tools for Visual Studio 2012 – http://visualstudiogallery.msdn.microsoft.com/e21bf653-dfe1- 4d81-b3d3-795cb104066e • ※.netで開発する場合 10
  • 12. シングルサインオン • ①アプリにアクセス認証 が必要場合はWindows Azure ADにリダイレク ト • ②Windows Azure ADで 認証成功の場合はトーク ン取得 • ③トークンを使って再度 アプリにアクセス 12
  • 13. シングルサインオン向け設定 • Windows Azureポータル – アプリID/URI • テナント内でユニークなアプリID/URIを設定 – アプリケーションのURLが一般的 – ディレクトリアクセス • シングル サインオン 13
  • 14. Graph API • Windows Azure ADのテナントにアクセスして情報の取得や更新が可能に なる – アクセスできる情報 • ユーザ、グループ、連絡先、組織情報、役割 – 利用シナリオ • テナント情報取得 • ユーザとグループリストの取得 • グループの変更 • ユーザパスワードの更新 • ユーザの有効/無効化 14
  • 15. Graph API 15 • ①トークンを取得 – クライアントIDとパス ワード(キー)を使用 して取得 • ②Graph APIにアクセス – 取得したトークンを使 用してアクセス
  • 16. Graph API向け設定 • キー – 有効期限1年間もしくは2年間 – 作成されたキーは作成後、直ちにメモする。後から確認不可能。 – このキーはトークンを取得する際のパスワードとして利用 • ディレクトリアクセス – シングル サインオン、ディレクトリ データの読み取り – シングル サインオン、ディレクトリ データの読み取りと書き込み 16
  • 17. Graph API利用アプリで必要な追加ツールなど • WCF Data Services 5.3.0 RTM Tools – http://www.microsoft.com/en- us/download/details.aspx?id=35840 • 新規プロジェクトの下記参照を5.3.0.0に変更すること! – Microsoft.Data.Edm, Microsoft.Data.Odata, Microsoft.Data.Service.Client, System.Spatial • Windows Azure AD Graph API Helper Library – http://code.msdn.microsoft.com/Windows-Azure-AD-Graph-API- a8c72e18 • ※.netで開発する場合 17
  • 19. マルチテナントアプリ向け設定 • Windows Azure ADポータル – 外部アクセス • オン – アプリID/URI • Windows Azure ADでユニークなアプリID/URI – https://から始まるURI – 登録したカスタムドメインもしくは標準のドメイン » https://<tenantname>.onmicrosoft.com/<application name> – ロゴ • イメージのサイズは、215px x 215px • 中央のイメージのサイズは、94px x 94px • サポートファイルは、.bmp、.jpg、.png) • ファイル サイズは 100 KB 未満 – ディレクトリアクセス • シングル サインオン • シングル サインオン、ディレクトリ データの読み取り • シングル サインオン、ディレクトリ データの読み取りと書き込み 19 215px 94px
  • 26. Windows Server Active Directory(参考) • 今回紹介するWindows Azure ADとは異なりますが、Windows Server Active DirectoryをWindows Azureに構築する際のガイドです。 ご参考にー。 – ガイドライン • http://msdn.microsoft.com/library/windowsazure/jj156090.aspx – Active Directory のインストール • http://www.windowsazure.com/en- us/manage/services/networking/active-directory-forest/ – Active Directory のレプリカ構成 • http://www.windowsazure.com/en- us/manage/services/networking/replica-domain-controller/ • ※ディスクのキャッシュ設定とかDNS設定とか注意です。 26
  • 27. WINDOWS AZURE ACTIVE DIRECTORY MODULE FOR WINDOWS POWERSHELL 27
  • 29. Windows Azure Active Directoryアクセスのための準備 • OSの準備 – Windows 7, Windows 8, Windows Server 2008 R2, Windows Server 2012 • Microsoft .NET Frameworkのインストール – Microsoft .NET Framework 3.51 機能 • PowerShellモジュールのインストール – Microsoft Online Services Sign-In Assistant for IT Professionals RTW • http://www.microsoft.com/en-us/download/details.aspx?id=28177 – Windows Azure Active Directory Module for Windows PowerShell • 32bitのダウンロード先 – http://go.microsoft.com/fwlink/p/?linkid=236298 • 64bitのダウンロード先 – http://go.microsoft.com/fwlink/p/?linkid=236297 • インストール確認 – コマンドリスト表示 • Get-Command Msonline • Get-Command MsonlineExtended – コマンドヘルプ表示 • Get-Help Get-MsolRole 29
  • 30. PowerShellでWindows Azure Active Directoryに接続 • PowerShellで接続例 – Import-Module msonline – Import-Module msonlineextended – Connect-MsolService -Credential (Get-Credential) • PowerShellで情報取得 – テナント情報の取得 • Get-MsolCompanyInformation – テナントIDの取得 • (Get-MsolCompanyInformation).ObjectId – サービスプリンシパルの取得 • Get-MsolServicePrincipal – 参考 • Windows Azure Active Directory Module for Windows PowerShell – http://technet.microsoft.com/en-us/library/jj151815.aspx 30
  • 32. 料金や制限について • Windows Azure Access ControlとActive Directory は、現時点で は無料! – アクセス制御:無料 – Directory: 500,000 オブジェクトまで無料 • それ以上のオブジェクトがある場合はお問い合わせ • ※Rights Management などの高度な機能は個別に課金 • ※既定の使用量クォータとして 150,000 オブジェクトの制限 – オブジェクトは、認証目的に使用されるユーザーエントリなど – この既定のクォータを超えるオブジェクト数が必要な場合は、お問い 合わせ 32
  • 33. 今回の資料や今後のアップデートについて • ブログ – http://kentablog.cluscore.com • Twitter – @kekekekenta • ありがとうございました!!! 33