{"id":695,"date":"2023-03-15T05:00:47","date_gmt":"2023-03-14T20:00:47","guid":{"rendered":"https:\/\/m365jp.xyz\/?p=695"},"modified":"2023-03-15T05:15:43","modified_gmt":"2023-03-14T20:15:43","slug":"mc338988-updated-rest-api-for-on-premises-mailboxes-preview-ending","status":"publish","type":"post","link":"https:\/\/m365jp.net\/index.php\/2023-03-15-mc338988-updated-rest-api-for-on-premises-mailboxes-preview-ending","title":{"rendered":"MC338988 | (Updated) REST API for On-Premises Mailboxes Preview Ending"},"content":{"rendered":"<div class=\"postie-post\">\n<div>\n<hr>\n<table id=\"section\">\n<tbody>\n<tr>\n<th width=\"95%\">MC338988 | (Updated) REST API for On-Premises Mailboxes Preview Ending<\/th>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<table id=\"data\">\n<tbody>\n<tr>\n<th>Classification<\/th>\n<td>planForChange<\/td>\n<\/tr>\n<tr>\n<th>Last Updated<\/th>\n<td>03\/14\/2023 19:51:48<\/td>\n<\/tr>\n<tr>\n<th>Start Time<\/th>\n<td>03\/04\/2022 17:11:12<\/td>\n<\/tr>\n<tr>\n<th>End Time<\/th>\n<td>07\/31\/2023 07:00:00<\/td>\n<\/tr>\n<tr>\n<th>Message Content<\/th>\n<td>\n<p>Updated March 14, 2023: We have updated the timing of this change. Thank you for your patience.<\/p>\n<p>Upcoming, we will be retiring the <a href=\"https:\/\/docs.microsoft.com\/graph\/hybrid-rest-support\" target=\"_blank\" rel=\"noopener\">  preview program enabling REST API access to on-premises mailboxes for Hybrid Exchange organizations<\/a>.<\/p>\n<p><b>Note<\/b>: This will impact those who write code against Exchange mailboxes.<\/p>\n<p>  <\/p>\n<p>[Key points]<\/p>\n<p>  <\/p>\n<ul>  <\/p>\n<li>Timing: Beginning early June (previously early March), we will begin to return errors for any requests made for mailboxes that remain on-premises.<\/li>\n<p>  <\/p>\n<li>Action: Use Microsoft Graph for Exchange Online and Exchange Web Services (EWS) for Exchange Server on-premises<\/li>\n<p>  <\/p>\n<li>Roll-out: tenant level<\/li>\n<p>  <\/ul>\n<p>  <\/p>\n<p>&nbsp;[How this will affect your organization:]<\/p>\n<p>FAQ:<\/p>\n<p><i style=\"\">What API(s) should I use to work with Hybrid Orgs, where some mailboxes are in Exchange Online, and some are on Exchange Server?<br \/>  <\/i><\/p>\n<ul>\n<li>You should continue to use Microsoft Graph to work with Exchange Online mailboxes and use EWS to work with Exchange Server (on-premises) mailboxes.    <\/li>\n<\/ul>\n<p><i>Wasn&#8217;t EWS going away?<br \/>  <\/i><\/p>\n<ul>\n<li>In 2018<a href=\"https:\/\/techcommunity.microsoft.com\/t5\/exchange-team-blog\/upcoming-changes-to-exchange-web-services-ews-api-for-office-365\/ba-p\/608055\" target=\"_blank\" rel=\"noopener\"> we announced<\/a> EWS in Exchange Online would no longer receive feature updates. But   we have no plans currently to change the way EWS works on-premises, so using Microsoft Graph for Exchange Online and EWS for Exchange Server on-premises is the current recommendation.    <\/li>\n<li>If you choose to continue using EWS against Exchange Online mailboxes, you should ensure that it uses OAuth (as Basic Authentication is being turned off in Exchange Online). You should also know that it now allows restricting access to mailboxes access   through mailbox access policies.\n<ul>\n<li><a href=\"https:\/\/docs.microsoft.com\/exchange\/client-developer\/exchange-web-services\/how-to-authenticate-an-ews-application-by-using-oauth\" target=\"_blank\" rel=\"noopener\">Authenticate an EWS application by using OAuth<\/a><\/li>\n<li><a href=\"https:\/\/techcommunity.microsoft.com\/t5\/exchange-team-blog\/application-access-policy-support-in-ews\/ba-p\/2110361\" target=\"_blank\" rel=\"noopener\">Application Access Policy Support in EWS<\/a>  <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><i>Where can I get help on using Microsoft Graph?<br \/>  <\/i><\/p>\n<ul>\n<li>One of the best places to start is <a href=\"https:\/\/docs.microsoft.com\/graph\/use-the-api\" target=\"_blank\" rel=\"noopener\">  Use the Microsoft Graph API <\/a>and one of the best resources you can use to get practical is  <a href=\"https:\/\/docs.microsoft.com\/graph\/graph-explorer\/graph-explorer-overview\" target=\"_blank\" rel=\"noopener\">  Use Graph Explorer to try Microsoft Graph APIs <\/a>  <\/li>\n<\/ul>\n<p>Learn more:<\/p>\n<ul>\n<li><a href=\"https:\/\/techcommunity.microsoft.com\/t5\/exchange-team-blog\/the-end-of-the-rest-api-for-on-premises-mailboxes-preview\/ba-p\/3221219\" target=\"_blank\" rel=\"noopener\">The End of the REST API for On-Premises Mailboxes Preview<\/a><\/li>\n<\/ul>\n<p>  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<th>Machine Translation<\/th>\n<td>\n<p>2023\u5e743\u670814\u65e5\u66f4\u65b0:\u3053\u306e\u5909\u66f4\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002\u304a\u5f85\u3061\u3044\u305f\u3060\u304d\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u5f8c\u3001 <a href=\"https:\/\/docs.microsoft.com\/graph\/hybrid-rest-support\" target=\"_blank\" rel=\"noopener\">  \u30cf\u30a4\u30d6\u30ea\u30c3\u30c9 Exchange \u7d44\u7e54\u306e\u30aa\u30f3\u30d7\u30ec\u30df\u30b9 \u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u3078\u306e REST API \u30a2\u30af\u30bb\u30b9\u3092\u6709\u52b9\u306b\u3059\u308b\u30d7\u30ec\u30d3\u30e5\u30fc \u30d7\u30ed\u30b0\u30e9\u30e0\u3092<\/a>\u5ec3\u6b62\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n<p><b>\u6ce8<\/b>: \u3053\u308c\u306f\u3001Exchange \u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u306b\u5bfe\u3057\u3066\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u306b\u5f71\u97ff\u3057\u307e\u3059\u3002<\/p>\n<p>  <\/p>\n<p>\u3010\u30dd\u30a4\u30f3\u30c8\u3011<\/p>\n<p>  <\/p>\n<ul>  <\/p>\n<li>\u30bf\u30a4\u30df\u30f3\u30b0: 6 \u6708\u4e0a\u65ec (\u4ee5\u524d\u306f 3 \u6708\u4e0a\u65ec) \u304b\u3089\u3001\u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u306b\u6b8b\u3063\u3066\u3044\u308b\u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u306b\u5bfe\u3057\u3066\u884c\u308f\u308c\u305f\u8981\u6c42\u306b\u5bfe\u3057\u3066\u30a8\u30e9\u30fc\u304c\u8fd4\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<p>  <\/p>\n<li>\u30a2\u30af\u30b7\u30e7\u30f3: Microsoft Graph for Exchange Online \u304a\u3088\u3073 Exchange Web Services (EWS) for Exchange Server \u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/li>\n<p>  <\/p>\n<li>\u30ed\u30fc\u30eb\u30a2\u30a6\u30c8: \u30c6\u30ca\u30f3\u30c8 \u30ec\u30d9\u30eb<\/li>\n<p>  <\/ul>\n<p>  <\/p>\n<p>&nbsp;[\u3053\u308c\u304c\u7d44\u7e54\u306b\u4e0e\u3048\u308b\u5f71\u97ff:]<\/p>\n<p>FAQ\uff1a<\/p>\n<p><i style=\"\">\u4e00\u90e8\u306e\u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u304c Exchange Online \u306b\u3042\u308a\u3001\u4e00\u90e8\u304c Exchange Server \u4e0a\u306b\u3042\u308b\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u7d44\u7e54\u3092\u64cd\u4f5c\u3059\u308b\u306b\u306f\u3001\u3069\u306e API \u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b?<\/i><\/p>\n<ul>\n<li>\u5f15\u304d\u7d9a\u304d Microsoft Graph \u3092\u4f7f\u7528\u3057\u3066 Exchange Online \u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u3092\u64cd\u4f5c\u3057\u3001EWS \u3092\u4f7f\u7528\u3057\u3066 Exchange Server (\u30aa\u30f3\u30d7\u30ec\u30df\u30b9) \u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u3092\u64cd\u4f5c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><i>EWS\u306f\u6d88\u3048\u307e\u305b\u3093\u3067\u3057\u305f\u304b?<\/i><\/p>\n<ul>\n<li>2018 \u5e74\u306b\u3001Exchange Online \u306e EWS \u304c\u6a5f\u80fd\u66f4\u65b0\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u53d7\u4fe1\u3057\u306a\u304f\u306a\u308b<a href=\"https:\/\/techcommunity.microsoft.com\/t5\/exchange-team-blog\/upcoming-changes-to-exchange-web-services-ews-api-for-office-365\/ba-p\/608055\" target=\"_blank\" rel=\"noopener\"> \u3053\u3068\u3092\u767a\u8868\u3057\u307e\u3057\u305f<\/a> \u3002\u305f\u3060\u3057\u3001\u73fe\u6642\u70b9\u3067\u306f EWS \u306e\u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u306e\u52d5\u4f5c\u65b9\u6cd5\u3092\u5909\u66f4\u3059\u308b\u4e88\u5b9a\u306f\u306a\u3044\u305f\u3081\u3001\u73fe\u5728\u306e\u63a8\u5968\u4e8b\u9805\u3067\u306f\u3001Microsoft   Graph for Exchange Online \u3068 EWS for Exchange Server \u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/li>\n<li>Exchange Online \u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u306b\u5bfe\u3057\u3066 EWS \u3092\u5f15\u304d\u7d9a\u304d\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001OAuth \u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059 (Exchange Online \u3067\u306f\u57fa\u672c\u8a8d\u8a3c\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081)\u3002\u307e\u305f\u3001\u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u30a2\u30af\u30bb\u30b9\u30dd\u30ea\u30b7\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u5236\u9650\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3053\u3068\u3082\u77e5\u3063\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\n<ul>\n<li><a href=\"https:\/\/docs.microsoft.com\/exchange\/client-developer\/exchange-web-services\/how-to-authenticate-an-ews-application-by-using-oauth\" target=\"_blank\" rel=\"noopener\">OAuth \u3092\u4f7f\u7528\u3057\u3066 EWS \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8a8d\u8a3c\u3059\u308b<\/a><\/li>\n<li><a href=\"https:\/\/techcommunity.microsoft.com\/t5\/exchange-team-blog\/application-access-policy-support-in-ews\/ba-p\/2110361\" target=\"_blank\" rel=\"noopener\">EWS \u3067\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 \u30a2\u30af\u30bb\u30b9 \u30dd\u30ea\u30b7\u30fc\u306e\u30b5\u30dd\u30fc\u30c8<\/a>  <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><i>Microsoft Graph \u306e\u4f7f\u7528\u306b\u95a2\u3059\u308b\u30d8\u30eb\u30d7\u306f\u3069\u3053\u3067\u5165\u624b\u3067\u304d\u307e\u3059\u304b?<\/i><\/p>\n<ul>\n<li>\u958b\u59cb\u3059\u308b\u306e\u306b\u6700\u9069\u306a\u5834\u6240\u306e1\u3064\u306f\u3001Microsoft Graph API\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3042\u308a\u3001\u5b9f\u7528\u7684\u306b\u306a\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b\u6700\u826f\u306e\u30ea\u30bd\u30fc\u30b9\u306e1\u3064\u306f\u3001Graph  <a href=\"https:\/\/docs.microsoft.com\/graph\/graph-explorer\/graph-explorer-overview\" target=\"_blank\" rel=\"noopener\">  Explorer\u3092\u4f7f\u7528\u3057\u3066Microsoft Graph API\u3092\u8a66\u3059\u3053\u3068\u3067\u3059\u3002 <\/a><a href=\"https:\/\/docs.microsoft.com\/graph\/use-the-api\" target=\"_blank\" rel=\"noopener\"><\/a>  <\/li>\n<\/ul>\n<p>\u8a73\u7d30\u60c5\u5831\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/techcommunity.microsoft.com\/t5\/exchange-team-blog\/the-end-of-the-rest-api-for-on-premises-mailboxes-preview\/ba-p\/3221219\" target=\"_blank\" rel=\"noopener\">\u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u30d7\u30ec\u30d3\u30e5\u30fc\u306e REST API \u306e\u7d42\u4e86<\/a><\/li>\n<\/ul>\n<p>  <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>MC338988 | (Updated) REST API for On-Premises Mailboxes Preview Ending Classification planForChange Last Updat [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-695","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/posts\/695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/comments?post=695"}],"version-history":[{"count":0,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/posts\/695\/revisions"}],"wp:attachment":[{"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/media?parent=695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/categories?post=695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/tags?post=695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}