[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…

0

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,…


Microsoft Office 365–Using Exchange PowerShell to get Users photo from Microsoft Office 365

You can use the Get-UserPhoto cmdlet to view information about the user photos feature that allows users to associate a picture with their account. User photos appear in on-premises and cloud-based client applications, such as Microsoft Outlook Web App (OWA), Lync, Skype for Business, and SharePoint. Please note that, – This cmdlet is available in…


Office 365 Devs: Deprecation of Outlook REST API v1.0

As you aware that the Version 1.0 of the Outlook REST API was launched in 2015 to provide API access to mail, calendar, contacts, and other data from Exchange Online. Later we came up with Outlook REST API v2.0 and Microsoft Graph, both of which provide richer features, and better performance and reliability than Outlook…

1

Understand more about Office.js, it’s add-in runtime environment and Internet Explorer protected mode!!

In addition to the earlier blog post, you can refer the following: – Microsoft Office addins using the Apps for Office platform are designed to run in isolation, using a low rights sandbox. – Several features, such as the task pane view, use web views provided using Internet Explorer APIs.  – To ensure these components…


Debug: Outlook office addin (apps for office) fails to load, errors out

Recently one of my developer customer reported that he designed a new Outlook addin (apps for office) which fails to load and it throws the error “This app could not be started. Close this dialog to ignore the problem or click “Restart” to try again.” During troubleshooting we noticed that this issue occur because protected…

4

Microsoft Graph REST API Developer – Getting list of locales, languages supported for the user mailbox

Using Microsoft Graph REST API, you can get the list of locales and languages that are supported for the user, as configured on the user’s mailbox server. You need to use OutlookUser resource type, which represents the Outlook services available to a given user. Request:https://graph.microsoft.com/beta/me/outlook/supportedLanguages RequestHeader: Authorization, Bearer/Token is required Response:If successful, this method returns…


Part # 2 {Office Insider} – Getting early access to new Office 2016 features to the Office 365 Commercial customers

Adding this is in continuation of my earlier post. If you’re the admin for an organization that has an Office 365 commercial subscription plan that includes Office, such as Office 365 ProPlus, you can provide your users with early access to new features of Office 2016 for Windows desktops by opting into the First Release…


Yay, my MSDN blog listed in a book!!

One of my Exchange/Office 365 developer customer shared this with me – that my MSDN blog (updated blog is https://blogs.msdn.microsoft.com/deva/) is listed in Exchange book along with other star Exchange bloggers/communities.  Wow moment. Thank you so much @John Paul Mueller Written by John Paul Mueller, published by Wiley @ October 2008 and here is the…


Office 365 Developer: Mail, Calendar, Contacts REST APIs and Hybrid Exchange

If you’re an Azure/Office 365 application developer, then this session is for you. In this Office 365 Developer session (as part of Redmond Interoperability Protocols Plugfest 2017), Deepak Singh, Program Manager, delivered presentation on Mail, Calendar, and Contacts REST APIs and Hybrid Exchange. Please make use of it.