I'm working on an API which lists the 10th last documents on OneDrive in nodeJS. I know I can have this information by calling Microsoft API Graph with "drive/me" but it must have an
application ID to call the web service. I want to call the service with only Office authentification and not using application ID because it's not possible in my company.
Thanks in advance for the help!
You have to register your application with MS App Registration Portal here to get an application id, which is needed for your application to communicate to MS Graph API.
The users of your application will still use MS Office 365 user name and password to be authenticated to get data from Office 365.
Both of these are two entirely different things.
Related
The company has used Dynamics CRM for years, and at some point into the coming months, I need to look into integrating the client data from it into our other web applications.
Our current setup is that Dynamics 365 has the most current client data, we manually export it and manually import it into another database that drives the web applications. Not very efficient, and as one would expect, there are cases throughout the year were this manual process doesn't happen and something is out of date or inaccurate in the web application database.
I do have a Python application I wrote that handles the OAuth authentication and can request specific bits of data via the Dynamics 365 Web API and update the database. So I do have sorted out how to request records on demand, but this seems like it will slow the application down.
What I am wondering is if there is a way FROM Dynamics 365, that once a record is updated there it will update or create the record in an external database? That way the external database is always up to date, a request to Dynamics 365's web API doesn't have to be sent, and the web application should be faster in general.
Would this be an Azure custom process, custom JS in Dynamics 365 that utilizes the web application's API to update/create records in the external database when a record is updated/created in Dynamics 365, or some other process?
While I havent tried this myself I'd start looking at Web Hooks. It appears to be right down your alley.
Link to WebHooks Documentation
The Data Export Service could be the thing you are looking for. It will keep an Azure SQL database in sync with the records in Dynamics 365 CE (CRM).
The Microsoft Dynamics 365-Data Export Service is an add-on service made available on Microsoft AppSource that adds the ability to replicate Microsoft Dynamics 365 (online) data to a Microsoft Azure SQL Database store in a customer-owned Microsoft Azure subscription. The supported target destinations are Microsoft Azure SQL Database and SQL Server on Microsoft Azure virtual machines. The Data Export Service intelligently synchronizes the entire Dynamics 365 data initially and thereafter synchronizes on a continuous basis as changes occur (delta changes) in the Microsoft Dynamics 365 (online) system. This helps enable several analytics and reporting scenarios on top of Dynamics 365 data with Azure data and analytics services and opens up new possibilities for customers and partners to build custom solutions.
Do note though that Microsoft doesn't provide an SLA on the Data Export Service (last paragraph).
Using Cordova ADAL, is it possible to reach to two different API (graph.windows.net and microsoft.com, for azure and office 365) ?
I am trying to use the graph api and reach for information regarding groups tenants etc.
I would also like to query the microsoft.com, simply to retrieve pictures.
However, using cordova ADAL, I am only able to retrieve token for one of them. Is it possible to get both?
If it's not possible, would it be possible to simply get a code, so the server can ask for both, independantly?
Thanks,
MS-ADAL is using to get authenticate a particular user , plugin will return a token after successful authentication.
We can authenticate the user in active directory against office 365 products like yammer or our custom API's which are hosted in cloud.
Either you can make a graph API call separately or use some tool to extract the claims from token .
I'm building a web application which is a client side heavy application in which I'm implementing the contacts page. The contacts page will have options of showing contacts from different sources for exporting it into the current application. I've implemented Google Contacts, Yahoo Contacts, MS Live Contacts, etc. using OAuth. Now the next option is showing the contacts from exchange server in the application. I know that the new office 365 has a JavaScript api to pull contacts from newer office version which is already in progress. But I need a solution which works with older version too.
The requirement goes like this, User will have text boxes which are necessary to connect to an exchange server like email, password, server address, port, etc. and a button which need to send an ajax call to respective servers and fetch the necessary contact details after authenticating.
I've tried various method to get the details but I couldn't. I want to know is it really possible to connect an exchange server from JavaScript to get contacts? If yes, Please suggest some method to view the details.
The new JavaScript for Office API can only be used with Office (web) Add-ins (formerly Apps for Office). Otherwise you can use Exchange Web Services (EWS) to issue SOAP calls with JavaScript to do just about anything.
See: "How to: Process contacts in batches by using EWS in Exchange"
I'm working in a Ionic App to report potholes in the city. The user can make reports through the App or the Webpage, then other users can comment this issue and receive notifications about this specific topic.
I read the documentation for Parse.com of how to send push notifications for specific channels, for example, each report is a different channel. So if I comment in the report 123214 so automatically I will subscribe to this channel in Parse.com and receive notifications. Already know how to do this.
But Is there any way of create these channels in the same time that I generate the report in the App using javascript and REST API request ?
best regards
I have been asked to integrate facebook chat in my application using javascript. I went through the chat api but that needs a domain url. I have to integrate the chat without the domain or the site url. I tried populating the online friends list through graph api, and I am able to successfully authenticate using the client flow example, but it does not redirect to my local host: http://localhost:8090/chatplugin/success.html. An error pops up telling me the resource is not found.
Is it possible to integrate FB chat using the graph api? I'm new to FB apis and I need more info.
Thanks:)
Short answer: no.
Longer answer: The Graph API lets you access all the information that is stored in Facebook's social graph; the social graph is the giant web that keeps all the information on people, events, messages, etc. Chat isn't part of the graph, it's a separate application, that also uses info from the graph to populate it.
While there may be other ways to sneak around (which I don't know), the Graph api doesn't provide what you need.
Please see the API available on Facebook API.
https://developers.facebook.com/docs/chat/