Giter VIP home page Giter VIP logo

Comments (8)

pacific202 avatar pacific202 commented on June 3, 2024 1

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.

jasonjoh avatar jasonjoh commented on June 3, 2024

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.

pacific202 avatar pacific202 commented on June 3, 2024

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.

jasonjoh avatar jasonjoh commented on June 3, 2024

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.

pacific202 avatar pacific202 commented on June 3, 2024

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.

jasonjoh avatar jasonjoh commented on June 3, 2024

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.

pacific202 avatar pacific202 commented on June 3, 2024

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.

jasonjoh avatar jasonjoh commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.