Office 365 Developer – Get the Personal Contacts with Microsoft Graph API

As you aware Outlook contacts lets you store personal contacts’ data, and is part of the Outlook messaging hub in Office 365. Through Outlook, you can manage emails, schedule meetings, find information about users in an organization, initiate online conversations, share files, and collaborate in groups. So now with Microsoft Graph API you can get/pull…

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

Gotchas – Microsoft Graph/Outlook REST API throttling, best practices

In recent times, I was working with this customer where they make Graph API calls, Say, GET https://graph.microsoft.com/v1.0/users/YYY@XXX.onmicrosoft.com/mailFolders/inbox/messages?$skip=0&$top=30&$select=bodypreview,categories,conversationid,from,hasattachments,id,isdraft,isread,lastmodifieddatetime,parentfolderid,receiveddatetime,replyto,sender,sentdatetime,subject,torecipients and few other GET (read operations of mail folders/single item handles specifically) and few POST/PATCH calls. They noticed, once the throttling threshold is exceeded, Microsoft Graph limits any further requests from that client for a period of…


Programmatically created email with attachment shows fields garbled

In recent times I was working with this developer customer. They created a custom application using Outlook Object Model (OOM) API – their app tries to create a new message programmatically with attachments. They notice the newly created items fields (such as the CC, BCC and TO) overlaps or garbled. Based on my tests with…


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…


Developer: Office 365 APIs and Mobile App Development

Office 365 is built on a mobile-first strategy. Office runs on almost any device these days, so why not your own custom applications? In this session, find out how you can build powerful Office 365 connected applications for any mobile platform. Hope this helps.


Office 365 Developer: Build add-ins for Microsoft Outlook

In this video you will see Petra provides a brief overview of the Outlook add-in platform and its capabilities. The add-in platform helps developers create native Outlook solutions, so users can get more done within Outlook. In short you can,- Learn what makes up an add-in- Get a high-level look at how to build one-…


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…


Office 365 Developer–Outlook actionable messages

In this video training, learn how to transform your workflows into actionable messages to engage with your users and make them more productive! Whether you are filling out a survey, approving an expense report, or updating a CRM sales opportunity, Actionable Messages enable you to take quick actions right from within Outlook and Teams. Developers…


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…


Microsoft Graph, Office 365 and .Net Developer

As you aware Microsoft Graph provides a powerful and consistent API for data in Office 365, Azure Active Directory and beyond. With it, you can access key data across organizations. Whether you’re looking to add some simple smarts to your app, like enhanced people pickers or file attachments from OneDrive, or looking to build enterprise…