{"id":5620,"date":"2015-05-22T23:00:43","date_gmt":"2015-05-22T14:00:43","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=5620"},"modified":"2016-10-25T22:06:51","modified_gmt":"2016-10-25T13:06:51","slug":"office-365-unified-api%e3%82%92vba%e3%81%8b%e3%82%89%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=5620","title":{"rendered":"Office 365 unified API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059"},"content":{"rendered":"<p><a href=\"\/\/www.ka-net.org\/blog\/?p=5607\" target=\"_blank\">\u524d\u56de\u306e\u8a18\u4e8b<\/a>\u3067\u3001VBA\u304b\u3089Office 365 API\u3092\u547c\u3073\u51fa\u3059\u624b\u9806\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3057\u305f\u3002<br \/>\nOAuth 2.0 \u8a8d\u8a3c + REST\u3068\u3044\u3046\u4e00\u822c\u7684\u306a\u65b9\u5f0f\u3067\u3001\u8a00\u8a9e\u74b0\u5883\u3092\u9078\u3070\u305a\u624b\u8efd\u306b\u5916\u90e8\u304b\u3089Office 365\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3001\u3068\u3066\u3082\u4fbf\u5229\u306aAPI\u3067\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001Office 365\u306e\u5404\u30b5\u30fc\u30d3\u30b9\u306eAPI\u306e\u307b\u3068\u3093\u3069\u306f\u56fa\u6709\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u6301\u3063\u3066\u304a\u308a\u3001\u8907\u6570\u306e\u30b5\u30fc\u30d3\u30b9\u306b\u307e\u305f\u304c\u308b\u51e6\u7406\u3092\u5b9f\u884c\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001SharePoint\u306b\u884c\u3063\u3066OneDrive\u306b\u884c\u3063\u3066Outlook\u306b\u884c\u3063\u3066\u2026\u3068\u3044\u3046\u3088\u3046\u306b\u3001\u975e\u5e38\u306b\u624b\u9593\u304c\u639b\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u767b\u5834\u3057\u305f\u306e\u304c\u300c<span style=\"color: #ff0000; font-weight: bold;\">Office 365 unified API<\/span>\u300d\u3067\u3059\u3002<\/p>\n<p><iframe loading=\"lazy\" src=\"\/\/channel9.msdn.com\/Events\/Build\/2015\/3-641\/player?format=officemix\" width=\"560\" height=\"315\" allowFullScreen frameBorder=\"0\"><\/iframe><\/p>\n<p>unified\u3001\u3064\u307e\u308a\u7d71\u4e00\u3055\u308c\u305f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304c\u7528\u610f\u3055\u308c\u305f\u3053\u3068\u3067\u3001\u8907\u6570\u306e\u30b5\u30fc\u30d3\u30b9\u306b\u307e\u305f\u304c\u308b\u51e6\u7406\u3067\u3042\u3063\u3066\u3082\u3001\u5358\u4e00\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u300c<span style=\"color: #ff0000; font-weight: bold;\">https:\/\/graph.microsoft.com\/<\/span>\u300d\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308c\u3070<span style=\"color: #ff0000; font-weight: bold;\">\u305d\u308c\u3067OK\uff01<\/span>\u306b\u306a\u3063\u305f\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3068\u3066\u3082\u4fbf\u5229\uff01<br \/>\n\u30fb\u30fb\u30fb\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u65e9\u901f\u201cVBA\u304b\u3089\u201d\u4f7f\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h4 class=\"style4a\">VBA\u304b\u3089\u306eOffice 365 unified API\u547c\u3073\u51fa\u3057<\/h4>\n<p>\u203b Office 365\u3068Azure AD\u306e\u7d10\u4ed8\u3051\u3084\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u3053\u3067\u306f\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u305b\u3093\u306e\u3067\u3001\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=5585\" title=\"Office 365 API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059(1) | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">Office 365 API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059(1)<\/a>\u300d\u3068\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=5595\" title=\"Office 365 API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059(2) | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">Office 365 API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059(2)<\/a>\u300d\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<ol>\n<li><a href=\"https:\/\/manage.windowsazure.com\/\" title=\"Microsoft Azure\" 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\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30cd\u30a4\u30c6\u30a3\u30d6 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/span>\u300d\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<li>\u300c\u4ed6\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5bfe\u3059\u308b\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u300d\u304b\u3089\u300c<span style=\"color: #ff0000; font-weight: bold;\">Office 365 unified API (preview)<\/span>\u300d\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_01.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_01.png\" alt=\"Office_365_unified_API_VBA_01_01\" width=\"1026\" height=\"642\" class=\"alignnone size-full wp-image-5621\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_01.png 1026w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_01-300x188.png 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_01-1024x641.png 1024w\" sizes=\"auto, (max-width: 1026px) 100vw, 1026px\" \/><\/a><\/p>\n<li>\u4eca\u56de\u306f\u30e1\u30fc\u30eb\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u30de\u30af\u30ed\u3092\u66f8\u304f\u4e88\u5b9a\u306a\u306e\u3067\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30c7\u30ea\u30b2\u30fc\u30c8\u3055\u308c\u305f\u30a2\u30af\u30bb\u30b9\u8a31\u53ef<\/span>\u300d\u304b\u3089\u300c<span style=\"color: #ff0000; font-weight: bold;\">Read and write access to user mail<\/span>\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_02.png\" alt=\"Office_365_unified_API_VBA_01_02\" width=\"782\" height=\"370\" class=\"alignnone size-full wp-image-5622\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_02.png 782w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_02-300x142.png 300w\" sizes=\"auto, (max-width: 782px) 100vw, 782px\" \/><\/a><\/p>\n<li>\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u4fdd\u5b58<\/span>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u6210\u753b\u9762\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 ID<\/span>\u300d\u3068\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30ea\u30c0\u30a4\u30ec\u30af\u30c8 URI<\/span>\u300d\u306f\u5f8c\u3067\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u3001\u3069\u3053\u304b\u306b\u63a7\u3048\u3066\u304a\u304d\u307e\u3059\u3002<\/li>\n<p>\u4ee5\u4e0a\u3067\u6e96\u5099\u4f5c\u696d\u306f\u5b8c\u4e86\u3067\u3059\u3002<br \/>\n\u6b21\u306f\u5b9f\u969b\u306b\u30de\u30af\u30ed\u3092\u66f8\u3044\u3066\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<li>\u4e0b\u8a18\u30b3\u30fc\u30c9\u3092\u6a19\u6e96\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u8cbc\u308a\u4ed8\u3051\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">client_id<\/span>\u300d\u3068\u300c<span style=\"color: #ff0000; font-weight: bold;\">redirect_uri<\/span>\u300d\u3092\u305d\u308c\u305e\u308c\u81ea\u5206\u304c\u53d6\u5f97\u30fb\u8a2d\u5b9a\u3057\u305f\u3082\u306e\u306b\u7f6e\u304d\u304b\u3048\u307e\u3059\u3002<\/li>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nPublic Sub SampleOutlookAPI()\r\n'\u30b5\u30f3\u30d7\u30eb - Office 365 unified API(Messages)\u547c\u3073\u51fa\u3057\r\n'\u203b ScriptControl\u3092\u4f7f\u3063\u3066\u3044\u308b\u305f\u3081\u300132\u30d3\u30c3\u30c8\u74b0\u5883\u306e\u307f\u5bfe\u5fdc\r\n'\u203b \u30ea\u30c0\u30a4\u30ec\u30af\u30c8 URI\u3092localhost\u306b\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30b5\u30fc\u30d0\u30fc(XAMPP\u4ed6)\u306e\u8d77\u52d5\u304c\u5fc5\u8981\u306a\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\r\n  Dim url_auth As String\r\n  Dim url_token As String\r\n  Dim url_api As String\r\n  Dim q As String\r\n  Dim code As String\r\n  Dim js As String\r\n  Dim access_token As String\r\n  Dim dat As Variant\r\n  Dim ary As Variant, ary2 As Variant\r\n  Dim messages As Object\r\n  Dim message As Object\r\n  Dim i As Long\r\n  Dim value, Subject, BodyPreview 'JSON\u30d1\u30fc\u30b9\u7528\u30c0\u30df\u30fc\r\n  Const READYSTATE_COMPLETE = 4\r\n  \r\n  '**********************************************************************\r\n  '\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 ID &amp; \u30ea\u30c0\u30a4\u30ec\u30af\u30c8 URI\r\n  Const client_id As String = &quot;(\u53d6\u5f97\u3057\u305f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 ID)&quot;\r\n  Const redirect_uri As String = &quot;(\u8a2d\u5b9a\u3057\u305f\u30ea\u30c0\u30a4\u30ec\u30af\u30c8 URI)&quot;\r\n  '**********************************************************************\r\n  \r\n  'authorization code\u53d6\u5f97\r\n  code = &quot;&quot; '\u521d\u671f\u5316\r\n  url_auth = &quot;https:\/\/login.microsoftonline.com\/common\/oauth2\/authorize?response_type=code&quot; &amp; _\r\n             &quot;&amp;redirect_uri=&quot; &amp; EncodeURL(redirect_uri) &amp; _\r\n             &quot;&amp;client_id=&quot; &amp; client_id &amp; _\r\n             &quot;&amp;resource=&quot; &amp; EncodeURL(&quot;https:\/\/graph.microsoft.com\/&quot;)\r\n  With CreateObject(&quot;InternetExplorer.Application&quot;)\r\n    .Visible = True\r\n    .Navigate url_auth\r\n    While .ReadyState &lt;&gt; READYSTATE_COMPLETE Or _\r\n          .Busy = True Or _\r\n          (StrComp(Left(.LocationURL, Len(redirect_uri)), redirect_uri) &lt;&gt; 0)\r\n      DoEvents\r\n    Wend\r\n    q = .document.parentWindow.Location.Search\r\n    q = Mid(q, 2) '&quot;?&quot;\u524a\u9664\r\n    ary = Split(q, &quot;&amp;&quot;)\r\n    For i = LBound(ary) To UBound(ary)\r\n      ary2 = Split(ary(i), &quot;=&quot;)\r\n      If LCase(ary2(0)) = &quot;code&quot; Then\r\n        code = ary2(1)\r\n        Exit For\r\n      End If\r\n    Next\r\n    .Quit\r\n  End With\r\n  If Len(Trim(code)) &lt; 1 Then Exit Sub\r\n  \r\n  'access token\u53d6\u5f97\r\n  js = &quot;&quot;: access_token = &quot;&quot; '\u521d\u671f\u5316\r\n  url_token = &quot;https:\/\/login.microsoftonline.com\/common\/oauth2\/token&quot;\r\n  dat = &quot;grant_type=authorization_code&quot; &amp; _\r\n        &quot;&amp;code=&quot; &amp; code &amp; _\r\n        &quot;&amp;client_id=&quot; &amp; client_id &amp; _\r\n        &quot;&amp;redirect_uri=&quot; &amp; EncodeURL(redirect_uri)\r\n  With CreateObject(&quot;MSXML2.XMLHTTP&quot;)\r\n    .Open &quot;POST&quot;, url_token, False\r\n    .setRequestHeader &quot;Content-Type&quot;, &quot;application\/x-www-form-urlencoded&quot;\r\n    .send dat\r\n    Select Case .Status\r\n      Case 200: js = .responseText\r\n    End Select\r\n  End With\r\n  If Len(Trim(js)) &lt; 1 Then Exit Sub\r\n  js = &quot;(&quot; &amp; js &amp; &quot;)&quot;\r\n  With CreateObject(&quot;ScriptControl&quot;)\r\n    .Language = &quot;JScript&quot;\r\n    access_token = .CodeObject.eval(js).access_token\r\n  End With\r\n  If Len(Trim(access_token)) &lt; 1 Then Exit Sub\r\n  \r\n  'Office 365 unified API\u547c\u3073\u51fa\u3057\r\n  js = &quot;&quot; '\u521d\u671f\u5316\r\n  url_api = &quot;https:\/\/graph.microsoft.com\/beta\/me\/messages&quot;\r\n  With CreateObject(&quot;MSXML2.XMLHTTP&quot;)\r\n    .Open &quot;GET&quot;, url_api, False\r\n    .setRequestHeader &quot;Authorization&quot;, &quot;Bearer &quot; &amp; access_token\r\n    .send\r\n    Select Case .Status\r\n      Case 200: js = .responseText\r\n    End Select\r\n  End With\r\n  If Len(Trim(js)) &lt; 1 Then Exit Sub\r\n  js = &quot;(&quot; &amp; js &amp; &quot;)&quot;\r\n  With CreateObject(&quot;ScriptControl&quot;)\r\n    .Language = &quot;JScript&quot;\r\n    Set messages = .CodeObject.eval(js).value\r\n    For Each message In messages\r\n      Debug.Print message.Subject, message.BodyPreview '\u4ef6\u540d\u30fb\u672c\u6587\u30d7\u30ec\u30d3\u30e5\u30fc\u5217\u6319\r\n    Next\r\n  End With\r\nEnd Sub\r\n\r\nPrivate Function EncodeURL(ByVal Target As String) As String\r\n'URL\u30a8\u30f3\u30b3\u30fc\u30c9\r\n  With CreateObject(&quot;ScriptControl&quot;)\r\n    .Language = &quot;JScript&quot;\r\n    EncodeURL = .CodeObject.encodeURIComponent(Target)\r\n  End With\r\nEnd Function<\/pre>\n<li>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057Office 365\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30b5\u30a4\u30f3\u30a4\u30f3\u3059\u308b\u3068\u3001API\u306e\u547c\u3073\u51fa\u3057\u304c\u884c\u308f\u308c\u3001\u30e1\u30fc\u30eb\u60c5\u5831\u304c\u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8 \u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/li>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_03.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_03.png\" alt=\"Office_365_unified_API_VBA_01_03\" width=\"334\" height=\"103\" class=\"alignnone size-full wp-image-5623\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_03.png 334w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_365_unified_API_VBA_01_03-300x93.png 300w\" sizes=\"auto, (max-width: 334px) 100vw, 334px\" \/><\/a>\n<\/ol>\n<p>\u4ee5\u4e0a\u306e\u624b\u9806\u3067Office 365 unified API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u305f\u308f\u3051\u3067\u3059\u304c\u3001\u5b9f\u306f\u4e0a\u8a18\u30b3\u30fc\u30c9\u306f\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=5607\" title=\"Office 365 API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059(3) | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">Office 365 API\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059(3)<\/a>\u300d\u306e\u30b3\u30fc\u30c9\u3068\u307b\u307c\u540c\u3058\u3082\u306e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u9055\u3046\u306e\u306f\u30ea\u30bd\u30fc\u30b9\u306eURI(<span style=\"color: #ff0000; font-weight: bold;\">https:\/\/graph.microsoft.com\/<\/span>)\u3068REST\u30b5\u30fc\u30d3\u30b9\u306eURI(<span style=\"color: #ff0000; font-weight: bold;\">https:\/\/graph.microsoft.com\/beta\/me\/messages<\/span>)\u3060\u3051\u3067\u3001\u305d\u306e\u4ed6\u306e\u90e8\u5206\u306f\u540c\u3058\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<p>\u8981\u306f\u30b3\u30fc\u30c9\u306e\u4f7f\u3044\u56de\u3057\u3067\u3059\u304c\u3001\u898b\u65b9\u3092\u5909\u3048\u308b\u3068\u3001\u3053\u308c\u307e\u3067\u306eOffice 365 API\u3092\u547c\u3073\u51fa\u3059\u30b3\u30fc\u30c9\u304c\u307b\u307c\u305d\u306e\u307e\u307e\u4f7f\u3048\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>2015\/05\/22 \u6642\u70b9\u3067\u306f\u3001\u307e\u3060Office 365 unified API\u306f\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3067\u3059\u304c\u3001<span style=\"color: #ff0000; font-weight: bold;\">\u5358\u4e00\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304b\u3089Office 365\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b<\/span>\u3001\u3068\u3044\u3046\u4ed5\u69d8\u304c\u5909\u308f\u308b\u3053\u3068\u306f\u306a\u3044\u3060\u308d\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u8a8d\u8a3c\u30d5\u30ed\u30fc\u304c\u30b7\u30f3\u30d7\u30eb\u306b\u306a\u3063\u3066\u3001\u3053\u308c\u307e\u3067\u4ee5\u4e0a\u306bOffice 365\u95a2\u9023\u30b5\u30fc\u30d3\u30b9\u304c\u958b\u767a\u304c\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3057\u305f\u306d\uff01\uff01<\/p>\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":"\u524d\u56de\u306e\u8a18\u4e8b\u3067\u3001VBA\u304b\u3089Office 365 API\u3092\u547c\u3073\u51fa\u3059\u624b\u9806\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3057\u305f\u3002 OAuth 2.0 \u8a8d\u8a3c + REST\u3068\u3044\u3046\u4e00\u822c\u7684\u306a\u65b9\u5f0f\u3067\u3001\u8a00\u8a9e\u74b0\u5883\u3092\u9078\u3070\u305a\u624b\u8efd\u306b\u5916\u90e8\u304b\u3089Office 365\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068 [&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":"\u5358\u4e00\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304b\u3089API\u547c\u3073\u653e\u984c\u3067\u3059\uff01 [Office 365 unified API\u3092VBA\u304b\u3089\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-5620","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-1sE","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5620","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=5620"}],"version-history":[{"count":5,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5620\/revisions"}],"predecessor-version":[{"id":7557,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5620\/revisions\/7557"}],"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=5620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}