1. Steven Schallert
  2. PowerBuilder
  3. Thursday, 16 January 2020 22:47 PM UTC

Has anyone worked with the new Microsoft Office 365 API?  Not sure why they chose to name it what they did, but they call it Microsoft Graph.  Do not be confused by the name.  It is an office 365 API.  Looks powerful if it does what they say.

https://docs.microsoft.com/en-us/graph/overview

I am wanting to revisit a process where we read the MS Office calendar entries of various users in our company and match them up to a CRM type application.  Will probably eventually have it being a two way sync process and also pull entries out of the CRM and put them in the users calendar.  I was hoping to avoid starting from scratch on it if someone has something they would share.

I have an older approach for doing this but it uses OCX controls and requires outlook to be installed and even active on the machine it is running on.  Does not work very well as an automated task.   Right now, we sync the calendars a couple times a day but with the new API, may be a way we could do it in a more real-time method.

Thanks everyone!

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Friday, 17 January 2020 00:14 AM UTC
  2. PowerBuilder
  3. # 1

There seems to be a tutorial available on the same "overview" page (left side), as you indicated:

https://docs.microsoft.com/en-us/graph/tutorials

There's a .net Core console application which seems to explain very well how to do things and I also saw a link (left side) on the main overview page for "calendar", which is what you are looking at if I'm not mistaken.

MS Graph has been on my list of "pending stuff" since a year now, but haven't had time to start with it. The reason for that, is that I fear that not all of our customers will continue to want to have Outlook installed as a client on their pc's and also that microsoft might change the way it interacts with OLE.

Restful web api: https://docs.microsoft.com/en-us/graph/use-the-api

 

 

On the other hand ... I've also been looking at this, which seems veeeery interesting:

https://www.infoq.com/news/2014/11/MimeKit-MailKit/

and https://github.com/jstedfast/MailKit

Maybe this second option would avoid me a lot of headache of constantly dealing with MS's changes in dealing with Email, so I'm definitely going to have a look at it too. (one day when I have time).

regards,

MiguelL

 

 

Comment
There are no comments made yet.
Michael Kramer Accepted Answer Pending Moderation
  1. Thursday, 16 January 2020 23:08 PM UTC
  2. PowerBuilder
  3. # 2

I had a short look to familiarize myself but no code to show.

MS Graph is quite new. Current API exists in two version: "beta" and "1.0".
Also I see notes that authentication system seems to undergo changes.

I see the API choices are either RESTful web-services - or - an .SDK for either JavaScript or .NET Core.
I expect each SDK is a façade hiding the complexities of calling a REST API.

MS Graphs seems like a very nice API to access the world of Office 365 stored data. But as I understand it does not replace current OLE Automation based integration with Word, Excel, etc. to generate documents.

Maybe someone else has code to share?

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.