Using the Microsoft Graph API in Python | Authentication

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 44

  • @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.

  • @nogravitycn
    @nogravitycn 2 роки тому

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

  • @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 :)

  • @DuneKraftwerk
    @DuneKraftwerk 3 роки тому

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

  • @fabtorla
    @fabtorla 3 роки тому +2

    Soooo useful and so well explained ! Great material here!

  • @thatsmairice
    @thatsmairice 2 роки тому

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

  • @erkamakcinar3610
    @erkamakcinar3610 9 місяців тому

    Thanks man, this video is all i needed

  • @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

  • @kevaldoshi1515
    @kevaldoshi1515 3 роки тому +2

    Is there a second video to this? part 2 ?

  • @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?

  • @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.

  • @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?

  • @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?

  • @hinata6657
    @hinata6657 3 роки тому

    Great Video . It really helped me. Thank You

  • @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.

  • @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

  • @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

  • @AnishTechTutorials
    @AnishTechTutorials 3 роки тому

    Looking forward to seeing it in PyPi

  • @johnjohn-pf1ye
    @johnjohn-pf1ye 2 роки тому

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

  • @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?

  • @OthmanAlikhan
    @OthmanAlikhan 3 роки тому

    Thanks for the video =)

  • @mtsouk
    @mtsouk 3 роки тому

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

  • @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.

  • @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 3 роки тому

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

  • @marisareis1780
    @marisareis1780 3 роки тому

    Thank you!

  • @aashayamballi
    @aashayamballi 4 роки тому +1

    Thank you

  • @ajmalkhan2973
    @ajmalkhan2973 3 роки тому

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