PIXNET Logo登入

#007FFF

跳到主文

"Sir, I have learnt to stand up on my feet after having broken both my legs. This attitude has come with great difficulty. No sir, I can't. You may keep your job, and let me keep my attitude." by 3 idiots

部落格全站分類:職場甘苦

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 11月 02 週六 201302:38
  • Graph API to Query Windows Azure AD

public GraphClient(string tenantDomainName, string tenantId, string appPrincipalId, string servicePrincipalSymmetricKey)
{
 this.tenantDomainName = tenantDomainName;
 this.tenantId = tenantId;
 this.servicePrincipalSymmetricKey = servicePrincipalSymmetricKey;
 this.appPrincipalId = appPrincipalId;
 
 dataService = new DirectoryDataService(GetConnectionUri());
 dataService.SendingRequest += (sender, args) =>
 {
  var webRequest = ((HttpWebRequest)args.Request);
  webRequest.Headers.Add(HeaderName_Authorization, GetAuthorizationHeader());
  webRequest.Headers.Add(HeaderName_DataContractVersion, DataContractVersion);
  webRequest.Headers.Add(HeaderName_ClientRequestId, Guid.NewGuid().ToString());
 };
}
(繼續閱讀...)
文章標籤

my007FFF 發表在 痞客邦 留言(0) 人氣(6)

  • 個人分類:Indentity
▲top
  • 11月 02 週六 201302:18
  • Adding Sign-On to Your Web Application Using Windows Azure AD

在Azure portal執行:
1. 新建 Windows Azure AD directory tenant
2. 建立directory users
3. 註冊application來啟用Web sign on
    Management Portal > Active Directory > Integrated Apps
(繼續閱讀...)
文章標籤

my007FFF 發表在 痞客邦 留言(0) 人氣(6)

  • 個人分類:Indentity
▲top
1

文章搜尋

文章分類

toggle Infra (2)
  • Office (1)
  • Windows (3)
toggle Azure (12)
  • Azure101 (1)
  • WAWS (4)
  • Network (6)
  • Application (4)
  • Database (12)
  • Azure (11)
  • Availability (2)
  • Service Bus (2)
  • Indentity (2)
  • Monitoring (0)
  • Performance (2)
  • Security (2)
  • O365 (3)
  • misc (1)
  • 未分類文章 (1)

文章精選

最新文章

  • [Share] Custom Domain Names in Windows Azure 的概念
  • Azure - 部署應用程式常見問題
  • Azure - Reuse Service Bus 連線?
  • 使用[自動執行帳號]時,搭配[Windows 整合式安全性]的注意事項
  • 在 Windows 平台安裝 Git
  • Azure - TF246021錯誤
  • Azure 設定CName 對應
  • Azure - 設定企業共用的Visual Studio Online Account
  • Azure - 偵測VM停止時發出Alert
  • Windows Azure雲端排程器開始預覽

誰來我家

熱門文章

  • (6,270)如何處理 Database 一直處於 Recovery 狀態及 Recovery 狀態
  • (131)Azure - WCF - 啟用Failed Request Tracing Log(FREB Log)
  • (26)Windows XP 顯示桌面的icon消失
  • (10)Azure - 無法刪除Storage Account

最新留言

    動態訂閱