You are a champion. This saved me from days of running around in circles. Thank you 👊
@lonecoder_cro
Жыл бұрын
😂man I did a week research n just found this video like why msdn even existed if its not helpful when you need it
@MartianMoon
Жыл бұрын
I can't thank you enough for this. Been stuck putting so many hours trying to figure this out over the last week. Even ChatGPT/GPT4 couldn't help me with this one. Sent you some coffee money, first time I've ever done that for a KZitem vid but you deserve it. Thank you again.
@jiejenn
Жыл бұрын
Appreciate the tip. By the way, this took me 3 months to finally figure it out 🤣
@MartianMoon
Жыл бұрын
@@jiejenn dude 3 months 😭😭😭 You’re an absolute legend, thank you for sharing this with the world 🙏🏻
@satyamshukla1418
Жыл бұрын
hi martianmoon and @jiejenn bro i am stuck with the following error- The code you entered has expired. Get a new code from the device you're trying to sign in to and try again. did u came accross this if u did help me out bro
@daieth4492
5 ай бұрын
i came from a suggestion from GPT4 to watch this video she is insane thank you @jieje
@alip4292
Жыл бұрын
I want to have the script running in the background in an aws lambda, is there a way to eliminate the user having to log in?
@evraamsdonk7724
Жыл бұрын
Thank you! This is so much clearer than Microsoft's own documentation.
@jiejenn
Жыл бұрын
Glad video helped
@juliosouto9659
Жыл бұрын
Microsoft documentation are so long that are completely useless. Nobody has time to read a bible for using something.
@santhoshkumar995
5 ай бұрын
Such a time saver. I should have watched this first before spending so much time. 😃
@mattchen4970
11 ай бұрын
is there a way to bypass the manual login process (where you entered the code in the prompt)?
@TheJFMR
2 жыл бұрын
Hello Jie Jenn, you are the master of the API integration haha. Thanks for this amazing tutorials.
@jiejenn
2 жыл бұрын
Thanks. The MS Graph API took me 8 months to figure it out how to use it properly 😂. I will probably make a follow-up video since I have better grasp of the API now.
@TheJFMR
2 жыл бұрын
@@jiejenn there are some documentations that are pretty bad, they dont go straight to the point. Im integrating at work my app with a lot of apis and for example with GoToMeeting i still dont get the token properly. (It give me an error of not authenticated) Other examples are slack that they ask you to have https enabled (i used ngrok to setting Up locally). It took me a lot to realize i need to use ngrok to set Up locally and finally got It. In zoom they ask for a lot of documentation, in iCloud they ask you an Apple Id... Im having some headaches integrating Those APIS 😂
@TheJFMR
2 жыл бұрын
@@jiejenn it would be nice if you make a tutorial of how to integrate gotomeeting api with python
@Mohammad-oe9wj
4 ай бұрын
bro i am stuck with the following error- The code you entered has expired. Get a new code from the device you're trying to sign in to and try again. can you tell me how to figure this out i am able to put my outllook mail and pass word after that the error is showing "That Microsoft account doesn't exist. Enter a different account or"
@quanticdev1071
Жыл бұрын
im trying to use this to gain access to my onenote pages so I can refine my notes using gpt-3 api
@OM-yn8pt
3 ай бұрын
Amazing tutorial, no way I could find this with MS docs. Plus they write (deprecated) on half the useful methods
@mdbrable
Жыл бұрын
It's unbelievable how if you want to use Todoist's API, you just copy the API Key from the settings and you're ready to go, but to work with Microsoft ToDo you have to go through all that BS.
@jiejenn
Жыл бұрын
Have to agree with you on this one.
@paulamar2174
2 жыл бұрын
Do we have some ways to avoid having to log in? eg. if we want to run this as a background job for example (in a Gitlab CI/Jenkins job for example)
@jiejenn
2 жыл бұрын
That's something I am still trying to figure it out.
@__unknown___
Жыл бұрын
@@jiejennHave you figured it out? Is it possible?
@ananthup4740
7 ай бұрын
ys@@__unknown___
@tahabandaw4691
8 ай бұрын
amazing dude really thx
@juniorfagundes9140
2 жыл бұрын
thank you so much homie
@prasenjitmandal5486
2 жыл бұрын
Amazing 👍
@jethrobizumuremyi9535
2 жыл бұрын
For a script running in the background, how can you eliminate the user having to log in
@jiejenn
2 жыл бұрын
This is something I am still trying to figure out.
@conniezi3336
2 жыл бұрын
Thank you for this series of videos! I am at enabling the scopes, but I can't find the options to permit OneDrive access. I am not sure if not enabling that would affect anything though, since it seems like you did successfully access to OneDrive in one of your later videos without worrying about the permission.
@jiejenn
2 жыл бұрын
Your suspicion is correct. Turns out you can manually assign the scope in the script directly without.
@tsunghsiwu
2 жыл бұрын
thank you for sharing
@xizhenwang6246
2 жыл бұрын
For the 2nd method, if the code is in a python (say Flask) web app, how to get the device 'code' or where user can get the device code? Also we rely on Microsoft Edge's company user profile (or the Windows Account extension in Chrome), so the authentication flow is transparent to my web app (I do not need to call msal.initiate_xxx_flow function to initiate authentication flow. How can I get the access_code or login user name? thank you!
@jiejenn
2 жыл бұрын
Method 2 is just OAuth2 protocol most Microsoft web services use. Users authenticate their account by providing their credential info.
@xizhenwang6246
2 жыл бұрын
@@jiejenn thanks. by looking at your sample code, i understand the device code is user-independent? If so where to authenticate? or you mean user uses the One-time password code in the Authenticator mobile app (I tried but the web page ('verification_uri') does not recognize my One-time password code) also do you happen to have any ideas about my the other question? thanks.
@DilipDiwakarAricent
2 жыл бұрын
Thanks !! my app is running on schedule basis so what will be the best way to get access token. we can't use here browser.. do we have anything like managed identity
@jiejenn
2 жыл бұрын
If you want to use a client secret instead of the regular OAuth2 flow, then you will need to 1) replace scopes with graph.microsoft.com/.default and 2) grant admin consent for Default directory to the permission sets (this will be under application permissions). Just be warned that, not all the permissions are available under application permissions.
@paularayaviquez1096
2 жыл бұрын
@@jiejenn Hello your videos are great they have helped me a lot, can you make a little video showing this authentication without prompting the browser, thank you!!
@simonebollati5285
2 жыл бұрын
@@paularayaviquez1096 it would be very useful for me too. thx
@juliianriios9323
2 жыл бұрын
@@paularayaviquez1096 x2
@seanchang7072
Жыл бұрын
謝謝!
@jiejenn
Жыл бұрын
不客氣
@user-cg5gt3ox4i
9 ай бұрын
ValueError: API does not accept frozenset({'offline_access', 'profile', 'openid'}) value as user-provided scopes Anything on this? anyone?
@Python_Griffin
Жыл бұрын
Do I have to create an account on Azure? I only have my personal account on outlook and I want to use this API to download an excel file and use in to my application. To summarize, do I have to pay to use this Azure service ?
@jiejenn
Жыл бұрын
Yes you will have to create an Azure account
@Python_Griffin
Жыл бұрын
@@jiejenn to use for this purpose that I mentioned, how much can cost ?
@jiejenn
Жыл бұрын
@@Python_Griffin Free
@zarbose5247
Жыл бұрын
Hello. What is the Azure Cloud Environment you switched to?
@jiejenn
Жыл бұрын
Not sure if I follow your question. Can you be more specific?
@reynaldomalave
2 жыл бұрын
Thanks!!!
@jiejenn
2 жыл бұрын
Glad the video helped!
@obed818
2 жыл бұрын
Thanks this is pretty interesting! Also do you know why Facebook/ig api is also named graph, this is weird it isn’t linked i guess ?
@jiejenn
2 жыл бұрын
Could be just coincidence.
@obed818
2 жыл бұрын
@@jiejenn ah ok lol
@xizhenwang6246
2 жыл бұрын
Authorization_codes are short lived, so how to make method 1 automated and really work?
@jiejenn
2 жыл бұрын
Maybe this video might help kzitem.info/news/bejne/oqCFzHWHfIykfYo.
@TheVopek
Жыл бұрын
Hey, great video, helped me a lot (to make a code a little bit easier i get the token by username/password) and seems like everything works :) I wonder if I can refresh the permissions of the app after the first web authentication. I added new permissions (such as One Note reads etc), but seems like it doesnt update and web authentication shows me that connection is refused (so I cant get to the site second timer)
@satyamshukla1418
Жыл бұрын
did u face the problem of code expiration.
@TheVopek
Жыл бұрын
@@satyamshukla1418 I have not
@enabrasool5227
Жыл бұрын
can this be done for presence api?
@jiejenn
Жыл бұрын
Not familiar with presence API, but if it is part of the Grape API ecosystem, then I don't see why not.
@prasenjitmandal5486
2 жыл бұрын
Can you help me to connect with Salesforce through VBA code for creating a case on Salesforce
@prasenjitmandal5486
2 жыл бұрын
It will really me
@RohitKumar-yz3eo
Жыл бұрын
Hi, I'm getting 401 in response could you please help.
@jiejenn
Жыл бұрын
Error 401 means unauthorized access detected. Makes sure you set up your app and provide the app detail correctly.
@DiegoLacerda-r6u
29 күн бұрын
Hi everyone, I'm creating a script that saves files to OneDrive for business purposes. How can I evaluate how much it will cost to do this? Based on my research, this seems to be within the scope of the free account, but I'm not confident. Could anyone with more expertise provide some guidance?
@jiejenn
29 күн бұрын
@@DiegoLacerda-r6u for OneDrive, currently it is free with unlimited usage.
@DiegoLacerda-r6u
28 күн бұрын
@@jiejenn Thanks!
@neelpatel6404
2 жыл бұрын
Can you make tutorial with Sharepoint Online?
@jiejenn
2 жыл бұрын
I don't have experience with SharePoint unfortunately.
@satyamshukla1418
Жыл бұрын
@jiejenn bro i am stuck with the following error- The code you entered has expired. Get a new code from the device you're trying to sign in to and try again. can you tell me how to figure this out i am able to put my outllook mail and pass word after that the error is showing
Пікірлер: 76