Comments (8)
I have a series of functions that can either be triggered by a schedule or on a webhook event. They perform some intricate data transformation and sometimes need to drop a file into OneDrive so it can be picked up by Power Automate which sends it to its final destination.
I think I've pieced this all together from the various docs, but it would great to see a super-simple tutorial that gets us going as quickly as possible.
Thanks for being so responsive!
from msgraph-sample-nodeexpressapp.
That's true, but there's a lot of asides and explanations going on in the video. Have you attempted to go through it? If you do I'd love to hear how long it takes you.
from msgraph-sample-nodeexpressapp.
At the very least the time to complete should be adjusted to 52 minutes.
There was a lot (15m) of material at the start I wanted to skip through, I just wanted to get straight to building my app. I need to copy a file into OneDrive using node, and I'm looking for something a lot more straightforward and direct.
from msgraph-sample-nodeexpressapp.
You're referring to the video? The time to complete is referring to a user going through the tutorial themselves, starting at https://docs.microsoft.com/en-us/graph/tutorials/node?tutorial-step=1, which does dive right in. If I'm misunderstanding your feedback, please let me know.
from msgraph-sample-nodeexpressapp.
Oh, I linked into this repository from another page that only had a link to the video itself and nothing more.
https://docs.microsoft.com/en-us/graph/tutorials/node
I now see a "Begin" button at the bottom, but I guess I'm conditioned to think that the page content has completed when I see a "Feedback" link/button and didn't notice it before.
from msgraph-sample-nodeexpressapp.
Ok, that's helpful to understand. The video was added to the intro afterward - we may need to rethink that if it's pushing the Begin button too far down.
from msgraph-sample-nodeexpressapp.
Unfortunately the tutorial doesn't seem to apply to me as it's so heavily node/express biased. I'm trying to write a file to OneDrive from an Azure Function and need something a lot simpler to understand auth without passport.
from msgraph-sample-nodeexpressapp.
Sorry it didn't work out for your need. I've got an Azure function tutorial on my backlog for the near future, which I know doesn't really help you right now.
What's your scenario? Were you wanting the function to be invoked by some client and use a user's credentials, or is it more of an unattended automatic running function? Graph supports Azure auth with either delegated permissions (acting on a user's behalf) or app-only permissions (admin grants app access to specific things). How you auth would depend on which approach you're taking. In either case you wouldn't use passport.js in the Azure function since that is interactive auth.
from msgraph-sample-nodeexpressapp.
Related Issues (20)
- It's asking for consumer rights and I can't find it. HOT 2
- redirectUrl issue HOT 2
- Replace APP_PASSWORD with CLIENT_SECRET HOT 1
- getEvents snippet will not compile HOT 1
- Mention OAuth related to refresh token to educate the reader HOT 3
- Update simple-oauth2 to 4.1.0 HOT 2
- ReferenceError: state not defined HOT 6
- Question about the Tutorial HOT 3
- Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute HOT 4
- Error 404 when trying to get the app from the Quick Start web page HOT 7
- Error: Cannot find module 'express-promise-router' in step 04-add-aad-auth.md of tutorial HOT 1
- TypeError: Cannot read property 'locals' of undefined HOT 2
- Error getting auth URL due to untrusted authority HOT 8
- How to maintain the AccessToken with load balancer HOT 2
- proxy HOT 2
- Session is undefined in calendar.js HOT 9
- Why is isomorphic-fetch required? HOT 3
- Why are there no permissions given to the App Registration during the "Register the App in the portal" stage?
- Calendar View Not Pulling Calendar Events HOT 10
- Empty list of results HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msgraph-sample-nodeexpressapp.