We've developed our own cloud-based email solution on top of Linux. We're providing Admin Interface to clients where they can create, modify, delete users/groups. Few of our clients are using Office 365 service for few mailboxes. We would like to make an API call to office 365 whenever there is any activity performed (Create, modify, delete user, etc.) by clients on our admin panel for office 365 users.
If you're looking to interact with user accounts and mailboxes, you should be able to do most of what you want with Microsoft Graph via REST calls:
http://graph.microsoft.io/docs/api-reference/v1.0/resources/user
Also see the Office 365 API reference:
https://msdn.microsoft.com/en-us/office/office365/howto/rest-api-overview#sectionLanguagesIDEs
Related
I am working on an accounting system where the system will generate an excel file using a template and then open it using embedded Office 365 Excel. I can do this with my personal account where I would use the OneDrive API to create an excel file and then use the Embedded option in the OneDrive to generate the iframe link and use it on my website. However, the iframe url exposes the auth token though which could be misused by the users.
In future when we have real customers, I would want my users to be able to edit the excel file with their own Office 365/sharepoint account (that we would create for them during onboarding). I believe embedded excel option is not available for business users of Office 365, and I learned that you could do that with sharepoint though for business use cases. What service do I need? Maybe sharepoint but I dont know what else I need and how to make the integration work.
having an Office 365 family subscription, I'd like to use Microsoft Graph to query certain data from Outlook (events) and To-Do from within a web application.
Having had a look at the microsoft tutorials/quick start sessions, it seems that I have to register my application first to receive an access token.
Though, loggin in into Azure Portal with my personal Outlook account (with the O365 family subscription) I can not register an app/receive an token.
Am I missing something, or is Microsoft Graph only useable for business/educational subscriptions which are allowed to use Azure AD?
Thanks!
Based on the MICROSOFT DOCUMENTATION:-
Microsoft Azure Active Directory is free if your organisation has a
paid subscription to Microsoft 365, Microsoft Dynamics CRM Online,
Enterprise Mobility Suite, or other Microsoft services. Azure AD
allows you and other administrators to create and manage user and
group accounts.
For more information please refer this MS Q&A|Invalid grant error for free Office 365 Family & Personal/Free accounts.
Would it be possible to obtain, create, update and delete the events on the calendar with REST API for Office 2013 Outlook?
It seems it is possible by integrating On-premises and Azure AD that is written in this link
(https://learn.microsoft.com/ja-jp/azure/active-directory/active-directory-whatis), would you confirm if my understanding is correct.
Or should I use API for Outlook.com to synchronize with Outlook 2013?
Overall, I would like to learn if there is an API for 2013.
And if there is not, how can I synchronize Office 2013 with Outlook.com?
Thank you very much for your help on this.
I’m new to Outlook and please advise if my questions are not clear enough.
It depends on where the mailboxes are located.
If they are in Office 365, then you can use the REST based Microsoft Graph APIs or the Outlook REST APIs.
If the mailboxes are located in an on-premises Exchange server, then you can only use the Exchange Web Services API. Since you mention Outlook 2013, I'm also assuming Exchange 2013. The EWS API documentation is here.
If you use .NET, I recommend to use the EWS Managed API to implement an EWS client.
I am trying to use the Office 365 API to write events to the calendars of anyone at our organization. This should not involve the users logging in to Office 365 at any point. The events to add are written out at various points during the day (when the user who would own the event may not even be at a computer), so the per-user token approach doesn't even make sense.
It appears that Microsoft provides an alternative that uses a service account. This account can be used to write to any user's calendar (or sending email as any user, etc.). However, I can't find any documentation on doing this. Could anyone provide a link to it?
I found a blog post on this topic: http://blogs.msdn.com/b/exchangedev/archive/2015/01/21/building-demon-or-service-apps-with-office-365-mail-calendar-and-contacts-apis-oauth2-client-credential-flow.aspx
Also, if you aren't using Microsoft's client library for this (for example, if you use linux), you'll need to see this too: Office 365 Rest API - Daemon week authentication
With the release of Office 365 can someone tell me the support available for custom visual sandboxed web parts created using Visual Studio 2010 SharePoint Power Tools that fetches an Office 365 active directory attribute values for a particular user? E.g. If my company already has existing users in a local Active Directory environment when I subscribe to Microsoft Office 365, there are tools for synchronizing those users to Office 365 directory. Let say I have synchronized my local Active Directory to Office 365 Directory, now is it possible to programmatically or OOTB way to read Office 365 directory attribute’s value for any Office 365 Directory user? I have a custom attributes added to my local Active Directory one of the attribute is “CC Number” and I want to get the value associated with this attribute for some XYZ user.
We have an Office 365 SharePoint application to which we would like to add either (or both) a custom sandboxed web part and a OOTB web part that only reads a data from an Office 365 Directory for respective Office 365 directory user.
Is this type of functionality supported with the first/current release of Office 365?
it's a really common scenario that organizations will move parts of their systems into the Microsoft Cloud by using Office365. In order to get rid of the additional AD management overhead you have to build a federation on AD level.
You need a SecureTokenService which does the authentication for your users. Microsofts implementation of STS is ADFS (ActiveDirectory Foundation Services) which could easily be plugged into an existing AD structure. Your AD has to be 2008 I think.
There is a good ebook from Dominick Baier and some other security guys available. It's called "Guide to claim based identity", you can read it online on http://msdn.microsoft.com/en-us/library/ff423674.aspx or there is anywhere a download it think... can't remember sry.