Using the Microsoft Graph API in Python | Authentication

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024

Комментарии • 44

  • @fabtorla
    @fabtorla 3 года назад +2

    Soooo useful and so well explained ! Great material here!

  • @nogravitycn
    @nogravitycn 2 года назад

    I was banging my head on this until I watch this. Thank you Alex

  • @irfanmaulanakamil9225
    @irfanmaulanakamil9225 3 года назад +2

    thanks for the tutorial bro,
    i just started a project using this graph API, your video really helps me for a jumpstart

    • @SigmaCoding
      @SigmaCoding  3 года назад

      You are welcome! Once you do MsGraph you'll be able to do oAuth with a lot more of their products.

  • @zxph
    @zxph Год назад

    Woohoo exactly what I was looking for.

  • @musefirefox2420
    @musefirefox2420 4 года назад +2

    Thanks allot for making these videos! Happy to support you on Patreon for this great content.

    • @SigmaCoding
      @SigmaCoding  4 года назад

      Well thank you for the support :)

  • @erkamakcinar3610
    @erkamakcinar3610 9 месяцев назад

    Thanks man, this video is all i needed

  • @DuneKraftwerk
    @DuneKraftwerk 3 года назад

    The new Boston guy is here ! Well kind of. ..

  • @thatsmairice
    @thatsmairice 2 года назад

    This was so helpful and you're so funny haha. It made for watching and learning this really fun! :) Ty!!

  • @kevaldoshi1515
    @kevaldoshi1515 2 года назад +2

    Is there a second video to this? part 2 ?

  • @chefzau2335
    @chefzau2335 3 года назад +6

    Just a quick question, I am getting "ModuleNotFoundError: No module named 'ms_graph'". I wonder how can I fix this thanks.

    • @chriskryx
      @chriskryx 3 года назад

      Same situation :(

    • @chriskryx
      @chriskryx 3 года назад +2

      For everybody else facing the same issue: you need to follow the step at 13:37 in the video, where you do "pip install -e ." inside that folder.

    • @h3rnanrojas677
      @h3rnanrojas677 3 года назад

      @@chriskryx sin resolverlo :(

    • @12yanschump
      @12yanschump 3 года назад

      Dealing with this as well.

    • @jeremyheng8573
      @jeremyheng8573 2 года назад

      thank you Chris for answer

  • @anon12three4
    @anon12three4 4 года назад +1

    I appreciate how often you post. Good content. How do you post so often ?!

    • @SigmaCoding
      @SigmaCoding  4 года назад +1

      You'd be surprised how fast you can crank out videos once you get a good rhythm down. The pleasant thing is that by making these videos, I can code relatively efficiently now compared to when I first started so for topics I've already done it's a lot easier to get content up for those. However, I usually take a break once every few months just to explore new topics and just see what be interesting to cover in future videos.

  • @alirohman57
    @alirohman57 7 месяцев назад

    Hi, thanks for your video. I want to ask how long the expired time for the access token?
    And can we automate it so that we run our application once, then log in to Microsoft, after that we don't need to log in again?

  • @AnishTechTutorials
    @AnishTechTutorials 3 года назад

    Looking forward to seeing it in PyPi

  • @alexzir
    @alexzir 2 года назад

    Thank you! Is any new video with ms graph?

  • @ClaudeNova
    @ClaudeNova 2 года назад

    Great content!

    • @ClaudeNova
      @ClaudeNova 2 года назад

      Will you be making follow up vids on this topic?

  • @hinata6657
    @hinata6657 3 года назад

    Great Video . It really helped me. Thank You

  • @mtsouk
    @mtsouk 3 года назад

    Many thanks for the video! Is there a follow up to it?

  • @OthmanAlikhan
    @OthmanAlikhan 3 года назад

    Thanks for the video =)

  • @marisareis1780
    @marisareis1780 3 года назад

    Thank you!

  • @rajarshisingh2547
    @rajarshisingh2547 3 года назад

    while surfing for a solution I landed on this video, I am creating a organization level visual to be used in power bi using python which will take user's inputs. What I want is when any user gives his comments, his microsoft login details such as mailid, commenting_time etc should be recorded somewhere and that should be delivered to the cells adjacent to where I am filling everybody's comments. Any idea how to store the logged in details?

  • @edbayliss1862
    @edbayliss1862 3 года назад

    Is this still support? I can see it hasn't been updated in a while and the URL it generates for me doesn't work.

  • @johnjohn-pf1ye
    @johnjohn-pf1ye 2 года назад

    can you continue this? Show how to send an email via Exchange Online API?

  • @bhaskerbobby
    @bhaskerbobby 3 года назад

    Thanks for the great video. I'm getting following error when I click on authentication link, I chose the very first option while creating the app (organization directory only - Single Tenant)
    Error message from URL return : (abc app)+is+not+configured+as+a+multi-tenant+application.
    Can you provide your advise please.

  • @AyushLikhar
    @AyushLikhar 3 года назад

    I want my flask rest app to create an event in outlook calendar and generate a microsoft teams invite link, whenever a candidate accepts an interview request on the frontend react app. I don't think this mode of authentication would be useful right?

  • @aashayamballi
    @aashayamballi 4 года назад +1

    Thank you

  • @walexia
    @walexia 3 года назад

    The second last step when you first test the authenticator and paste in the URL , I am getting this error : File "c:\users\burudani\documents\mainpythonfolder_v1\python_graph_api_example\ms_graph\client.py", line 144, in _state
    ) + int(token_dict['expires_in'])
    KeyError: 'expires_in'

    • @imicron323
      @imicron323 3 года назад

      Hi Did u solve this error because i am also getting same error

  • @xcreame1991
    @xcreame1991 4 года назад +6

    Hi Alex,
    thank you for the video. The library works well when using personal onedrive account. Therefore, i look forward to the next video i hope i can see of how can we upload and download data from onedrive or sharepoint.
    In the case of one drive for business i cannot use the library and i have the following error in the ms_graph\client.py client.
    137 elif action == 'save':
    138
    --> 139 token_dict['expires_in'] = time.time() + int(token_dict['expires_in'])
    140 token_dict['ext_expires_in'] = time.time() + int(token_dict['ext_expires_in'])
    141
    KeyError: 'expires_in'
    Could you please have a look what could be the issue and how can i mitigate such problem?
    thank you.
    Best,
    MH

    • @chriskryx
      @chriskryx 3 года назад

      Same issue when using One Drive for Business :(

    • @divyashivakumar6495
      @divyashivakumar6495 2 года назад

      were you able to figure out how to download files or folder from sharepoint or onedrive business

  • @julieosullivan39
    @julieosullivan39 2 года назад

    Can anyone tell me why after pasting the redirect url into my vscode environment it fails to create the config/ms_graph_state_v2.jsonc file. Instead I just get file not found Errno 2

  • @ajmalkhan2973
    @ajmalkhan2973 3 года назад

    why is it taking soo long to load... because it's Microsoft!