Deep dive # 1: How to configure Exchange on-premise Server hybrid integration with Office 365/Azure Infrastructure and test REST API calls?

This is one of the regular discussion that comes across at my desk, how we can configure Hybrid Exchange on-premise server integration with Office 365/Exchange Online, so that users can make use of REST API. So I thought let me stitch all of them together which can be handy for both the Exchange administrators and…

7

How to connect to Exchange Online PowerShell using multi-factor authentication??

If you want to use multi-factor authentication (MFA) to connect to Exchange Online PowerShell, you can’t use the instructions at Connect to Exchange Online PowerShell to use remote PowerShell to connect to Exchange Online. First, MFA requires you to install the Exchange Online Remote PowerShell Module Then you need to use the Connect-EXOPSSession cmdlet to…

0

Graph API : Subscription lifetime changes for Outlook resources

If your application uses user tokens to create subscriptions to Outlook resources, then you need to update your apps as needed to handle this scenario. This only applies to applications that use user tokens to create subscriptions. Applications that use app tokens to create subscriptions are not affected by this change. Existing applications do not…


Office 365 Reporting Web Service API developer queries related to response limit, permissions, reports!!

As you aware that the Office 365 Reporting web service enables developers to integrate information on email and spam, antivirus activity, compliance status, and Lync Online activities into their custom service reporting applications and web portals. These are few frequent queries that I come across Office 365 Reporting Web Service API developers – so I…


Microsoft Graph API developer – Using GetSchedule API to get free/busy availability information

Now you can use the GetSchedule API (when I publish this article, its available in /beta endpoint) to get the free/busy availability information for a collection of users, distributions lists, or resources, for a specified time period. You can use it simply by calling, POST /me/calendar/getSchedule POST /users/{id|userPrincipalName}/calendar/getSchedule Let me play with this API call…

4

[Upcoming changes] Exchange Web Services API for Office 365

Exchange Web Services (EWS) was launched as a part of Microsoft Exchange 2007 as a SOAP based API that allows access to Exchange and Exchange Online data. Starting July 3, 2018, Exchange Web Services (EWS) will no longer receive feature updates. While the service will continue to receive security updates and certain non-security updates, product…


Graph Developer: Microsoft Graph API fails with error RESTAPINotEnabledForComponentSharedMailbox

One of my customer tried accessing the Graph/REST API call using Microsoft Graph API in their mailbox and they get error “RESTAPINotEnabledForComponentSharedMailbox”. It worked for their couple of other mailboxes, but failed for this given mailbox. Their error stack (detailed one) looked like the following: {     “error”:     {         “code”: “RESTAPINotEnabledForComponentSharedMailbox”,         “message”:…

2

Office.js: MakeEWSRequestAsync throws “The request exceeds the 1 MB size limit. Please modify your EWS request”

One of my customer created Outlook Web add-in (Office.js) and when he calls mailbox.makeEwsRequestAsync method. But they got the following error “The request exceeds the 1 MB size limit. Please modify your EWS request”. At the app level, the developer is making the call from web add-in to create a mail item in drafts folder…


Office Developer: Difference between Office Web addin vs COM/VSTO addin

COM or VSTO add-ins are earlier Office integration solutions that run only on Office for Windows. The major difference what you see is that COM addins will be running in the user device or in the Office Client. The new Office Add-ins don’t involve code that runs on the user’s device or in the Office…


Developer Guidance: Which endpoint should i use Microsoft Graph API or Outlook REST API?

With reference to what i blogged earlier, i get similar queries from app developers to choose Microsoft Graph API or Outlook REST API endpoints when they develop application related to Outlook APIs. Microsoft recommends using the Microsoft Graph API whenever possible. – The Microsoft Graph APIs include more features than just Outlook-related APIs, including OneDrive…


Get-UserPhoto cmdlet may throw UserPhotoNotFoundException

Based on my last Get-userphoto blogpost, if you run the Exchange Powershell then you may get the following error: Error on proxy command ‘Get-UserPhoto -Identity:’CN=svcadmin,OU=xxxx.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=xxxx,DC=xxx,DC=outlook,DC=com” to server xxxx.xxxx.xxx.outlook.com: Server version 15.20.xxxx.0000, Proxy method PSWS: Cmdlet error with following error message: Microsoft.Exchange.Data.Storage.UserPhotoNotFoundException: There is no photo stored here.    at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory,…