{"id":5664,"date":"2015-06-01T17:54:37","date_gmt":"2015-06-01T08:54:37","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=5664"},"modified":"2016-10-25T22:06:13","modified_gmt":"2016-10-25T13:06:13","slug":"office-365-unified-api%e3%82%92javascript%e3%81%a0%e3%81%91%e3%81%a7%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=5664","title":{"rendered":"Office 365 unified API\u3092JavaScript\u3060\u3051\u3067\u547c\u3073\u51fa\u3059"},"content":{"rendered":"<p>Microsoft\u306e\u677e\u5d0e\u3055\u3093\u306e\u30d6\u30ed\u30b0\u306b\u4e0b\u8a18\u306e\u8a18\u4e8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><strong>\u30fbOffice 365 API : CORS \u306e\u4f7f\u7528 &#8211; \u677e\u5d0e \u525b Blog<\/strong><br \/>\n<a href=\"http:\/\/blogs.msdn.com\/b\/tsmatsuz\/archive\/2015\/05\/13\/office-365-api-cors.aspx\" title=\"Office 365 API : CORS \u306e\u4f7f\u7528 - \u677e\u5d0e \u525b Blog - Site Home - MSDN Blogs\" target=\"_blank\">http:\/\/blogs.msdn.com\/b\/tsmatsuz\/archive\/2015\/05\/13\/office-365-api-cors.aspx<\/a><\/p>\n<blockquote><p>\u6700\u8fd1\u3001Office 365 API \u306e MyFiles (OneDrive for Business) \u3068 Site (SharePoint) \u3067 CORS \u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001BUILD \u306e\u30bf\u30a4\u30df\u30f3\u30b0\u306b\u3042\u308f\u305b\u3066 Exchange (Mail \/ Calendar \/ Contact), Office 365 Unified API \u306a\u3069\u3001\u4ed6\u306e API \u3067\u3082\u5bfe\u5fdc\u3057\u307e\u3057\u305f\u3002<\/p><\/blockquote>\n<p>Office 365 unified API\u3082\u30af\u30ed\u30b9\u30c9\u30e1\u30a4\u30f3\u5236\u7d04\u3092\u8d85\u3048\u3066\u547c\u3073\u51fa\u305b\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u308f\u3051\u3067\u3059\u306d\uff01<\/p>\n<p>Ajax\u901a\u4fe1\u3092\u884c\u3063\u3066\u3044\u308b\u3068\u30d6\u30c1\u5f53\u305f\u308b\u306e\u304c\u3001\u3053\u306e\u30af\u30ed\u30b9\u30c9\u30e1\u30a4\u30f3\u5236\u7d04\u306e\u58c1\u3002<br \/>\n\u901a\u5e38\u306fPHP Proxy\u3092\u7acb\u3066\u305f\u308a\u3057\u3066\u56de\u907f\u3059\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u4eca\u56de\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306b\u3088\u3063\u3066\u305d\u3093\u306a\u624b\u9593\u306f\u4e0d\u8981\u3068\u306a\u308a\u3001JavaScript\u3060\u3051\u3067API\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u306a\u3089\u3070\u3084\u308b\u3057\u304b\u306a\u3044\uff01\uff01<br \/>\n\u30fb\u30fb\u30fb\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u65e9\u901f\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h4 class=\"style4a\">\u4e0b\u6e96\u5099<\/h4>\n<p><strong>\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a<\/strong><\/p>\n<ul>\n<li>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u7a2e\u985e\uff1a\u30cd\u30a4\u30c6\u30a3\u30d6 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/li>\n<li>\u4ed6\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5bfe\u3059\u308b\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\uff1aOffice 365 unified API (preview)<\/li>\n<li>\u30c7\u30ea\u30b2\u30fc\u30c8\u3055\u308c\u305f\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\uff1aRead and write access to user mail<\/li>\n<\/ul>\n<p>\u203b \u8a2d\u5b9a\u65b9\u6cd5\u306f\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=5620\" title=\"Office 365 unified API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">Office 365 unified API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059<\/a>\u300d\u3068\u307b\u307c\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u7d30\u304b\u3044\u70b9\u306f\u5de6\u8a18\u8a18\u4e8b\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002\u305f\u3060\u3057\u3001Azure AD\u306f\u65e2\u5b9a\u3067Implicit Grant Flow\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u4e0b\u8a18\u624b\u9806\u3067\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u30fbAzure AD\u3067Implicit Grant Flow\u3092\u6709\u52b9\u306b\u3059\u308b\u624b\u9806<\/strong><\/p>\n<ol>\n<li><a href=\"https:\/\/manage.windowsazure.com\/\" title=\"Azure \u30dd\u30fc\u30bf\u30eb\" target=\"_blank\">Azure \u30dd\u30fc\u30bf\u30eb<\/a>\u306b\u30b5\u30a4\u30f3\u30a4\u30f3\u3057\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">Active Directory<\/span>\u300d\u304b\u3089\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<li>1.\u3067\u8ffd\u52a0\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u753b\u9762\u4e0b\u90e8\u306b\u3042\u308b\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306e\u7ba1\u7406<\/span>\u300d\u304b\u3089\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/span>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_01.jpg\" alt=\"Office_365_unified_API_JS_01_01\" width=\"344\" height=\"129\" class=\"alignnone size-full wp-image-5666\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_01.jpg 344w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_01-300x113.jpg 300w\" sizes=\"auto, (max-width: 344px) 100vw, 344px\" \/><\/a><\/p>\n<li>\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/span>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30de\u30cb\u30d5\u30a7\u30b9\u30c8(json)\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_02.jpg\" alt=\"Office_365_unified_API_JS_01_02\" width=\"602\" height=\"452\" class=\"alignnone size-full wp-image-5667\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_02.jpg 602w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_02-300x225.jpg 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/a><\/p>\n<li>3.\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u958b\u304d\u3001<span style=\"color: #ff0000; font-weight: bold;\">oauth2AllowImplicitFlow<\/span>\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u300c<span style=\"color: #ff0000; font-weight: bold;\">true<\/span>\u300d\u306b\u5909\u66f4\u5f8c\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4e0a\u66f8\u304d\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_03.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_03.jpg\" alt=\"Office_365_unified_API_JS_01_03\" width=\"486\" height=\"328\" class=\"alignnone size-full wp-image-5668\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_03.jpg 486w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_03-300x202.jpg 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/a><\/p>\n<li>\u518d\u3073Azure \u30dd\u30fc\u30bf\u30eb\u304b\u3089\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u753b\u9762\u3092\u958b\u304d\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/span>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_04.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_04.jpg\" alt=\"Office_365_unified_API_JS_01_04\" width=\"270\" height=\"123\" class=\"alignnone size-full wp-image-5669\" \/><\/a><\/p>\n<li>\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30d5\u30a1\u30a4\u30eb\u306e\u53c2\u7167<\/span>\u300d\u304b\u3089\u30014.\u3067\u7de8\u96c6\u3057\u305f\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_05.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_05.jpg\" alt=\"Office_365_unified_API_JS_01_05\" width=\"504\" height=\"354\" class=\"alignnone size-full wp-image-5670\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_05.jpg 504w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_05-300x211.jpg 300w\" sizes=\"auto, (max-width: 504px) 100vw, 504px\" \/><\/a>\n<\/ol>\n<p>\u4ee5\u4e0a\u3067\u6e96\u5099\u4f5c\u696d\u306f\u7d42\u4e86\u3067\u3059\u3002<br \/>\n\u6b21\u306f\u3044\u3088\u3044\u3088\u30b3\u30fc\u30c9\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">JavaScript\u30b3\u30fc\u30c9<\/h4>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n  &lt;head&gt;\r\n    &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n    &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=Edge&quot;&gt;\r\n    &lt;script src=&quot;https:\/\/ajax.aspnetcdn.com\/ajax\/jquery\/jquery-2.1.4.min.js&quot;&gt;&lt;\/script&gt;\r\n    &lt;script&gt;\r\n      var access_token = &quot;&quot;;\r\n      var client_id = &quot;(\u53d6\u5f97\u3057\u305f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 ID)&quot;;\r\n      var redirect_uri = &quot;(\u8a2d\u5b9a\u3057\u305f\u30ea\u30c0\u30a4\u30ec\u30af\u30c8 URI)&quot;;\r\n      var resource_uri = &quot;https:\/\/graph.microsoft.com\/&quot;;\r\n      var rest_uri = &quot;https:\/\/graph.microsoft.com\/beta\/me\/messages&quot;;\r\n      \r\n      $(function(){\r\n        var q = location.href.split(&quot;#&quot;);\r\n        if(q.length &gt; 1){\r\n          var prms = q&#x5B;1].split(&quot;&amp;&quot;);\r\n          for(var i = 0;i &lt; prms.length;i++){\r\n            prm = prms&#x5B;i].split(&quot;=&quot;);\r\n            if(prm&#x5B;0].toLowerCase() == &quot;access_token&quot;){\r\n              access_token = prm&#x5B;1]; \/\/access token\u53d6\u5f97\r\n              break;\r\n            }\r\n          }\r\n          $(&quot;#btnSignin&quot;).attr(&quot;disabled&quot;, true);\r\n          $(&quot;#btnCallApi&quot;).attr(&quot;disabled&quot;, false);\r\n          $(&quot;#btnCallApi&quot;).removeAttr(&quot;disabled&quot;);\r\n        }else{\r\n          $(&quot;#btnSignin&quot;).attr(&quot;disabled&quot;, false);\r\n          $(&quot;#btnSignin&quot;).removeAttr(&quot;disabled&quot;);\r\n          $(&quot;#btnCallApi&quot;).attr(&quot;disabled&quot;, true);\r\n        }\r\n        \r\n        $(&quot;#btnSignin&quot;).click(function(){\r\n          var auth_uri = &quot;https:\/\/login.windows.net\/common\/oauth2\/authorize?response_type=token&amp;redirect_uri=&quot; + encodeURIComponent(redirect_uri) + &quot;&amp;client_id=&quot; + client_id + &quot;&amp;resource=&quot; + encodeURIComponent(resource_uri);\r\n          window.location.href = auth_uri;\r\n        });\r\n        \r\n        $(&quot;#btnCallApi&quot;).click(function(){\r\n          $.ajax({\r\n            url      : rest_uri, \r\n            type     : &quot;GET&quot;, \r\n            async    : false, \r\n            dataType : &quot;json&quot;, \r\n            headers  : {\r\n              &quot;Authorization&quot; : &quot;Bearer &quot; + access_token\r\n            }, \r\n            success  : function(data){\r\n              var ret = &quot;&quot;;\r\n              var v = data.value;\r\n              for(var j = 0;j &lt; v.length;j++){\r\n                ret += &quot;Subject:&quot; + v&#x5B;j].Subject + &quot; , BodyPreview:&quot; + v&#x5B;j].BodyPreview + &quot;\\n&quot;;\r\n              }\r\n              $(&quot;#txtResult&quot;).val(ret);\r\n            }, \r\n            error: function(){\r\n              alert(&quot;\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002&quot;);\r\n            }\r\n          });\r\n        });\r\n      });\r\n    &lt;\/script&gt;\r\n  &lt;\/head&gt;\r\n  &lt;body&gt;\r\n    &lt;table&gt;\r\n      &lt;tr&gt;\r\n        &lt;td&gt;&lt;button id=&quot;btnSignin&quot;&gt;Sign In&lt;\/button&gt;&lt;\/td&gt;\r\n        &lt;td&gt;&lt;button id=&quot;btnCallApi&quot;&gt;Call API&lt;\/button&gt;&lt;\/td&gt;\r\n      &lt;\/tr&gt;\r\n      &lt;tr&gt;\r\n        &lt;td colspan=&quot;2&quot;&gt;&lt;textarea id=&quot;txtResult&quot; cols=&quot;60&quot; rows=&quot;5&quot;&gt;&lt;\/textarea&gt;&lt;\/td&gt;\r\n      &lt;\/tr&gt;\r\n    &lt;\/table&gt;\r\n  &lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_06.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_06.jpg\" alt=\"Office_365_unified_API_JS_01_06\" width=\"637\" height=\"354\" class=\"alignnone size-full wp-image-5671\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_06.jpg 637w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_06-300x167.jpg 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/a><\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_07.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_07.jpg\" alt=\"Office_365_unified_API_JS_01_07\" width=\"637\" height=\"507\" class=\"alignnone size-full wp-image-5672\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_07.jpg 637w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_07-300x239.jpg 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/a><\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_08.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_08.jpg\" alt=\"Office_365_unified_API_JS_01_08\" width=\"637\" height=\"346\" class=\"alignnone size-full wp-image-5673\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_08.jpg 637w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_08-300x163.jpg 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/a><\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_09.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_09.jpg\" alt=\"Office_365_unified_API_JS_01_09\" width=\"637\" height=\"346\" class=\"alignnone size-full wp-image-5674\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_09.jpg 637w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_JS_01_09-300x163.jpg 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/a><\/p>\n<p>\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u306f\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=5620\" title=\"Office 365 unified API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">Office 365 unified API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059<\/a>\u300d\u306e\u30b3\u30fc\u30c9\u3092JavaScript\u306b\u7f6e\u304d\u63db\u3048\u305f\u3060\u3051\u3067\u3059\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u7121\u4e8b\u306b\u52d5\u4f5c\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<h4 class=\"style4a\">\u53c2\u8003Web\u30da\u30fc\u30b8<\/h4>\n<ul>\n<li>Office 365 API : CORS \u306e\u4f7f\u7528<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/blogs.msdn.com\/b\/tsmatsuz\/archive\/2015\/05\/13\/office-365-api-cors.aspx\" target=\"_blank\" title=\"Office 365 API : CORS \u306e\u4f7f\u7528\">http:\/\/blogs.msdn.com\/b\/tsmatsuz\/archive\/2015\/05\/13\/office-365-api-cors.aspx<\/a><\/li>\n<li>JavaScript \u306b\u3088\u308b Azure AD \u9023\u643a (OAuth Implicit Grant)<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/blogs.msdn.com\/b\/tsmatsuz\/archive\/2015\/03\/06\/azure-ad-oauth-implicit-grant-flow-using-javascript.aspx\" target=\"_blank\" title=\"JavaScript \u306b\u3088\u308b Azure AD \u9023\u643a (OAuth Implicit Grant)\">http:\/\/blogs.msdn.com\/b\/tsmatsuz\/archive\/2015\/03\/06\/azure-ad-oauth-implicit-grant-flow-using-javascript.aspx<\/a><\/li>\n<li>Create JavaScript web apps using CORS to access Office 365 APIs<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/en-us\/office\/office365\/howto\/create-web-apps-using-CORS-to-access-files-in-Office-365\" target=\"_blank\" title=\"Create JavaScript web apps using CORS to access Office 365 APIs\">https:\/\/msdn.microsoft.com\/en-us\/office\/office365\/howto\/create-web-apps-using-CORS-to-access-files-in-Office-365<\/a><\/li>\n<\/ul>\n<h4 class=\"style4a\">\u95a2\u9023\u8a18\u4e8b<\/h4>\n<ul>\n<li>Office 365 API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059(1)<\/li>\n<li style=\"list-style-type:none;\"><a href=\"\/\/www.ka-net.org\/blog\/?p=5585\" target=\"_blank\" title=\"Office 365 API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059(1)\">\/\/www.ka-net.org\/blog\/?p=5585<\/a><\/li>\n<li>Office 365 API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059(2)<\/li>\n<li style=\"list-style-type:none;\"><a href=\"\/\/www.ka-net.org\/blog\/?p=5595\" target=\"_blank\" title=\"Office 365 API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059(2)\">\/\/www.ka-net.org\/blog\/?p=5595<\/a><\/li>\n<li>Office 365 API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059(3)<\/li>\n<li style=\"list-style-type:none;\"><a href=\"\/\/www.ka-net.org\/blog\/?p=5607\" target=\"_blank\" title=\"Office 365 API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059(3)\">\/\/www.ka-net.org\/blog\/?p=5607<\/a><\/li>\n<li>Office 365 unified API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059<\/li>\n<li style=\"list-style-type:none;\"><a href=\"\/\/www.ka-net.org\/blog\/?p=5620\" target=\"_blank\" title=\"Office 365 unified API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059\">\/\/www.ka-net.org\/blog\/?p=5620<\/a><\/li>\n<li>Office 365 unified API\u3092JavaScript\u3060\u3051\u3067\u547c\u3073\u51fa\u3059<\/li>\n<li style=\"list-style-type:none;\"><a href=\"\/\/www.ka-net.org\/blog\/?p=5664\" target=\"_blank\" title=\"Office 365 unified API\u3092JavaScript\u3060\u3051\u3067\u547c\u3073\u51fa\u3059\">\/\/www.ka-net.org\/blog\/?p=5664<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"Microsoft\u306e\u677e\u5d0e\u3055\u3093\u306e\u30d6\u30ed\u30b0\u306b\u4e0b\u8a18\u306e\u8a18\u4e8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002 \u30fbOffice 365 API : CORS \u306e\u4f7f\u7528 &#8211; \u677e\u5d0e \u525b Blog http:\/\/blogs.msdn.com\/b\/tsmatsuz\/ [&hellip;]","protected":false},"author":1,"featured_media":7118,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u30af\u30ed\u30b9\u30c9\u30e1\u30a4\u30f3\u5236\u7d04\u306b\u5f15\u3063\u639b\u304b\u3089\u306a\u3044\u306e\u306f\u4f7f\u3044\u52dd\u624b\u826f\u3057\u3067\u3059\u3002 [Office 365 unified API\u3092JavaScript\u3060\u3051\u3067\u547c\u3073\u51fa\u3059]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,147,112],"tags":[],"class_list":["post-5664","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-microsoft-graph","category-office365"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Office365.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1tm","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5664"}],"version-history":[{"count":4,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5664\/revisions"}],"predecessor-version":[{"id":7556,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5664\/revisions\/7556"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7118"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}