{"id":10169,"date":"2018-03-26T15:00:21","date_gmt":"2018-03-26T06:00:21","guid":{"rendered":"https:\/\/www.ka-net.org\/blog\/?p=10169"},"modified":"2018-03-26T17:10:59","modified_gmt":"2018-03-26T08:10:59","slug":"microsoft-graph-net-client-library%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%9fapi%e3%81%ae%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%97%e3%82%b5%e3%83%b3%e3%83%97%e3%83%ab","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=10169","title":{"rendered":"Microsoft Graph .NET Client Library\u3092\u4f7f\u3063\u305fAPI\u306e\u547c\u3073\u51fa\u3057\u30b5\u30f3\u30d7\u30eb"},"content":{"rendered":"<p>\u4e0b\u8a18\u8a18\u4e8b\u3067Microsoft Graph\u306ePHP\u7528SDK\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306f.NET\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u3001Graph API\u3092\u547c\u3073\u51fa\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<div class=\"cardlink\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=8469\"><div class=\"cardlink_thumbnail\"><img src='https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_PHPSDK_Sample_13-120x120.jpg' alt='Microsoft Graph SDK for PHP\u3092\u4f7f\u3063\u305fAPI\u306e\u547c\u3073\u51fa\u3057\u30b5\u30f3\u30d7\u30eb' width=120 height=120 \/><\/a><\/div><div class=\"cardlink_content\"><span class=\"timestamp\">2017.05.24<\/span><div class=\"cardlink_title\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=8469\">Microsoft Graph SDK for PHP\u3092\u4f7f\u3063\u305fAPI\u306e\u547c\u3073\u51fa\u3057\u30b5\u30f3\u30d7\u30eb <\/a><\/div><div class=\"cardlink_excerpt\">\u77e5\u3089\u306a\u3044\u9593\u306b(\u6050\u3089\u304fBuild 2017\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u306b\u5408\u308f\u305b\u3066)Microsoft Graph\u30fbPHP\u7528SDK\u306e\u5b89\u5b9a\u7248\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u305f\u306e\u3067\u3001\u3055\u3063\u305d\u304f\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002\r\n\r\n\u30c6\u30b9\u30c8\u74b0\u5883\r\n\r\n\r\nWindows 7 Professional SP1 64-b...<\/div><\/div><div class=\"cardlink_footer\"><\/div><\/div>\n<h4 class=\"style4a\">\u30c6\u30b9\u30c8\u74b0\u5883<\/h4>\n<ul>\n<li>Windows 10 Pro x64<\/li>\n<li><a href=\"http:\/\/www.icsharpcode.net\/OpenSource\/SD\/Download\/Default.aspx\" title=\"Downloads @ic#code\" target=\"_blank\">SharpDevelop 4.4<\/a><\/li>\n<li>Microsoft \u30a2\u30ab\u30a6\u30f3\u30c8<\/li>\n<\/ul>\n<h4 class=\"style4a\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 ID\u306e\u53d6\u5f97<\/h4>\n<p>API\u3092\u547c\u3073\u51fa\u3059\u306b\u3042\u305f\u308a\u3001\u307e\u305a\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3ID(\u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID)\u3092\u6e96\u5099\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>v2.0\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u3001<a href=\"https:\/\/apps.dev.microsoft.com\/\" title=\"Application Registration Portal\" target=\"_blank\">Application Registration Portal<\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001Microsoft \u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30b5\u30a4\u30f3\u30a4\u30f3\u3057\u307e\u3059\u3002<\/li>\n<li>\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30a2\u30d7\u30ea\u306e\u8ffd\u52a0<\/span>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_01.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_01.png\" alt=\"\" width=\"996\" height=\"208\" class=\"alignnone size-full wp-image-10170\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_01.png 996w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_01-300x63.png 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_01-768x160.png 768w\" sizes=\"auto, (max-width: 996px) 100vw, 996px\" \/><\/a><\/p>\n<li>Register your application\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d\u3084\u9023\u7d61\u5148\u3092\u5165\u529b\u3057\u3066\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">Create<\/span>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_02.png\" alt=\"\" width=\"667\" height=\"510\" class=\"alignnone size-full wp-image-10171\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_02.png 667w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_02-300x229.png 300w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><\/a><\/p>\n<li>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u767b\u9332\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 ID<\/span>\u300d(\u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID)\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/li>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_03.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_03.png\" alt=\"\" width=\"927\" height=\"529\" class=\"alignnone size-full wp-image-10172\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_03.png 927w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_03-300x171.png 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_03-768x438.png 768w\" sizes=\"auto, (max-width: 927px) 100vw, 927px\" \/><\/a><\/p>\n<li>\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u8ffd\u52a0<\/span>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30cd\u30a4\u30c6\u30a3\u30d6 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/span>\u300d\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_04.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_04.png\" alt=\"\" width=\"979\" height=\"465\" class=\"alignnone size-full wp-image-10173\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_04.png 979w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_04-300x142.png 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_04-768x365.png 768w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/a><\/p>\n<li>\u300c<span style=\"color: #ff0000; font-weight: bold;\">Microsoft Graph \u306e\u30a2\u30af\u30bb\u30b9\u8a31\u53ef<\/span>\u300d\u306f\u300c<span style=\"color: #ff0000; font-weight: bold;\">Mail.Send<\/span>\u300d\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">User.Read<\/span>\u300d\u306b\u3057\u307e\u3059(\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3053\u3053\u3067\u30b9\u30b3\u30fc\u30d7\u8a2d\u5b9a)\u3002<\/li>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_05.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_05.png\" alt=\"\" width=\"731\" height=\"270\" class=\"alignnone size-full wp-image-10174\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_05.png 731w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_05-300x111.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/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\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/li>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_06.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_06.png\" alt=\"\" width=\"385\" height=\"390\" class=\"alignnone size-full wp-image-10175\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_06.png 385w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_06-296x300.png 296w\" sizes=\"auto, (max-width: 385px) 100vw, 385px\" \/><\/a>\n<\/ol>\n<h4 class=\"style4a\">.NET\u7528\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u6e96\u5099<\/h4>\n<p>\u4eca\u56de\u306fVisual Studio\u3092\u4f7f\u308f\u306a\u3044\u306e\u3067\u3001<a href=\"https:\/\/www.nuget.org\/downloads\" title=\"NuGet Gallery | Downloads\" target=\"_blank\">\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u7248\u306eNuGet<\/a>\u3092\u4f7f\u3063\u3066\u3001\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">nuget install Microsoft.Graph\r\nnuget install Microsoft.Identity.Client -PreRelease\r\nnuget install Newtonsoft.Json -Version 6.0.8<\/pre>\n<h4 class=\"style4a\">Microsoft Graph .NET Client Library\u306b\u3088\u308bAPI\u306e\u547c\u3073\u51fa\u3057<\/h4>\n<p>\u6e96\u5099\u304c\u6574\u3063\u305f\u306e\u3067\u6b21\u306f\u3044\u3088\u3044\u3088\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u304f\u308f\u3051\u3067\u3059\u304c\u3001\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u524d\u306b\u4e0b\u8a18\u53c2\u7167\u3092\u8ffd\u52a0\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>Microsoft.Graph.dll<\/li>\n<li>Microsoft.Graph.Core.dll<\/li>\n<li>Microsoft.Identity.Client.dll<\/li>\n<li>Newtonsoft.Json.dll<\/li>\n<li>System.Net.Http<\/li>\n<\/ul>\n<h5 class=\"style5a\">Program.cs<\/h5>\n<p><span style=\"color: #ff0000; font-weight: bold;\">\u203b \u30b3\u30fc\u30c9\u5185\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 ID\u3068\u30e1\u30fc\u30eb\u306e\u5b9b\u5148\u306f\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">using System;\r\nusing System.Collections.Generic;\r\nusing System.Net.Http.Headers;\r\nusing System.Net.Http;\r\nusing System.Linq;\r\nusing System.Threading.Tasks;\r\nusing Microsoft.Graph;\r\nusing Microsoft.Identity.Client;\r\n\r\nnamespace ConsoleAppForMSGraph\r\n{\r\n    class Program\r\n    {\r\n        \/\/\u203b\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u5909\u66f4\r\n        static string appId = &quot;(\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 ID)&quot;;\r\n        static string&#x5B;] Scopes = {&quot;User.Read&quot;, &quot;Mail.Send&quot;};\r\n        \r\n        static PublicClientApplication IdentityClientApp = new PublicClientApplication(appId);\r\n        static string UserToken = null;\r\n        static GraphServiceClient graphClient = null;\r\n        \r\n        public static void Main(string&#x5B;] args)\r\n        {\r\n            graphClient = GetAuthenticatedClient();\r\n            if (graphClient != null)\r\n            {\r\n                var user = graphClient.Me.Request().GetAsync().Result;\r\n                List&lt;Recipient&gt; recipientList = new List&lt;Recipient&gt;();\r\n                recipientList.Add(new Recipient{EmailAddress = new EmailAddress{Address = &quot;mailto@hogehoge.hoge&quot;}}); \/\/\u5b9b\u5148\r\n                var email = new Message\r\n                {\r\n                    Body = new ItemBody\r\n                    {\r\n                        Content = &quot;\u3053\u3093\u306b\u3061\u306f\uff01 &quot; + user.DisplayName + &quot; \u3055\u3093&quot;,\r\n                        ContentType = BodyType.Text\r\n                    },\r\n                    Subject = &quot;TEST MAIL&quot;,\r\n                    ToRecipients = recipientList\r\n                };\r\n                graphClient.Me.SendMail(email, true).Request().PostAsync();\r\n            }\r\n            Console.Write(&quot;Press any key to continue . . . &quot;);\r\n            Console.ReadKey(true);\r\n        }\r\n        \r\n        public static GraphServiceClient GetAuthenticatedClient()\r\n        {\r\n            try\r\n            {\r\n                graphClient = new GraphServiceClient(\r\n                    &quot;https:\/\/graph.microsoft.com\/v1.0&quot;,\r\n                    new DelegateAuthenticationProvider(\r\n                        async (requestMessage) =&gt;\r\n                        {\r\n                            var token = await GetTokenForUserAsync();\r\n                            requestMessage.Headers.Authorization = new AuthenticationHeaderValue(&quot;bearer&quot;, token);\r\n                        }\r\n                    )\r\n                );\r\n                return graphClient;\r\n            }\r\n            catch (Exception ex)\r\n            {\r\n                System.Diagnostics.Debug.WriteLine(&quot;Could not create a graph client: &quot; + ex.Message);\r\n            }\r\n            return graphClient;\r\n        }\r\n        \r\n        public static async Task&lt;string&gt; GetTokenForUserAsync()\r\n        {\r\n            AuthenticationResult authResult = await IdentityClientApp.AcquireTokenAsync(Scopes); \/\/\u30e6\u30fc\u30b6\u30fc\u64cd\u4f5c\u8981\r\n            UserToken = authResult.AccessToken;\r\n            return UserToken;\r\n        }\r\n    }\r\n}<\/pre>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001Microsoft \u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30b5\u30a4\u30f3\u30a4\u30f3\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u30b5\u30a4\u30f3\u30a4\u30f3\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_07.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_07.png\" alt=\"\" width=\"568\" height=\"330\" class=\"alignnone size-full wp-image-10176\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_07.png 568w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_07-300x174.png 300w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_08.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_08.png\" alt=\"\" width=\"568\" height=\"361\" class=\"alignnone size-full wp-image-10177\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_08.png 568w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_08-300x191.png 300w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/a><\/p>\n<p>\u30b3\u30f3\u30bb\u30f3\u30c8UI\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u300c\u306f\u3044\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_09.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_09.png\" alt=\"\" width=\"568\" height=\"669\" class=\"alignnone size-full wp-image-10178\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_09.png 568w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_09-255x300.png 255w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/a><\/p>\n<p>API\u306e\u547c\u3073\u51fa\u3057\u304c\u7121\u4e8b\u306b\u884c\u308f\u308c\u308c\u3070\u3001\u6307\u5b9a\u3057\u305f\u5b9b\u5148\u306b\u30e1\u30fc\u30eb\u304c\u5c4a\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_10.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_10.png\" alt=\"\" width=\"542\" height=\"496\" class=\"alignnone size-full wp-image-10179\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_10.png 542w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_10-300x275.png 300w\" sizes=\"auto, (max-width: 542px) 100vw, 542px\" \/><\/a><\/p>\n<p>\u4ee5\u4e0a\u306e\u3088\u3046\u306b\u3001\u5c02\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u7c21\u5358\u306a\u30b3\u30fc\u30c9\u3067Microsoft Graph\u306eAPI\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/?p=6427\" title=\"Microsoft Graph\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3057\u3066OneNote\u306e\u30da\u30fc\u30b8\u5185\u5bb9\u3092\u53d6\u5f97\u3059\u308b | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">\u6ce5\u81ed\u304fAPI\u3092\u547c\u3076<\/a>\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u305d\u308c\u3092\u4f7f\u3063\u305f\u65b9\u304c\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<div id=\"single_banner_area2\" class=\"clearfix one_banner\">\n<div class=\"single_banner single_banner_left\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u8a18\u4e8b\u4e2d(\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u5e83\u544a\u30e6\u30cb\u30c3\u30c8) -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-7306936664602087\"\r\n     data-ad-slot=\"5429724765\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<div class=\"single_banner single_banner_right\">\n<a href=\"\" target=\"_blank\"><img decoding=\"async\" src=\"\" alt=\"\" title=\"\" \/><\/a>\n<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"\u4e0b\u8a18\u8a18\u4e8b\u3067Microsoft Graph\u306ePHP\u7528SDK\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306f.NET\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u3001Graph API\u3092\u547c\u3073\u51fa\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u30c6\u30b9\u30c8\u74b0\u5883 Windows 10 Pro x64 Shar [&hellip;]","protected":false},"author":1,"featured_media":10173,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[Microsoft Graph .NET Client Library\u3092\u4f7f\u3063\u305fAPI\u306e\u547c\u3073\u51fa\u3057\u30b5\u30f3\u30d7\u30eb]","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":[147],"tags":[],"class_list":["post-10169","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-graph"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/MicrosoftGraph_DotNet_Sample_04.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-2E1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10169","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=10169"}],"version-history":[{"count":2,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10169\/revisions"}],"predecessor-version":[{"id":10181,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10169\/revisions\/10181"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/10173"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}